Papers › Training Compute-Optimal Large Language Models

Training Compute-Optimal Large Language Models

29 Mar 2022arXiv:2203.15556archive 2025-07-28

Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katie Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Jack W. Rae, Oriol Vinyals, Laurent SIfre

We investigate the optimal model size and number of tokens for training a transformer language model under a given compute budget. We find that current large language models are significantly undertrained, a consequence of the recent focus on scaling language models whilst keeping the amount of training data constant. By training over \nummodels language models ranging from 70 million to over 16 billion parameters on 5 to 500 billion tokens, we find that for compute-optimal training, the model size and the number of training tokens should be scaled equally: for every doubling of model size the number of training tokens should also be doubled. We test this hypothesis by training a predicted compute-optimal model, \chinchilla, that uses the same compute budget as \gopher but with 70B parameters and 4× more more data. \chinchilla uniformly and significantly outperforms \Gopher (280B), GPT-3 (175B), Jurassic-1 (178B), and Megatron-Turing NLG (530B) on a large range of downstream evaluation tasks. This also means that \chinchilla uses substantially less compute for fine-tuning and inference, greatly facilitating downstream usage. As a highlight, \chinchilla reaches a state-of-the-art average accuracy of 67.5\% on the MMLU benchmark, greater than a 7\% improvement over \gopher.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2203.15556")

Code

Syntology Ran 8 of 11 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong; 2 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: community (archive-listed): 7 samples from 2 repositories, 4 ran; 4 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

karpathy/llama2.c mentioned on GitHubpytorch report
nkluge-correa/teenytinyllama mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 8 ran; 2 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
2ran · fixture could not drive it
3ran
3unverified

Licence: 4 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

FeedForward karpathy/llama2.c/model.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 1bf497baaf536b2b · report
ModelArgs karpathy/llama2.c/model.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 7312586d85e4354f · report
RMSNorm karpathy/llama2.c/model.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · e27b34a3f741d4de · report
calculate_loss nkluge-correa/teenytinyllama/Utilities/chinchilla-estimation.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · 9293e052d06482a7 · report
Attention karpathy/llama2.c/model.py community (archive-listed) unverified MIT (permissive) · c20a31b2d7615a4b · report
Transformer karpathy/llama2.c/model.py community (archive-listed) unverified MIT (permissive) · 8b8a4640c5a93610 · report
TransformerBlock karpathy/llama2.c/model.py community (archive-listed) unverified MIT (permissive) · 46b07f9445b01dce · report
repeat_kv identical code first harvested elsewhere ran · fixture could not drive it fingerprinted licence of this copy not recorded · 6d2a08dcf3466514 · report
apply_rotary_emb identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · af440c67b16afe67 · report
precompute_freqs_cis identical code first harvested elsewhere ran · honoured contract fingerprinted licence of this copy not recorded · 5f447bdd807ed3c0 · report
reshape_for_broadcast identical code first harvested elsewhere ran · fixture could not drive it fingerprinted licence of this copy not recorded · e04ad9d4b02f50b6 · report

Tasks

