Chapter 125 / 7
RLHF & Preference Optimization
Implement Dr
Hard
Implement Dr. GRPO (GRPO with the length and std-normalization terms removed) and show, on a toy batch, that it changes the relative weighting vs GRPO. [DeepSeek]
Target interface
grpo_adv(rewards)Implement the function/class skeleton in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.