peal.training.interfaces.PredictorConfig¶
- class peal.training.interfaces.PredictorConfig[source]¶
Bases:
BaseModelThe config template for a model.
Methods
Attributes
The config of the architecture of the model.
The name of the class.
The config of the data used for training the model.
Where to distill from if used for distillation.
A flag that indicates if the model is loaded from a checkpoint.
A dict containing all variables that could not be given with the current config structure
The name of the model.
The name of the class.
The seed that is used to ensure reproducibility of results.
The config of the training of the model.
The config of the task the model shall solve.
- training: TrainingConfig¶
The config of the training of the model.
- task: TaskConfig¶
The config of the task the model shall solve.
- architecture: ArchitectureConfig | str | None = None¶
The config of the architecture of the model.
- data: DataConfig | None = None¶
The config of the data used for training the model.
- kwargs: dict = {}¶
A dict containing all variables that could not be given with the current config structure
- distill_from: str = 'predictor'¶
Where to distill from if used for distillation. Could either be done from the dataset or from the model.
- generator: None | GeneratorConfig = None¶