Skip to content

DistillationConfig

Structure Class

DistillationConfig dataclass

Bases: _SerdeShape

Settings for distilling a foundation model into a smaller and more efficient model.

Attributes

teacher_model_config instance-attribute
teacher_model_config: TeacherModelConfig

The teacher model configuration.