← Datasets

Compare

cosmopedia
#313 · remove
HuggingFaceFW/finephrase
#253 · remove
Opus-4.6-Reasoning-3000x-filtered
#227 · remove
Kinddatasetdatasetdataset
Published202420262026
Licenseapache-2.0odc-byapache-2.0
License familyPermissivePermissivePermissive
Accessfreefreefree
Language codesenen—
Modalitiestexttabular, texttext
Size10M to 100M rows1B to 10B rows1K to 10K rows
Downloads (last month)22,412129,328342
Likes755148649
Last updated2024-08-122026-03-312026-03-31
Tasks—text-generation—
Formatsparquet—json
ScaleYAML: 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.339,347,842 source documents; 1,354,044,711 output samples; 486,367,076,933 completion tokens; 27,104 Zstd-compressed JSONL files; ~2.6 TBnohurry Hub ~2321 rows / 8 cols; parquet ~4.0 MB; jsonl ~7.5 MB. Downloads ~26.5K / likes 645. Crownelius cleaned reports 2160/3305.
Formatparquet per config (prompt, text_token_length, text, seed_data, format, audience). Eight configs under data/{split}/train-*.JSONL (Zstd-compressed), four configs (FAQ, math, tables, tutorials)jsonl + viewer parquet. Columns: id, problem, thinking, solution, difficulty, category, timestamp, hash
TypePretraining corpus / synthetic textbooks and web-seeded generationsdatasetReasoning distill (problem / thinking / solution)
CostFreeFreeFree
LanguagesEnglish 100% (card language:en; Mixtral generations). Seed web was English-like RefinedWeb-style; educational seeds (Stanford/OpenStax/KhanAcademy) are English courses.enEnglish math problems (preview).
ModalityText-only—Text only
Domainsynthetic textbooks/blogposts/stories/WikiHow; English pretraining; web-topic coverage via MixtralPretraining data (synthetic)reasoning distillation; Claude Opus 4.6; math CoT
Time periodHF 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.—nohurry created 2026-02-10 / updated 2026-03-31. Discord 2026-03-04. Crownelius cleaned 3300x created 2026-02-12.
PurposeLargest open synthetic pretraining set at release (~30M files / ~25B tokens) mapping RefinedWeb/RedPajama world knowledge into cleaner textbook-like textPretraining and studying synthetic-data scalingRemove refusals from Crownelius Opus 4.6 reasoning traces for cleaner student SFT.
Used forCosmo-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.—Reasoning SFT; compare with Crownelius cleaned 3300x (preferred upstream per nohurry card notice).
AuthorsAll 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.HuggingFaceFWFilter: nohurry. Upstream: Crownelius. Teacher: Claude Opus 4.6 (~$409 OpenRouter on cleaned card).
BiasSynthetic 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.—Synthetic Claude math/reason style; filter removes refusal/incomplete. Sample still math-word-problem heavy.
Text qualityPrompted 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.—Preview has structured thinking + markdown solution. Card itself says prefer updated original filtering.
Sample sizeConfigs (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).—train ~2321 (nohurry); Crownelius cleaned 2160 from 3305.
Long contextMixed (synthetic articles; text_token_length is Mistral-7B tokens, sample rows ~500–600 tokens; textbooks can be longer than stories). Not book-length documents.—Yes (long thinking traces)
Intermediate stepsYes (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—Yes (thinking column)
Idea qualityHigh—Medium-High (useful cleaned Opus 4.6 cut; thin docs)
NoveltyHigh (first 25B-token open synthetic textbook mix at v0.1; Phi-1.5-style at web scale)—Low (filter fork of Crownelius pack)
Text conversionReady parquet; load_dataset('HuggingFaceTB/cosmopedia', '<config>'). Full download ~92.2 GB. Smaller Cosmopedia-100k subset exists.—High (ungated)
Collection methodDownload—Download
StaticUnknown (HF lastModified 2024-08-12; this repo is v0.1. Cosmopedia v0.2 lives in HuggingFaceTB/smollm-corpus, already noted on other catalog rows)—Mostly (nohurry lastModified 2026-03-31; prefer Crownelius for newer clean)
ProcessedUnknown—Yes (refusal filter)
SummaryNote: 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.Synthetic data generated by [DataTrove](https://github.com/huggingface/datatrove):> [!WARNING] NOTICE: The original dataset has been updated with better filtering. Please use the original dataset, not this one.