| Kind | dataset | dataset | dataset |
|---|
| Published | — | 2025 | 2024 |
|---|
| License | Public domain (individual works); IDI Terms of Use for Early-Access (nonprofit/educational/research use) | apache-2.0 | apache-2.0 |
|---|
| License family | Permissive | Permissive | Permissive |
|---|
| Access | restricted | free | free |
|---|
| Language codes | cs, cy, is, multilingual | en | en |
|---|
| Modalities | — | text | text |
|---|
| Size | — | 1M to 10M rows | 10M to 100M rows |
|---|
| Downloads (last month) | — | 13,809 | 22,412 |
|---|
| Likes | — | 190 | 755 |
|---|
| Last updated | — | 2025-04-18 | 2024-08-12 |
|---|
| Tasks | — | text-generation | — |
|---|
| Formats | — | parquet | parquet |
|---|
| Scale | 220B across all languages | 1,791,700 parquet rows measured; ~581 MB Hub storage | YAML: 31,064,744 samples across 8 configs. Card: >30M files / 25B tokens (Mistral-7B tokenizer on the text column). Parquet download_size 92,200,777,603 bytes (~92.2 GB / 85.9 GiB); uncompressed dataset_size ~165.9 GB (154.5 GiB); 336 parquet files. size_categories 10M<n<100M. Hub 577.2K downloads / 740 likes at check. Gated=false. |
|---|
| Format | — | Single parquet data/dapo-math-17k.parquet; cols data_source, prompt, ability, reward_model, extra_info | parquet per config (prompt, text_token_length, text, seed_data, format, audience). Eight configs under data/{split}/train-*. |
|---|
| Type | Raw Text | verifiable math RL prompts | Pretraining corpus / synthetic textbooks and web-seeded generations |
|---|
| Cost | — | Free; ~0.6 GB | Free |
|---|
| Languages | 230 languages; most English, German, and French | English problem statements | English 100% (card language:en; Mixtral generations). Seed web was English-like RefinedWeb-style; educational seeds (Stanford/OpenStax/KhanAcademy) are English courses. |
|---|
| Modality | — | Text | Text-only |
|---|
| Domain | Diverse Books | math LLM RL with verifiable rewards | synthetic textbooks/blogposts/stories/WikiHow; English pretraining; web-topic coverage via Mixtral |
|---|
| Time period | 1800s ~ 1900s | Hub Mar–Apr 2025; arXiv 2503.14476; Discord 2026-04-06 | HF createdAt 2024-02-18; lastModified 2024-08-12. Mixtral-8x7B-Instruct-v0.1 generations (2023–2024). Seed web similar to RefinedWeb; Stanford/OpenStax/KhanAcademy course outlines scraped; AutoMathText and UltraChat/OpenHermes-2.5 seeds. Phi-1.5 inspiration arXiv 2309.05463 (2023-09). Discord posted 2026-04-06. |
|---|
| Purpose | General Writing + Subjects found in said books | Provide math prompts + rule ground truth for DAPO-scale RL training | Largest open synthetic pretraining set at release (~30M files / ~25B tokens) mapping RefinedWeb/RedPajama world knowledge into cleaner textbook-like text |
|---|
| Used for | Unknown | RLVR/GRPO/DAPO; math reasoning post-training | Cosmo-1B (HuggingFaceTB/cosmopedian-1b). SmolLM / SmolLM2 use Cosmopedia v0.2 inside HuggingFaceTB/smollm-corpus, not this v0.1 repo. Hub 577.2K downloads / 740 likes at check. Discord posted the HF pointer. |
|---|
| Authors | Diverse human authors | BytedTsinghua-SIA / DAPO authors (Yu et al.) | All text generated by Mixtral-8x7B-Instruct-v0.1. Seed authors: anonymous web pages (clustered internal crawl), Stanford/OpenStax/KhanAcademy course pages, AutoMathText, UltraChat world-questions, OpenHermes-2.5, scraped WikiHow titles. HuggingFaceTB (Ben Allal, Lozhkov, Penedo, Wolf, von Werra) curated prompts/clusters. |
|---|
| Bias | Unknown | Math competition-style problems; reward_model style rule-lighteval/MATH_v2 | Synthetic Mixtral style can be uniform (iterated prompts to cut 'Once upon a time' / boilerplate intros). Web splits (~73.3% of rows) inherit cluster topics after dropping 35/145 clusters (adult and very-uneducational). Educational seeds overweight US university/Khan/OpenStax syllabi. Audience/format mix (grade-school through researchers; textbook vs blog vs story) is the main diversity lever. Residual Phi-style textbook tone. |
|---|
| Text quality | High | Structured chat prompts; sampled rows look well-formed MATH instructions | Prompted Mixtral textbooks/stories/posts; <1% MinHash duplicates after varying format+audience on the same seed. Decontaminated with 10-gram retrieval + difflib (keep if matched_substrings/benchmark_len ≤ 0.5) vs MMLU, HellaSwag, PIQA, SIQA, Winogrande, OpenBookQA, ARC-easy, ARC-challenge (card reports small removal counts per split). v0.1 still has redundant titles/intros on web_samples_v1; v2 prompts asked for depth-over-breadth and no title. Not a web-quality crawl like FineWeb. |
|---|
| Sample size | — | 1,791,700 rows in official parquet (name 17k is misleading vs measured file); processed sibling cataloged separately | Configs (train only): web_samples_v1 12,426,348 (40.0%); web_samples_v2 10,345,867 (33.3%); stories 4,992,964 (16.1%); auto_math_text 1,949,895 (6.3%); stanford 1,020,024 (3.3%); wikihow 179,191; openstax 126,332; khanacademy 24,123. Web v1+v2 = 73.3% of rows. Some seeds repeated under different format/audience (Stanford used 4 styles). |
|---|
| Long context | — | Low–medium (single math problems) | Mixed (synthetic articles; text_token_length is Mistral-7B tokens, sample rows ~500–600 tokens; textbooks can be longer than stories). Not book-length documents. |
|---|
| Intermediate steps | — | No solutions in release (prompt + ground_truth only) | Yes (web topic clustering + Mixtral educational scores; manual drop of 35/145 clusters; seed-conditioned prompts with format+audience; Mixtral generation; MinHash dedup; 10-gram+difflib decontam). Code: github.com/huggingface/cosmopedia |
|---|
| Idea quality | — | High (core open DAPO training resource) | High |
|---|
| Novelty | — | Medium (math RL prompts; system novelty is DAPO algo) | High (first 25B-token open synthetic textbook mix at v0.1; Phi-1.5-style at web scale) |
|---|
| Text conversion | — | Easy parquet | Ready parquet; load_dataset('HuggingFaceTB/cosmopedia', '<config>'). Full download ~92.2 GB. Smaller Cosmopedia-100k subset exists. |
|---|
| Collection method | — | load_dataset or download parquet; open-r1 processed variant for GRPO-ready subset | Download |
|---|
| Static | — | Yes at Hub sha 65877096 | Unknown (HF lastModified 2024-08-12; this repo is v0.1. Cosmopedia v0.2 lives in HuggingFaceTB/smollm-corpus, already noted on other catalog rows) |
|---|
| Processed | — | Minimal card packaging; prompts ready for RL | Unknown |
|---|
| Summary | The Harvard Library Public Domain Corpus is a collection of approximately 1 million digitized public domain books (983,004 volumes, ~242B tokens) originally scanned through Harvard Library's participation in the Google Books project beginning in 2006. The corpus spans 254 languages and 386M pages of text (available in original and post-processed OCR formats), and was refined through collection-level deduplication and OCR post-processing by the Institutional Data Initiative, making it one of the largest lawful book corpora available for LLM training. | license: apache-2.0 task_categories: text-generation language: en tags: math pretty_name: DAPO-Math-17k size_categories: 1M<n<10M | Note: Cosmopedia v0.2 is available at [smollm-corpus](https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus)** ``` User: What do you think "Cosmopedia" could mean? Hint: in our case it's not related to cosmology. |
|---|