ML coding
Machine learning algorithms and model parts written from scratch in NumPy and PyTorch, as ML coding rounds ask.
Machine learning algorithms and model parts written from scratch in NumPy and PyTorch, as ML coding rounds ask.
1 write-up
| Title |
|---|
| Policy Gradients and GRPO Policy-gradient training for sequence models in PyTorch, from raw REINFORCE to a group-relative baseline to GRPO with ratio clipping and a KL penalty, plus the NaN and ratio bugs of the debugging variant. |