# Scaling language models

> From an attention-only translation model to small open models that match giants by training longer on public data.

Page: https://mralbu.github.io/ai-datasets/t/llm-scaling
Timeline: https://mralbu.github.io/ai-datasets/timeline?track=llm-scaling
Categories: LLMs, Text

Language models improved through one bet, refined each time: train a Transformer to predict the next word, and scale it. GPT-2 found tasks emerging from web text, GPT-3 that examples in the prompt could replace fine-tuning, Chinchilla that data matters as much as parameters, and LLaMA that smaller models trained longer on public data could match the giants.

## Sequence

- **2014 · Dataset:** [WMT14 English–German](https://mralbu.github.io/ai-datasets/d/wmt14.md) — 4.5M English–German sentence pairs: the benchmark in the Transformer paper.
- **2015 · Dataset:** [CNN/DailyMail](https://mralbu.github.io/ai-datasets/d/cnn-dailymail.md) — 312,000 news articles paired with the bullet-point highlights their editors wrote.
- **2016 · Dataset:** [WikiText-103](https://mralbu.github.io/ai-datasets/d/wikitext.md) — 103 million words from 28,475 good and featured Wikipedia articles, kept whole.
- **2017 · Step 1:** [Transformer](https://mralbu.github.io/ai-datasets/p/transformer.md) — Set the backbone, an attention-only architecture that trains in parallel across GPUs without the sequential bottleneck of recurrent networks.
- **2019 · Dataset:** [HellaSwag](https://mralbu.github.io/ai-datasets/d/hellaswag.md) — Pick the most plausible ending for a video caption or how-to step. Easy for people, hard for 2019 models.
- **2019 · Dataset:** [SuperGLUE](https://mralbu.github.io/ai-datasets/d/superglue.md) — GLUE's harder successor: eight tasks, from yes/no questions to pronoun resolution.
- **2019 · Step 2:** [GPT-2](https://mralbu.github.io/ai-datasets/p/gpt-2.md) — Translation models learned one task from labeled pairs; a 1.5B-parameter decoder trained only on web text summarized, translated and answered questions zero-shot, if poorly.
- **2020 · Dataset:** [MMLU](https://mralbu.github.io/ai-datasets/d/mmlu.md) — 15,908 four-option exam questions, from high-school math to law and medicine.
- **2020 · Step 3:** [GPT-3](https://mralbu.github.io/ai-datasets/p/gpt-3.md) — GPT-2's zero-shot answers trailed fine-tuned models far behind; scaling to 175B parameters let a few examples in the prompt rival fine-tuning.
- **2021 · Dataset:** [GSM8K](https://mralbu.github.io/ai-datasets/d/gsm8k.md) — 8.5k grade-school math word problems with step-by-step solutions.
- **2021 · Dataset:** [HumanEval](https://mralbu.github.io/ai-datasets/d/humaneval.md) — 164 hand-written Python problems graded by unit tests.
- **2022 · Step 4:** [Chinchilla](https://mralbu.github.io/ai-datasets/p/chinchilla.md) — Models kept growing on roughly the same 300B tokens; for equal compute, a 70B model trained on 1.4T tokens beat ones four times larger.
- **2023 · Step 5:** [LLaMA](https://mralbu.github.io/ai-datasets/p/llama.md) — Compute-optimal models were still costly to serve and trained on private data; smaller models trained longer on public data alone beat GPT-3 at 13B.
