Chapter 123 / 7
RLHF & Preference Optimization
Implement the GRPO group-normalized advantage and the clipped token-level objective
Medium
Implement the GRPO group-normalized advantage and the clipped token-level objective. [DeepSeek]
Target interface
grpo_advantage(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.