SESK: Stuff Everyone Should Know · sesk.info/ai-pretraining-first-phase
What kind of learning is usually used in the first, pretraining phase of an LLM?
Unsupervised (self-supervised) learning on huge amounts of text.
- Humans label every sentence first
- Unsupervised learning on raw text ✔
- Reinforcement learning from human ratings
Why: Pretraining needs no hand labels: the text itself supplies the answer, because the next token is already there. Human labels and ratings come later, in fine-tuning steps like instruction tuning and RLHF.
Huh, didn't know that: GPT-3's models were all trained for a total of 300 billion tokens.
Pretraining is like reading the whole library before anyone tells you what the test is about.
Like this card?
References
Answer: Unsupervised learning on raw text. Pretraining needs no hand labels: the text itself supplies the answer, because the next token is already there. Human labels and ratings come later, in fine-tuning steps like instruction tuning and RLHF.
- Google ML Crash Course: LLMs and Transformers developers.google.com/machine-learning/crash-course/llm/transformers
The first phase of training is usually some form of unsupervised learning on that training data.
Checked 2026-10-10. - Brown et al., Language Models are Few-Shot Learners (arXiv 2005.14165) arxiv.org/pdf/2005.14165
All models were trained for a total of 300 billion tokens.
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.