walkthrough · 01

How a language model gets made

Five stages from a pile of text to something you can talk to, and where the safety work actually attaches. Click through the stages.

the idea to hold on to

Stages one to four change the model itself. Stage five wraps around it without touching it. Almost every confusing claim about what a model "knows" or "learns" comes from mixing those two up.

training time · changes the weights

0. one function

A language model is a function that takes a sequence of word fragments and returns a probability distribution over what comes next.

There is no separate knowledge module and personality module. It is one set of numbers, called weights, all the way through. Every stage that follows changes those same numbers.

most common misreading

That it stores facts in a database it looks things up in.

tokens innext-token p

What is honestly not public

The pipeline above is a teaching sequence and it is broadly right. But no frontier lab has published a full end to end recipe for a current production model. What exists publicly is older method papers, one genuinely detailed technical report for an open weight model, and model cards that describe evaluation far more thoroughly than they describe training.

So the accurate picture is the documented pipeline plus the fog over the current instances of it. Anyone who draws this as a clean, fully known assembly line is drawing something nobody outside those labs can actually see.

Two more corrections worth carrying: real pipelines loop rather than run once, and the published figures people quote for model size and training compute are almost always taken from open weight models or regulatory thresholds, not from the closed systems being discussed.

Belle noticing something
Stage five is the one that is different.

Sources

Everything above was checked against these during the research pass. Where a claim is contested, the sources that disagree are both listed.

The canonical three step pipeline: supervised fine tuning, reward model, reinforcement learning. Source of the finding that a 1.3B tuned model was preferred to a 175B base model.
Where the RLHF and Constitutional AI distinction is settled precisely, rather than by the popular conflation of the two.
Why many current pipelines dropped the separate reinforcement learning loop.
The most detailed public end to end account of a frontier scale training run.
A fully documented web scale pretraining corpus: 15 trillion tokens from 96 Common Crawl snapshots.
The origin of in context learning, and useful for what a base model can already do.
The best single source on what evaluations cannot establish, written by an evaluator rather than a developer.
Twelve companies' policies compared. Better than generalising the gate from any one lab.
Concrete evidence that runtime behaviour is separable from training, including the note that these do not apply to the API.