Papers › TinyStories: How Small Can Language Models Be and Still Speak Coherent English?

TinyStories: How Small Can Language Models Be and Still Speak Coherent English?

12 May 2023arXiv:2305.07759archive 2025-07-28

Ronen Eldan, Yuanzhi Li

Language models (LMs) are powerful tools for natural language processing, but they often struggle to produce coherent and fluent text when they are small. Models with around 125M parameters such as GPT-Neo (small) or GPT-2 (small) can rarely generate coherent and consistent English text beyond a few words even after extensive training. This raises the question of whether the emergence of the ability to produce coherent English text only occurs at larger scales (with hundreds of millions of parameters or more) and complex architectures (with many layers of global attention). In this work, we introduce TinyStories, a synthetic dataset of short stories that only contain words that a typical 3 to 4-year-olds usually understand, generated by GPT-3.5 and GPT-4. We show that TinyStories can be used to train and evaluate LMs that are much smaller than the state-of-the-art models (below 10 million total parameters), or have much simpler architectures (with only one transformer block), yet still produce fluent and consistent stories with several paragraphs that are diverse and have almost perfect grammar, and demonstrate reasoning capabilities. We also introduce a new paradigm for the evaluation of language models: We suggest a framework which uses GPT-4 to grade the content generated by these models as if those were stories written by students and graded by a (human) teacher. This new paradigm overcomes the flaws of standard benchmarks which often requires the model's output to be very structures, and moreover provides a multidimensional score for the model, providing scores for different capabilities such as grammar, creativity and consistency. We hope that TinyStories can facilitate the development, analysis and research of LMs, especially for low-resource or specialized domains, and shed light on the emergence of language capabilities in LMs.

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="2305.07759")

Code

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

By repository: community (archive-listed): 18 samples from 3 repositories, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cg80499/kan-gpt-2 mentioned on GitHubjax report
danbraunai/simple_stories_train mentioned on GitHubjaxMIT report
noanabeshima/tinymodel mentioned on GitHubpytorch report
phixion/phixion mentioned on GitHubpytorch report
vizuaraai/tiny-stories-regional mentioned on GitHubpytorchMIT report
zhaoolee/garss 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

18 samples harvested; 3 ran; 0 honoured the contract we drafted; 15 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.

1ran · our draft was wrong
1ran · fixture could not drive it
1ran
15unverified

Licence: 0 of the 18 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 3 repositories linked to this paper, official or community; each sample names its own and says which. “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.

pad_vocab danbraunai/simple_stories_train/simple_stories_train/train_gpt2.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · cc82794b6ec72130 · report
parse_mlp_tag noanabeshima/tinymodel/tinymodel/lm.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 7f351de9044b032b · report
setup_logger danbraunai/simple_stories_train/simple_stories_train/log.py community (archive-listed) ran MIT (permissive) · d8a05e02085eeb90 · report
clean_dataset danbraunai/simple_stories_train/simple_stories_train/tokenizer.py community (archive-listed) unverified MIT (permissive) · 69981ccab3e11aa0 · report
compare_metrics vizuaraai/tiny-stories-regional/results/compare_models_statistics.py community (archive-listed) unverified MIT (permissive) · 9ca1ae242b588ec1 · report
convert_dotted_args_to_nested_dict danbraunai/simple_stories_train/simple_stories_train/utils.py community (archive-listed) unverified MIT (permissive) · b73c48f33832ec9c · report
create_data_loader danbraunai/simple_stories_train/simple_stories_train/dataloaders.py community (archive-listed) unverified MIT (permissive) · 2425cc683fe447c3 · report
create_tokenizer danbraunai/simple_stories_train/simple_stories_train/tokenizer.py community (archive-listed) unverified MIT (permissive) · ea33e0525958ca7b · report
evaluate_story vizuaraai/tiny-stories-regional/prompting/requests_helper.py community (archive-listed) unverified MIT (permissive) · f50e36ff8515bb12 · report
extract_metrics vizuaraai/tiny-stories-regional/results/compare_models_statistics.py community (archive-listed) unverified MIT (permissive) · e88f4b6f04069085 · report
generate_story vizuaraai/tiny-stories-regional/prompting/requests_helper.py community (archive-listed) unverified MIT (permissive) · 65f2a574a10b1e7b · report
get_model_and_tokenizer vizuaraai/tiny-stories-regional/translation/get_model_token.py community (archive-listed) unverified MIT (permissive) · 654be48c7a17f9d2 · report
is_checkpoint_step danbraunai/simple_stories_train/simple_stories_train/utils.py community (archive-listed) unverified MIT (permissive) · fa261019edd7ff74 · report
load_tokenizer danbraunai/simple_stories_train/simple_stories_train/tokenizer.py community (archive-listed) unverified MIT (permissive) · c430eca0b62e5574 · report
normalize_text vizuaraai/tiny-stories-regional/analysis/BERT_BLEU_eval.py community (archive-listed) unverified MIT (permissive) · 31f124b85a98aa6e · report
process_chunk vizuaraai/tiny-stories-regional/prompting/requests_helper.py community (archive-listed) unverified MIT (permissive) · b062d9bb343787c7 · report
replace_pydantic_model danbraunai/simple_stories_train/simple_stories_train/utils.py community (archive-listed) unverified MIT (permissive) · a3875bb0a0255e77 · report
tokenize_and_concatenate danbraunai/simple_stories_train/simple_stories_train/dataloaders.py community (archive-listed) unverified MIT (permissive) · 2a0bbd4146b3cf66 · report

Datasets

Introduced by this paper, per the archive.

TinyStories

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionAttention DropoutBPECosine AnnealingDense ConnectionsDiscriminative Fine-TuningDropoutGPT-2GPT-3GPT-4GPT-NeoLabel SmoothingLayer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformerWeight 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