// Stage 5 · Post-training, Alignment & Reasoning Models
Reasoning Models: RLVR, GRPO & Test-Time Compute
Chain of thought, self-consistency, process rewards, GRPO/DAPO, verifiable rewards and the R1 recipe.
about 12 hours12 algorithms5 paperslesson text in progress
01Goals
- Distinguish outcome rewards from process rewards
- Understand GRPO’s group-relative advantage
- Know the main ways to scale test-time compute
Do these first: Alignment: RLHF, DPO & Constitutional AI
02Algorithms to master
Each card has the original paper, prerequisites and resources.
03Must-read papers
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models ↗2022 ✓ verified in Essentials
- Let's Verify Step by Step ↗2023 ✓ verified in Essentials
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models ↗2024 ✓ verified in Essentials
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning ↗2025 ✓ verified in Essentials
- Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters ↗2024 ✓ verified in Essentials
04Courses & videos
- Lilian Weng:Why We Think ↗ExplainersEN
- huggingface/open-r1 ↗Reference codeEN
- github.com ↗Reference codeEN
- TRL:GRPO Trainer ↗Official docsEN
- OpenAI:Learning to reason with LLMs ↗ExplainersEN
05Hands-on: project, code & exercises
Free, official or author-published pages. Most run in the browser or on a free Colab GPU.
PROJECT
Train a 0.5B–1.5B model with GRPO on GSM8K (rule-based rewards) and watch answer length and accuracy change over steps.
- 1github.com ↗Reference code
Reproduce R1-Zero-style “aha” reasoning on an arithmetic game with RL (needs a rented GPU).
- 2TRL:GRPO Trainer ↗Official docs
Train a small maths model with TRL’s GRPOTrainer and a verifiable reward.
- 3huggingface/open-r1 ↗Reference code
Follow Open-R1’s reproduction steps to see what distillation and RL each contribute.
06Self-test
Answer in your head, then open to check.
Where does the reward in RLVR come from?
Programmatically checkable outcomes, such as matching answers or unit tests.
Which PPO component does GRPO drop?
The value network (critic).
Is self-consistency voting a training or an inference method?
Inference (test-time compute).
On these routes: Algorithm Researchers · Product Managers & Leaders