TinyStories: How Small Can Language Models Be and Still Speak Coherent English?
2023/05/12 by Ronen Eldan, Yuanzhi Li, Eldan, Ronen +1 · 19 voices · 77 citations
Computer Science · #Natural Language Processing Techniques #Text Readability and Simplification #Topic Modeling #cs.AI #cs.CL #cs.LG
paper · pdf · doi:10.48550/arxiv.2305.07759
openalex publication_date 2023/05/12 · openalex created_date 2023/05/17 · openalex updated_date 2026/07/28
Abstract
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.
Cited by
Discussions
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? (2023) [hn, 218 points, 104 comments]
- How Small Can Language Models Be and Still Speak Coherent English? [hn, 42 points, 10 comments]
- Morning. After an unproductive day yesterday I've decided to pivot. I found a paper that explores how small a transformer can be and still speak English. A small model with a simple architecture can d [bsky, 13 points, 2 comments]
- Relevant to your interests. Influential dataset, consider this an entrypoint. Strong recommend poking around the tree of works that have cited this. Loads of interesting stuff in the minimal training [bsky, 5 points, 2 comments]
- Meanwhile LLMs largely do not struggle with grammar, even though grammar completely eludes us as a formally definable thing. We know the k-complexity of grammar must not be that high because even very [bsky, 4 points, 1 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? [lobsters, 3 points, 0 comments]
- How small can a #AI language model be? [bsky, 3 points, 0 comments]
- TinyStories (arxiv.org/abs/2305.07759) has been extremely useful for researchers, though is quite formulaic (e.g. 59% start with "Once upon a time"). We address this with parametrized prompts, allowin [bsky, 2 points, 1 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? (2023) https://arxiv.org/abs/2305.07759 https://news.ycombinator.com/item?id=42576755 [bsky, 1 points, 0 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? (arxiv.org) Main Link | Discussion [bsky, 0 points, 0 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? view on hacker news [bsky, 0 points, 0 comments]
- Have you seen arxiv.org/abs/2305.07759 [bsky, 0 points, 0 comments]
- I don’t have time to argue with a bunch of AI skeptics on the internet, but those who are actually curious and want to learn, some papers to read: SLM trained on children’s books with emergent qualit [bsky, 0 points, 1 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? https://arxiv.org/abs/2305.07759 (https://news.ycombinator.com/item?id=42576755) [bsky, 0 points, 0 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? #cohere #hackernews #news [bsky, 0 points, 0 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? [bsky, 0 points, 0 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? #HackerNews arxiv.org/abs/... [bsky, 0 points, 0 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? (2023) https://arxiv.org/abs/2305.07759 [comments] [158 points] [bsky, 0 points, 0 comments]
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English? https://arxiv.org/abs/2305.07759 (https://news.ycombinator.com/item?id=42576755) [bsky, 0 points, 0 comments]
Related