AlgoViz

From a training corpus to a checkpoint

hard 6 min

Language-model pretraining repeatedly predicts held-out target tokens from their prefixes.

Trace the example

Follow the evidence through each stage, then test a change in the case.

Learn from a missed next token

Learn from a missed next token. Selected component: Packed examples inside Data pipeline.
Open full-size diagram

Data pipeline

Shift and mask the target

Two real target tokens remain after padding positions are excluded. The dataset manifest fixes the sampling mix.

Training loss drops after an accidental copy of the evaluation set enters training. What happened to the validation claim?