CurriculumTeacherModel<T>
Models & Types · AiDotNet.KnowledgeDistillation.Teachers
Curriculum teacher that wraps a base teacher for curriculum learning scenarios.
Inheritance: TeacherModelBase<Vector<T>, Vector<T>, T> → CurriculumTeacherModel<T>
How It Works
Architecture Note: This class provides a simple wrapper around a base teacher. Curriculum learning logic (adjusting difficulty over time) should be implemented in the training loop or distillation strategy, not in the teacher model.
The teacher model’s responsibility is only to provide predictions (logits). Curriculum decisions (which samples to show, how to adjust temperature/alpha) belong in the strategy or trainer layer.
Constructors
| Constructor | Summary |
|---|---|
CurriculumTeacherModel(ITeacherModel<Vector<T>, Vector<T>> baseTeacher) |
Initializes a new instance of the CurriculumTeacherModel class. |
Properties
| Property | Summary |
|---|---|
int OutputDimension { get; } |
Gets the output dimension from the base teacher. |
Methods
| Method | Summary |
|---|---|
Vector<T> GetLogits(Vector<T> input) |
Gets logits from the base teacher. |