How pre-training builds a language model
For both
How a model learns from trillions of tokens of text and code, what the data and compute buy, and the questions the data raises
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Why do pre-training pipelines deduplicate the data?
Check yourself · 2 of 5
What does a language model predict during pre-training?
Check yourself · 3 of 5
What did the Chinchilla study conclude about large models of its time?
Check yourself · 4 of 5
What is a base model most likely to do with the bare line "What is the capital of France?"
Check yourself · 5 of 5
A model scores 98% on a public quiz from 2018 but fails a new, similar quiz. Which risk is likely?
Topics
- What goes into pre-training data4 min read · Web crawls, books, code and synthetic data, plus the filtering and deduplication that shape the mix
- Learning by predicting missing text4 min read · Next-token loss over trillions of tokens stores compressed, lossy knowledge in the weights
- Scaling compute, data and parameters4 min read · Scaling laws, the parameters-versus-data trade-off and why bigger runs kept getting better
- A base model only continues text4 min read · A pre-trained model completes documents rather than answering questions, which is why post-training exists
- Copyright, consent and contamination questions4 min read · Who owns training data, opt-outs, memorised personal data and test sets leaking into training
Start here
- Andrej Karpathy: Deep Dive into LLMs like ChatGPT (opens in a new tab)VideoFree
A three-hour walk through pre-training data, tokens, base models and post-training, from a practitioner.
- FineWeb: decanting the web for the finest text data at scale (opens in a new tab)ArticleFree
A worked example of turning Common Crawl into training data: filtering, deduplication and what each step changes.
- Training Compute-Optimal Large Language Models (Chinchilla) (opens in a new tab)PaperFree
The study showing that, for a fixed compute budget, model size and training tokens should grow together.
Helps to know first
110 questions · last verified 2026-12