The simple version
- A new AI model starts out knowing nothing at all.
- First it reads a huge amount of text and practises guessing the next word. That is called pretraining.
- Then people show it examples of good answers, so it learns to be a helpful assistant.
- Then it practises, gets a score, and does more of whatever scored well.
- Training takes months and thousands of chips. Using the finished model is a separate step.
Why it matters now
On 1 December, AIooze reported that Anthropic has put off training its next frontier model by at least six weeks, from November to January. Its chief executive, Dario Amodei, asked Congress for rules that include risk checks before training and internal use, not only at release, and a waiting period of perhaps 60 to 90 days before a new model is used to help build its successors (AIooze brief).
That is a shift. Debates about AI used to focus on what companies sell. Now lawmakers are being asked to look at how models are made. To follow that debate, it helps to know what “training” actually involves.
How it works, step by step
Picture a student who learns a language by reading every book in an enormous library, then gets coached by a tutor, then sits thousands of practice tests. Training an AI model follows roughly the same path.
Step 1: Gather and clean the data
Developers collect a very large amount of text: web pages, books, articles, code and more. They filter out duplicates, spam and low-quality pages, then cut everything into tokens, the small chunks of text a model works with. Which material is used, and whether permission is needed, is a live legal fight (see Can AI Learn From Copyrighted Work?).
Step 2: Pretraining: guess the next token, trillions of times
The model starts as a huge set of numbers called parameters, set at random. It is shown a stretch of text with the next token hidden and asked to guess it. When it guesses wrong, every parameter is nudged a tiny amount so the right answer becomes a little more likely next time.
Repeat that trillions of times and something remarkable happens. To predict the next word well, the model has to pick up grammar, facts, styles of argument, and how code fits together.
This is the expensive part. Meta’s paper on its Llama 3 models says the largest one has 405 billion parameters, was pretrained on about 15 trillion tokens, and used up to 16,000 Nvidia H100 chips (Meta).
More data can matter as much as more size. In 2022, DeepMind researchers found that many large models had been trained on too little text for their size. Their 70-billion-parameter Chinchilla model, trained on 1.4 trillion tokens, outperformed much bigger models (Hoffmann et al.).
The result is a base model. It can continue any text, but it is not yet a good assistant. Ask it “What is the capital of France?” and it may simply carry on with more quiz questions, because that is what often follows such a line on the web.
Step 3: Fine-tuning: learn from good examples
Next comes fine-tuning: further training on a much smaller set of carefully written conversations, each showing a request and a good reply. It is like an apprentice studying worked examples. The model learns the format of being an assistant: answer the question, follow instructions, say when it is unsure. (Fine-tuning is also something companies do with finished models; see Fine-Tuning vs RAG vs Prompting.)
This stage needs far less data than pretraining, but the data has to be good. Companies hire people to write and check examples, and increasingly use models to draft them for humans to review.
Everything after pretraining is often grouped together as post-training.
Step 4: Learn from human preferences
Good examples only go so far. So people compare pairs of answers from the model and pick the better one. A second model, called a reward model, learns to predict those choices. The main model is then trained to produce answers the reward model scores highly. This is reinforcement learning from human feedback, or RLHF.
It works surprisingly well. In OpenAI’s 2022 InstructGPT paper, people preferred answers from a 1.3-billion-parameter model trained this way over those of the 175-billion-parameter GPT-3, despite it having 100 times fewer parameters (Ouyang et al.).
Step 5: Practise on problems with checkable answers
The newest stage is reinforcement learning on tasks where a computer can check the answer: maths problems with a known result, or code that must pass tests. The model tries, gets a score, and is nudged towards whatever worked. No human needs to grade each attempt.
DeepSeek’s R1 paper showed that this kind of practice could teach a model to work through problems step by step, which is how many reasoning models are built (DeepSeek-AI). The risk is that a model learns to game the score rather than solve the task, a problem called reward hacking.
After all this, models are tested for skills and safety before release (see How Are AI Models Tested?).
A worked example: one sentence, three stages
Take the sentence “The cat sat on the mat.”
Pretraining. The model sees “The cat sat on the” and must guess what comes next. Suppose it gives “floor” a 30% chance and “mat” 25%. The real answer is “mat”, so its parameters shift very slightly towards “mat”. One tiny lesson out of trillions.
Fine-tuning. Later, it is shown a conversation: someone asks “How do I boil an egg?” and the example reply gives clear, numbered steps. The model learns that a question should get a direct, useful answer, not more questions.
Learning from feedback. Finally, it writes two answers to “How do I boil an egg?”. One is clear; one rambles. A person, or a reward model trained on people’s choices, prefers the clear one, and the model is nudged towards writing like that.
What people get wrong
“It learns from every chat.” The model you talk to does not change as you chat; its parameters were fixed when training finished. Some companies may use conversations to train future versions, depending on your settings, but that happens later, in a new training run.
“Training copies the internet into a database.” Training adjusts numbers; it does not store pages to look up. That said, models can sometimes repeat passages they saw many times, which is part of the copyright debate.
“Bigger is always better.” Chinchilla showed that a smaller model trained on more data can beat a larger one trained on less.
“Once trained, AI is cheap to run.” Every answer still costs computing power, and serving millions of people adds up (see What Does It Cost to Use AI?).
Where it is heading
Rules about training itself. Amodei’s proposals include risk checks before training and a waiting period before a new model helps build its successors. Lawmakers have not acted on them yet; they give a concrete template to accept or reject.
More reinforcement learning. Since DeepSeek-R1, practice on checkable problems has become a central part of building reasoning models.
Smaller copies of big models. In distillation, a small model is trained to imitate a larger one. The DeepSeek-R1 paper reports distilling its reasoning skills into smaller open models that are far cheaper to run.
Training on AI-written data. Meta’s Llama 3 paper describes using examples generated by models during post-training, a practice known as synthetic data.
Key terms
- Pretraining
- Post-training
- Token
- Parameter
- Fine-tuning
- RLHF
- Reinforcement learning
- Reward hacking
- Reasoning model
- Distillation
- Synthetic data
- Frontier model
Sources
- Dario Amodei, We Must Pace the Frontier, Part 2, 2026. darioamodei.com
- Meta (Llama Team), The Llama 3 Herd of Models, 2024. arXiv
- Hoffmann et al. (DeepMind), Training Compute-Optimal Large Language Models, 2022. arXiv
- Ouyang et al. (OpenAI), Training language models to follow instructions with human feedback, 2022. arXiv
- DeepSeek-AI, DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning, 2025. arXiv
