# TinyStories

- **ID:** 168
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/roneneldan/TinyStories
- **Authors:** roneneldan
- **Venue:** roneneldan
- **Published:** 2023
- **Source:** huggingface
- **Language:** en
- **Access:** free
- **License:** cdla-sharing-1.0
- **License family:** Copyleft (auto-classified)
- **Topics:** Language Modeling
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/168

## Summary

Dataset containing synthetically generated (by GPT-3.5 and GPT-4) short stories that only use a small vocabulary.

## Attributes

- **Purpose:** Language Modeling
- **Scale:** 1M<n<10M
- **Used for:** arXiv: 2305.07759
- **Time period:** created 2023-05-12; updated 2024-08-12
- **Author type:** unknown

## From the source (fetched 2026-10-03)

- **Repository:** roneneldan/TinyStories (Hugging Face)
- **Created:** May 12, 2023 (Hugging Face)
- **Last updated:** Aug 12, 2024 (Hugging Face)
- **Downloads (last month):** 104,457 (Hugging Face)
- **Likes:** 1,181 (Hugging Face)
- **Size:** 1M to 10M rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** text-generation (Hugging Face)
- **Formats:** parquet (Hugging Face)

## Dataset profile

- **Scale:** Hub/datasets-server parquet 2,141,709 rows (train 2.1M / validation 22.0K / 1 column / 5 parquet). LFS parquet listed ~1.00 GB (train 248.7+248.2+245.9+248.0 MB; val 10.0 MB). Paper training files: TinyStories-train.txt 1.9 GB / TinyStories-valid.txt 19.4 MB. TinyStoriesV2-GPT4-train.txt 2.2 GB / valid 22.5 MB (GPT-4-only; card: significantly larger than the GPT-3.5 mix). TinyStories_all_data.tar.gz 1.6 GB (superset + prompts/metadata). MLP_input_output.npy 819.2 MB is a mech-interp artifact — not extra story n. size_categories 1M<n<10M. usedStorage Unknown (do not sum txt+parquet+tar+npy). Hub overview 1.6M downloads / 1,114 likes at check. gated=false. Paper does not state a single story n in the abstract — catalog Hub 2,141,709 parquet; do not treat 1.9 GB txt bytes as n.
- **Format:** parquet (Hub default; column text). Also TinyStories-train.txt / TinyStories-valid.txt (paper training files), TinyStoriesV2-GPT4-*.txt, TinyStories_all_data.tar.gz, Evaluation prompts.yaml. Single default config.
- **Type:** Synthetic pretrain corpus / short stories (text-only)
- **License:** CDLA-Sharing-1.0 (HF card YAML). Paper HTML not independently checked. GPT-3.5/GPT-4 provider terms still apply to the generated text.
- **Cost:** Free
- **Languages:** English 100% (card language:en). Constrained to words a typical 3–4-year-old would understand (paper). No LID table. Per-language percents N/A.
- **Modality:** Text-only. MLP_input_output.npy is an array artifact, not extra story n.
- **Domain:** synthetic children's stories; small-LM pre-training; grammar/fluency emergence; constrained vocabulary
- **Time period:** Paper arXiv 2305.07759 (Hub publishedAt 2023-05-12T20:56:48Z; April 2023 Microsoft Research). HF createdAt 2023-05-12; lastModified 2024-08-12T13:27:26Z. Discord posted 2025-11-17. Synthetic GPT-3.5/GPT-4 stories; one-shot plus the V2-GPT4 txt add, not a live crawl.
- **Purpose:** Train and evaluate small/simple LMs (paper: <10M params or 1 transformer block) on fluent coherent English without the breadth of The Pile/Common Crawl
- **Used for:** Paper TinyStories-1M/3M/8M/28M/33M/1Layer-21M (roneneldan/*). Hub overview 1.6M downloads / 1,114 likes at check. Paper 47 upvotes / 88 linked models at paper-metadata check. Discord posted the HF URL.
- **Authors:** Eldan and Li (Microsoft Research; arXiv 2305.07759). Stories generated by GPT-3.5 and GPT-4 from vocab-constrained prompts. Not organic children's writing. Card: TinyStoriesV2-GPT4-*.txt is GPT-4-only and larger; original mix includes lesser-quality GPT-3.5.
- **Bias:** Synthetic child-vocab stories with GPT-3.5/GPT-4 priors (preview: Lily/needle sewing; Beep the car). Western first-name / preschool plot mix. Distinct from already-cataloged Cosmopedia (broader synthetic textbooks) and FineWeb (web crawl) — this is the landmark SLM story corpus. g0ster/TinyStories-Korean is a dump sibling, not extra n here. karpathy/tinystories-gpt4-clean (2.73M) is an unofficial clean — do not add.
- **Text quality:** Preview rows 0–1 are fluent 3-paragraph child-vocab stories with consistent plots. Paper: designed for almost-perfect grammar at tiny scale. Residual: GPT-3.5 slice is lesser quality than V2-GPT4 (card); synthetic; not independently re-graded here.
- **Sample size:** Hub parquet train 2.1M / validation 22.0K. datasetsServerInfo 2,141,709. V2-GPT4 txt is a file not a Hub split — not extra parquet n. Evaluation prompts.yaml is eval prompts, not extra stories. No test split.
- **Long context:** No (paper: 2–3 paragraph stories). Exact token histogram Unknown without aggregating.
- **Intermediate steps:** Yes (vocab-constrained prompts → GPT-3.5/GPT-4 story generation; GPT-4 teacher grading paradigm in the paper). Paper models trained on TinyStories-train.txt.
- **Idea quality:** High
- **Novelty:** High (landmark public SLM pretrain corpus vs already-cataloged Cosmopedia / FineWeb; still the dump-channel TinyStories pointer)
- **Text conversion:** Ready parquet; load_dataset('roneneldan/TinyStories', split='train'). Paper recipe uses TinyStories-train.txt. ~1 GB parquet / ~1.9 GB txt — no streaming required. Do not concat parquet + txt as extra n.
- **Collection method:** Download
- **Static:** Unknown (HF lastModified 2024-08-12; one-shot plus V2-GPT4 txt).
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/roneneldan/TinyStories
- Related: https://arxiv.org/abs/2305.07759
- Related: https://huggingface.co/papers/2305.07759
- Related: https://huggingface.co/datasets/roneneldan/TinyStories
- Related: https://huggingface.co/roneneldan/TinyStories-1M

## Research notes

- downloads=80771; likes=1072
- Discord posted this HF pointer (message 1439778960555642921). gated=false; public; CuratorBote listed parquet under data/ plus TinyStories-train.txt 1.9 GB / V2-GPT4-train.txt 2.2 GB / all_data.tar.gz 1.6 GB. Catalog Hub parquet 2,141,709; paper training file is the 1.9 GB txt. Cite Eldan and Li 2023 arXiv 2305.07759. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export. Substituted ahead of Hub-gated nvidia/Nemotron-CC-Math-v1 / HuggingFaceTB/stack-edu; skipped open-web-math/open-web-math (FineMath already cataloged as the stronger successor) and OptimalScale/ClimbLab (already cataloged as Nemotron-ClimbLab).

## Related entries

- Related: [tinystories-korean](https://papers.projxon.ai/entries/132) (dataset, #132)

## Similar entries

- [Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making](https://papers.projxon.ai/entries/1018) (model, #1018)
- [How Depth Growth and Looping Shape In-Context Learning in Language Models](https://papers.projxon.ai/entries/1464) (paper, #1464)
- [Introducing OUI-1: world's first model for Generative UI](https://papers.projxon.ai/entries/703) (post, #703)
- [Reinforcing Recursive Language Models](https://papers.projxon.ai/entries/1100) (post, #1100)
- [Discussion thread on diffusion language models (Sean Welleck)](https://papers.projxon.ai/entries/757) (thread, #757)
- [Learning to Learn a Language](https://papers.projxon.ai/entries/1288) (paper, #1288)
