LESSON 24.C1 · 6 STAGES · 3 CONTROLS · 2 CHECKSPRO · PREVIEW
The LLM RL loop end to end
One prompt goes around the whole RL loop: sample, grade, mask, compare, update.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 2 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 24.C1 · LOOP BAY4 ROLLOUTS · POLICY V0 · LIMIT 6 TURNS
01
Stage 1 of 6 · Sample a group
Explain it simply
The actor is the part that runs the model. It plays four tries at the same coding task, called rollouts. A filled square is a tool call, and a hollow one is text. Rollout 4 is slow, so the turn limit stops it at turn 6.
Four rollout rows of turn squares. Rollouts 1 to 3 end with submit. Rollout 4 is cut at turn 6.
rollouts, prompt and tool text, log μtool calls, passes, rewards, A, ratiopolicy versions, chancesfails, cut episodes, clipped pushmasked, dropped, not graded; v0's 25%
Toy: the leap-year task of 24.01, 4 rollouts, one logit per rollout
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Policy v0 gives each of the 4 rollouts the same chance.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 2 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.