Direct Alignment: DPO, Rejection Sampling & Distillation
Implement iterative/online DPO: generate on-policy pairs, label with a toy preference func
Implement iterative/online DPO: generate on-policy pairs, label with a toy preference function, and run successive DPO rounds; show the win-rate trend.
seq_logp(model, toks)Implement the function/class skeleton in the editor. Any correct approach is accepted.