Direct Alignment: DPO, Rejection Sampling & Distillation
Implement on-policy distillation: sample from the student, score tokens under a (toy) teac
Implement on-policy distillation: sample from the student, score tokens under a (toy) teacher, and apply the reverse-KL policy-gradient update.
class TinyLMImplement the function/class skeleton in the editor. Any correct approach is accepted.