Chapter 125 / 7
RLHF: Reward Models, PPO & GRPO
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)Complete the starter code in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.