NanoStories
NanoStories is a dataset of 50 million short, simple children's stories in English. It is intended for training and evaluating small language models. Every story is produced by a rule-based generator, not by a neural model.
Dataset Summary
- Stories: 50,000,000
- Format: Parquet, 1,000,000 stories per file (50 files)
- Column:
text (string), one complete story per row
- Language: English
- Generation: 50M stories produced on a phone CPU in about 9.5 minutes with 1 worker
Supported Uses
- Pretraining or training tiny language models from scratch
- Studying how data diversity and vocabulary affect small-model learning
- Testing tokenizers, data pipelines, and training setups at scale
- Baselines for comparing against other synthetic children's story corpora
Out-of-Scope Uses
- Measuring general language ability or real-world text quality. The stories are generated from fixed templates and word lists, so they do not reflect natural language.
- Any use that treats the stories as factual, moral, or educational authority. Morals are fixed sentences attached by the template, not carefully reasoned lessons.
Dataset Structure
Each row has a single field:
| Field | Type | Description |
|---|
| text | string | One complete story, with no surrounding markup |
Stories are not split into separate sentences or metadata. Theme labels are not included.
How the Data Was Generated
Each story is built from one of five themes:
- Lost object: a character loses a treasured item and an animal friend helps find it.
- Bravery: a character overcomes a fear with a little help from an animal.
- Sharing: a character shares a found treat with an animal.
- Stuck object: a helper animal gets a stuck item down from a tree.
- Gift: a character makes a gift for an animal friend.
Each story is assembled from ordered beats. Each beat has several wordings, and some beats are optional. A scenery sentence is added to about a third of stories. Story elements are drawn from these pools:
- 20 names, each with a set pronoun, combined with 12 traits and 12 roles
- 12 animal adjectives combined with 10 species
- Several item lists, settings, openers, connectors, emotions, and morals
Stories are generated independently. Stories with the same random seed and batch size are identical across runs and across worker counts. Duplicates are possible but uncommon, because the combinations are very numerous. No model was used at any stage.
Known Limitations
- Limited diversity in structure. Every story follows one of five plot skeletons. Many stories will share sentences and phrasing.
- Repetitive vocabulary. The word pools are small and fixed, so some words and phrases appear far more often than they would in natural text.
- Grammar edge cases. Templates are not parsed or checked, so occasional awkward phrasing is possible.
- Fixed morals. Each story ends with a sentence drawn from a short list, which may repeat across many stories.
- English only.
- No content review. Stories were generated by rules and have not been reviewed by people.
Bias and Safety
The generator uses a fixed set of character names, pronouns, and traits. It does not sample from demographic distributions, so the cast does not represent any real population. The stories contain no violence beyond mild fear and a fall to the ground, but they have not been formally audited.