Model
¶
Bases: LightningModule
Class for model based on LightningModule.
¶
Get model config.
Source code in srai/embedders/_base.py
¶
Save the model to a directory.
PARAMETER | DESCRIPTION |
---|---|
path
|
Path to the directory.
TYPE:
|
¶
classmethod
Load model from a file.
PARAMETER | DESCRIPTION |
---|---|
path
|
Path to the file.
TYPE:
|
**kwargs
|
Additional kwargs to pass to the model constructor.
TYPE:
|