Hard

Debug a broken GRPO implementation with wrong grouping, wrong masks, and wrong old-logprob

Research Engineering & Debugging · Problem 6 of 8

Chapter 17Research Engineering & Debugging

Debug a broken GRPO implementation with wrong grouping, wrong masks, and wrong old-logprob

HardProblem 6 / 8

Debug a broken GRPO implementation with wrong grouping, wrong masks, and wrong old-logprobs.

Implement the function/class skeleton in the editor. Any correct approach is accepted.

Hints