IN THIS BREAKDOWN · 10 SECTIONS
You can read 27% of this breakdown.
The paper in one minute
Models with around 125 million parameters, such as GPT-2 small, trained on broad web text, struggle to write a coherent paragraph. Eldan and Li ask whether that is about scale or about the data. A web corpus asks a model to learn grammar, facts about everything, and reasoning all at once. What if the corpus kept the core of language and reduced the world it describes?
They had GPT-3.5 and GPT-4 write TinyStories: short stories of a few paragraphs using only words a 3 to 4 year old would understand. To prevent the generators from repeating themselves, each prompt required one random noun, one random verb and one random adjective from a list of about 1,500 basic words, plus a random subset of features such as dialogue, a plot twist, a bad ending or a moral. A second version, TinyStories-Instruct, prefixes each story with instructions (words to include, a sentence to contain, features, or a summary) so models can be tested on following them.
They trained small GPT-Neo-style models, mostly from about 1M to 35M parameters (up to about 80M in one comparison) and from 1 to 8 layers, each in under 30 hours on one GPU. Evaluation used about 50 hand-written story beginnings: each model wrote 10 completions per beginning, and GPT-4 graded each like a teacher on grammar, creativity and consistency, plus plot and instruction-following for the instruct variant.
Even tiny models wrote fluent stories, and models with about 28M parameters tracked characters and plot consistently. Grammar emerged earliest; consistency and creativity needed more size. Depth helped context tracking, width helped factual knowledge. Attention heads and neurons in the smallest models had readable roles. The authors check for memorization with n-gram overlap and conclude the models produce new stories, while noting that copying of plot templates cannot be ruled out.
Research notes: the problem, approach and results
parameters at which models trained on TinyStories write fluent, consistent stories (abstract)
words in the child-level vocabulary; each prompt draws a noun, a verb and an adjective (Section 2)
Rouge-2 of a completion to its closest training story (paper) and of our word-swapped copy to its source
Small language models (around 100M parameters) trained on broad web text rarely produce coherent text beyond a few words. Is that because coherent language needs scale, or because broad corpora ask a small model to learn too much at once?
Shrink the world, not the language. Generate a corpus of short stories with GPT-3.5 and GPT-4 restricted to a child's vocabulary, made diverse by random word and feature constraints, train tiny models on it, and grade their outputs with GPT-4 on grammar, creativity and consistency.
Models below 10M parameters, and models with a single transformer layer, wrote fluent, mostly consistent multi-paragraph stories and showed simple reasoning. Grammar came first with size, consistency and creativity later; depth mattered for context tracking and width for facts. Small models were also easier to interpret.
Why it matters to an FDE
Narrow the domain to shrink the model. When a customer needs language generation in a tight domain (status messages, simple summaries, form-filling dialogue), a small model trained on a focused corpus can be enough. TinyStories is the clean demonstration that data scope, not only parameter count, decides what a small model can do.
Use random constraints to make synthetic data diverse. Asking a model for "a story" a million times gives near-copies. Forcing random combinations of required words and features spreads the outputs. The same trick works for synthetic tickets, emails or forms: sample required entities, intents and attributes per item.
A model grader gives multidimensional scores cheaply. GPT-4 scored grammar, creativity and consistency separately, which revealed that capabilities emerge at different sizes. For customer evaluations, separate rubric dimensions are more useful than one number, provided you calibrate the grader against people.
Overlap checks catch copying of words, not of structure. The paper's Rouge-2 tests show completions do not repeat training text word for word. Our test shows a training story with 14 words swapped scores as low as the paper's evidence of novelty. For customer models trained on templates, test for template reuse directly.
Watch the grader's leniency. In the paper's own table, a 1-layer model's completion in which a girl climbs a ladder "and rescued Lucy", herself, received 7 of 10 for consistency.
Understand the mechanism. Try it on a real problem.
Unlock this breakdown and 290 more papers.
Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.
6 months · One payment · No auto-renewal
- ◇1 architecture diagram
- </>1 runnable code experiment
- ▦2 results tables
- ?5 interview questions with answers
- 03Key takeaways
The dataset, model sizes, GPT-Eval, emergence by capability, depth vs width, limits
Free account - 04How it works
Story generation, the instruct format, models, GPT-Eval, and the diversity checks
Premium - 05The numbers that matter
Model sizes, example grades, where capabilities appear, and the overlap measurements
Premium - 06Try it yourself
Count the prompt combinations, implement the paper's Rouge-2, and test it on a copied plot
Premium - 07Where it breaks
A toy world, one grader, template copying, generator dependence, and no human calibration
Premium - 08Using it on a deployment
Narrow corpora, constraint sampling, per-dimension grading, and template checks
Premium - 09Interview angles
Five questions this paper prepares you for, with answer hints
Premium - 10Read next
Where to go from here on this site
Premium
