ModelConfiguration
Section titled “ModelConfiguration”from modal_training_gym.common.models.base import ModelConfigurationBase class for model identity and weight-download logic.
Constructor
Section titled “Constructor”ModelConfiguration(**kwargs)| Parameter | Type | Default | Description |
|---|
Attributes
Section titled “Attributes”| Attribute | Type | Default | Description |
|---|---|---|---|
model_name | str | "" | HuggingFace repo ID or other model identifier. Default "". |
model_path | `str | None` | None |
architecture | `ModelArchitecture | None` | None |
training | `ModelTrainingConfig | None` | None |
Methods
Section titled “Methods”download_model(self) -> 'None'
Section titled “download_model(self) -> 'None'”Download or materialize weights into the model volume.