Skip to content
English

Switch theme

// 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

Do these first: Alignment: RLHF, DPO & Constitutional AI

02Algorithms to master

Each card has the original paper, prerequisites and resources.

03Must-read papers

04Courses & videos

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.

  1. 1
    github.com ↗Reference code

    Reproduce R1-Zero-style “aha” reasoning on an arithmetic game with RL (needs a rented GPU).

  2. 2
    TRL:GRPO Trainer ↗Official docs

    Train a small maths model with TRL’s GRPOTrainer and a verifiable reward.

  3. 3
    huggingface/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

Data updated: AI algorithms & curriculum(UTC+8)