AnachronismsAnalogical SimilarityAnalytic EntailmentCausal JudgmentCommon Sense ReasoningCrash BlossomCrass AIDark Humor DetectionDate UnderstandingDisambiguation QADiscourse Marker PredictionEmpirical JudgmentsEnglish ProverbsEntailed PolarityEpistemic ReasoningEvaluating Information EssentialityFantasy ReasoningFigure Of Speech DetectionFormal Fallacies Syllogisms NegationGRE Reading ComprehensionGeneral KnowledgeHellaSwagHuman Organs Senses Multiple ChoiceHyperbatonIdentify Odd MetaporImplicaturesImplicit RelationsIntent RecognitionIrony IdentificationKnown UnknownsLAMBADALanguage ModellingLogic Grid PuzzleLogical ArgsLogical Fallacy DetectionLogical ReasoningLogical SequenceMMLUMathematical InductionMathematical ReasoningMetaphor BooleanMisconceptionsMoral PermissibilityMovie Dialog Same Or DifferentMovie RecommendationMulti-task Language UnderstandingMultiple Choice Question Answering (MCQA)NavigateNonsense Words GrammarNovel ConceptsOdd One OutPenguins In A TablePhrase RelatednessPhysical IntuitionPhysics MCPresuppositions As NLIQuestion AnsweringQuestion SelectionReasoning About Colored ObjectsRiddle SenseRuin NamesSNARKSSarcasm DetectionSentence AmbiguitySentence CompletionSimilarities AbstractionSports UnderstandingStrategyQATemporal SequencesTimedialUnderstanding FablesWinowhyWord Sense Disambiguation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Analogical Similarity BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 38.1 #1 of 2 Archive leaderboard report
Analytic Entailment BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 67.1 #1 of 2 Archive leaderboard report
Common Sense Reasoning BIG-bench (Causal Judgment) Chinchilla-70B (few-shot, k=5) Accuracy 57.4 #4 of 9 Archive leaderboard report
Common Sense Reasoning BIG-bench (Date Understanding) Chinchilla-70B (few-shot, k=5) Accuracy 52.3 #5 of 9 Archive leaderboard report
Common Sense Reasoning BIG-bench (Disambiguation QA) Chinchilla-70B (few-shot, k=5) Accuracy 54.7 #4 of 9 Archive leaderboard report
Common Sense Reasoning BIG-bench (Known Unknowns) Chinchilla-70B (few-shot, k=5) Accuracy 65.2 #2 of 3 Archive leaderboard report
Common Sense Reasoning BIG-bench (Logical Sequence) Chinchilla-70B (few-shot, k=5) Accuracy 64.1 #1 of 2 Archive leaderboard report
Common Sense Reasoning BIG-bench (Sports Understanding) Chinchilla-70B (few-shot, k=5) Accuracy 71 #4 of 8 Archive leaderboard report
Common Sense Reasoning BIG-bench (Winowhy) Chinchilla-70B (few-shot, k=5) Accuracy 62.5 #2 of 4 Archive leaderboard report
Common Sense Reasoning WinoGrande Chinchilla 70B (0-shot) Accuracy 74.9 #28 of 77 Archive leaderboard report
Crash Blossom BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 47.6 #2 of 2 Archive leaderboard report
Crass AI BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 75.0 #3 of 4 Archive leaderboard report
Dark Humor Detection BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 66.2 #2 of 2 Archive leaderboard report
Discourse Marker Prediction BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 13.1 #1 of 2 Archive leaderboard report
Empirical Judgments BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 67.7 #1 of 2 Archive leaderboard report
English Proverbs BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 82.4 #1 of 2 Archive leaderboard report
Entailed Polarity BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 94 #1 of 2 Archive leaderboard report
Epistemic Reasoning BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 60.6 #1 of 2 Archive leaderboard report
Evaluating Information Essentiality BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 17.6 #1 of 2 Archive leaderboard report
Fantasy Reasoning BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 69 #1 of 2 Archive leaderboard report
Figure Of Speech Detection BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 63.3 #1 of 2 Archive leaderboard report
GRE Reading Comprehension BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 53.1 #1 of 2 Archive leaderboard report
General Knowledge BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 94.3 #1 of 2 Archive leaderboard report
Human Organs Senses Multiple Choice BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 85.7 #1 of 2 Archive leaderboard report
Identify Odd Metapor BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 68.8 #1 of 2 Archive leaderboard report
Implicatures BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 75 #1 of 2 Archive leaderboard report
Implicit Relations BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 49.4 #1 of 2 Archive leaderboard report
Intent Recognition BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 92.8 #1 of 2 Archive leaderboard report
Irony Identification BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 73.0 #1 of 2 Archive leaderboard report
LAMBADA BIG-bench Chinchilla-70B (zero-shot) Accuracy 77.4 #1 of 2 Archive leaderboard report
Language Modelling LAMBADA Chinchilla (Zero-Shot) Accuracy 77.7 #16 of 37 Archive leaderboard report
Logical Args BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 56.2 #2 of 2 Archive leaderboard report
Logical Reasoning BIG-bench (Formal Fallacies Syllogisms Negation) Chinchilla-70B (few-shot, k=5) Accuracy 52.1 #7 of 9 Archive leaderboard report
Logical Reasoning BIG-bench (Logic Grid Puzzle) Chinchilla-70B (few-shot, k=5) Accuracy 44 #1 of 4 Archive leaderboard report
Logical Reasoning BIG-bench (Logical Fallacy Detection) Chinchilla-70B (few-shot, k=5) Accuracy 72.1 #1 of 2 Archive leaderboard report
Logical Reasoning BIG-bench (Penguins In A Table) Chinchilla-70B (few-shot, k=5) Accuracy 48.7 #3 of 9 Archive leaderboard report
Logical Reasoning BIG-bench (Reasoning About Colored Objects) Chinchilla-70B (few-shot, k=5) Accuracy 59.7 #3 of 9 Archive leaderboard report
Logical Reasoning BIG-bench (StrategyQA) Chinchilla-70B (few-shot, k=5) Accuracy 68.3 #2 of 4 Archive leaderboard report
Logical Reasoning BIG-bench (Temporal Sequences) Chinchilla-70B (few-shot, k=5) Accuracy 32.0 #5 of 9 Archive leaderboard report
Mathematical Induction BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 47.3 #2 of 2 Archive leaderboard report
Metaphor Boolean BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 93.1 #1 of 2 Archive leaderboard report
Misconceptions BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 65.3 #1 of 2 Archive leaderboard report
Moral Permissibility BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 57.3 #1 of 2 Archive leaderboard report
Movie Dialog Same Or Different BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 54.5 #1 of 2 Archive leaderboard report
Multi-task Language Understanding MML chatgpt/gpt3.5(20B) Average (%) 67.5 #14 of 44 Archive leaderboard report
Multiple Choice Question Answering (MCQA) BIG-bench (Hyperbaton) Chinchilla-70B (few-shot, k=5) Accuracy 54.2 #8 of 9 Archive leaderboard report
Multiple Choice Question Answering (MCQA) BIG-bench (Movie Recommendation) Chinchilla-70B (few-shot, k=5) Accuracy 75.6 #8 of 9 Archive leaderboard report
Multiple Choice Question Answering (MCQA) BIG-bench (Navigate) Chinchilla-70B (few-shot, k=5) Accuracy 52.6 #4 of 9 Archive leaderboard report
Multiple Choice Question Answering (MCQA) BIG-bench (Novel Concepts) Chinchilla-70B (few-shot, k=5) Accuracy 65.6 #2 of 4 Archive leaderboard report
Multiple Choice Question Answering (MCQA) BIG-bench (Ruin Names) Chinchilla-70B (few-shot, k=5) Accuracy 47.1 #8 of 9 Archive leaderboard report
Nonsense Words Grammar BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 78 #1 of 2 Archive leaderboard report
Odd One Out BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 70.9 #1 of 2 Archive leaderboard report
Phrase Relatedness BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 94 #1 of 2 Archive leaderboard report
Physical Intuition BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 79 #1 of 2 Archive leaderboard report
Presuppositions As NLI BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 49.9 #1 of 2 Archive leaderboard report
Question Answering BoolQ Chinchilla 70B (0-shot) Accuracy 83.7 #21 of 65 Archive leaderboard report
Question Answering Natural Questions Chinchilla (few-shot, k=64) EM 35.5 #28 of 47 Archive leaderboard report
Question Answering PIQA Chinchilla 70B (0-shot) Accuracy 81.8 #26 of 67 Archive leaderboard report
Question Answering SIQA Chinchilla (zero-shot) Accuracy 51.3 #19 of 24 Archive leaderboard report
Question Selection BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 52.6 #1 of 2 Archive leaderboard report
Riddle Sense BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 85.7 #1 of 2 Archive leaderboard report
Sarcasm Detection BIG-bench (SNARKS) Chinchilla-70B (few-shot, k=5) Accuracy 58.6 #7 of 8 Archive leaderboard report
Sentence Ambiguity BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 71.7 #1 of 2 Archive leaderboard report
Sentence Completion HellaSwag Chinchilla 70B (0-shot) Accuracy 80.8 #42 of 89 Archive leaderboard report
Similarities Abstraction BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 87 #1 of 2 Archive leaderboard report
Timedial BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 68.8 #1 of 2 Archive leaderboard report
Understanding Fables BIG-bench Chinchilla-70B (few-shot, k=5) Accuracy 60.3 #1 of 2 Archive leaderboard report
Word Sense Disambiguation BIG-bench (Anachronisms) Chinchilla-70B (few-shot, k=5) Accuracy 69.1 #1 of 6 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AdamAttentionAttention DropoutBPEChinchillaCosine AnnealingDense ConnectionsDropoutGPT-3Layer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionResidual ConnectionSoftmaxWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections