| Kind | dataset | dataset |
|---|
| Published | 2024 | 2024 |
|---|
| License | ODC-By 1.0 (card). Also subject to Common Crawl Terms of Use. | ODC-By (HF card YAML odc-by). FineWeb-Edu-dedup also subject to Common Crawl Terms of Use. python-edu inherits Stack-v2 / SWH / GitHub licenses (card: refer to the-stack-v2). Mixtral-8x7B-Instruct-v0.1 terms may still apply to Cosmopedia v2 if used to train a distributed model. |
|---|
| License family | Permissive | Permissive |
|---|
| Access | free | Free |
|---|
| Language codes | en | en |
|---|
| Modalities | text | text |
|---|
| Size | 1B to 10B rows | 100M to 1B rows |
|---|
| Downloads (last month) | 419,823 | 51,249 |
|---|
| Likes | 1,312 | 492 |
|---|
| Last updated | 2025-07-11 | 2024-09-06 |
|---|
| Tasks | text-generation | — |
|---|
| Formats | parquet | parquet |
|---|
| Scale | Card: 1.3T gpt2 tokens at educational threshold >=3 (paper: ~92% of FineWeb dropped). v1.3.0 added ~35B tokens on reprocessed 2024 dumps; v1.4.0 added six 2025 dumps (new token total not retabulated on the card). HF default: 1,525.2M documents, 4,522.7 GB parquet (2,410 files). usedStorage 6,190,715,174,200 bytes (~6.19 TB); 3,038 siblings. Samples: sample-10BT 9.7M docs / 28.5 GB; sample-100BT 97.3M / 286.4 GB; sample-350BT 339.3M / 998.1 GB. Companion FineWeb-Edu-score-2 (threshold >=2): 5.4T tokens / usedStorage ~20.06 TB / 14,947 downloads / 89 likes. size_categories n>1T. DOI 10.57967/hf/2497. | Hub 237.0M rows across 3 configs. cosmopedia-v2 train 39,134,000 / 6 columns / 104 parquet / 122.4 GB download / YAML dataset_size 212,503,640,747 bytes (~212.5 GB) / blog 28B tokens. fineweb-edu-dedup train 190,168,005 / 3 columns / 234 parquet / 550.1 GB download / YAML dataset_size 957,570,164,451 bytes (~957.6 GB) / blog 220B tokens. python-edu train 7,678,448 / 6 columns / 2 parquet / 643.9 MB — metadata only (blob_id/repo_name/path/score; no file text on Hub); blog 4B tokens after SWH S3 download. size_categories 100M<n<1B. Mix ~248B public text tokens (28B+220B) plus 4B Python if SWH fetch succeeds. usedStorage Unknown (do not sum overlapping FineWeb-Edu standalone). Hub overview 662.2K downloads / 480 likes at check. gated=false. |
|---|
| Format | parquet (text, id, dump, url, date on later dumps, file_path, language, language_score, token_count, score float64, int_score int64) | parquet in three Hub configs (cosmopedia-v2, fineweb-edu-dedup, python-edu). cosmopedia-v2 columns: prompt, text, token_length, audience, format, seed_data. fineweb-edu-dedup: text, id, metadata. python-edu: blob_id, repo_name, path, length_bytes, score, int_score. |
|---|
| Type | Pretraining corpus / educational-quality-filtered English web crawl | Pretraining mix / synthetic textbooks + educational web + Python-edu metadata |
|---|
| Cost | Free | Free |
|---|
| Languages | English 100% (inherited FineWeb fastText en score >= 0.65). Non-English leftover is FineWeb 2, not this repo. | English 100% (card language:en). FineWeb-Edu-dedup preview language=en / language_score 0.928. Cosmopedia v2 Mixtral English textbooks. python-edu is Python source if fetched. No LID percent table. Per-language percents N/A. |
|---|
| Modality | Text-only | Text-only (English web/textbooks + Python source if downloaded). No images. |
|---|
| Domain | English educational web crawl; general pretraining; Common Crawl HTML filtered for educational quality | SLM pre-training; synthetic textbooks; educational web; educational Python |
|---|
| Time period | Common Crawl dumps Summer 2013–June 2025 (card v1.4.0; same WARC window as FineWeb). Parquet-size share of the 4,522 GB per-dump total: 2013 1.4%; 2014 5.8%; 2015 6.8%; 2016 6.2%; 2017 10.7%; 2018 10.0%; 2019 9.8%; 2020 7.9%; 2021 9.2%; 2022 7.1%; 2023 7.1%; 2024 11.0%; 2025 6.9%. Paper original used FineWeb through April 2024. Per-document crawl date in `date` on later dumps. | Blog 2024-07-16. HF createdAt 2024-07-15; lastModified 2024-09-06 (Hub Updated 6 Sep 2024). Cosmopedia v2 Mixtral generation; FineWeb-Edu from FineWeb CC; python-edu from Stack-v2-train-full-ids. One-shot mix, not a live crawl. |
|---|
| Purpose | Open English LLM pretraining corpus of educational web pages filtered from FineWeb with a Llama3-70B-annotated classifier | Train small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mix |
|---|
| Used for | HuggingFace FineWeb-Edu 1.8B ablation (350B tokens; HuggingFaceFW/ablation-model-fineweb-edu). SmolLM / SmolLM2 via HuggingFaceTB/smollm-corpus FineWeb-Edu subset (card: further dedup of this repo did not change 1.8B/350B ablations). MiniCPM Ultra-FineWeb paper compared against FineWeb-edu. Many later papers_local pretrains (Titans, LT2, GDN-2, OPUS, Q-Sparse, SPS). Hub 397,788 downloads / 1,257 likes at check. | SmolLM 135M/360M (600B tokens from this mix) and SmolLM 1.7B (1T tokens). Hub overview 662.2K downloads / 480 likes at check. Distinct from already-cataloged Cosmopedia (v1) and FineWeb-Edu (full 1.3T). |
|---|
| Authors | Diverse public-web authors across Common Crawl. Hugging Face FineWeb team curated. Educational-score labels from Llama3-70B-Instruct on 500k FineWeb samples; Snowflake-arctic-embed-m regressor applied at scale. Residual AI-generated web text possible; not quantified on the card. | Ben Allal, Lozhkov, Penedo, Wolf, von Werra (Hugging Face TB; blog 2024-07-16). Cosmopedia v2 generated by Mixtral-8x7B-Instruct-v0.1. FineWeb-Edu web authors from Common Crawl. python-edu from GitHub via Stack-v2 / Software Heritage. |
|---|
| Bias | English-only educational web. Classifier prompt targeted grade-school/middle-school knowledge to avoid over-keeping arXiv-style pages; threshold 3 still retains some high-level educational text. Educational/instruction/textbook-like pages overweighted vs raw FineWeb. URL NSFW/malware blocklist still leaves toxic/harmful pages. No Wikipedia-likeness or toxicity classifiers (same dialect/identity rationale as FineWeb). Code and site-specific curated sources underrepresented. | Educational-web + Mixtral synthetic textbooks (BISAC 34k topics; blog 40% middle-school / 30% college / 30% mix+stories) + high-score Python. FineWeb-Edu-dedup is a 220B-token subset of already-cataloged FineWeb-Edu — not extra FineWeb-Edu n. Cosmopedia v2 is the Mixtral successor of already-cataloged Cosmopedia v1 — do not concat v1 as extra n. python-edu needs gated Stack v2 / SWH (same caveat as skipped HuggingFaceTB/python-edu and stack-edu). |
|---|
| Text quality | Llama3-70B 0–5 educational scores distilled into a Snowflake-arctic-embed-m regressor (binary F1 82% at threshold 3). 1.8B/350B ablations beat FineWeb and other open web mixes on MMLU/ARC/OpenBookQA; threshold >3 helps knowledge benches but hurts HellaSwag/PIQA. Residual FineWeb boilerplate/toxicity remains. Classifier inference over original FineWeb 15T took ~6k H100 GPU hours. | cosmopedia-v2 preview rows 0–1 are fluent college-audience textbooks (Ruangguru distance-learning / induction pan-searing) seeded from FineWeb, token_length 805 and 793. fineweb-edu-dedup preview is an AACAP 2011 parent-help fact sheet (edu score 3.375 / 755 tok / CC-MAIN-2013-20). python-edu preview is metadata only (blob_id, Fib_circle.py, score 3.84 → int_score 4). Residual: Mixtral synthetic; CC boilerplate; python-edu text not on Hub. |
|---|
| Sample size | default = all dumps (1,525.2M). One train config per CC-MAIN dump (110 dumps). Nested random samples sample-10BT / sample-100BT / sample-350BT (10BT sampled from 100BT from 350BT). FineWeb-Edu-score-2 is a separate looser-threshold repo, not a config here. | Three Hub configs, not one concat: cosmopedia-v2 39,134,000; fineweb-edu-dedup 190,168,005; python-edu 7,678,448 metadata. No val/test. Do not add HuggingFaceTB/python-edu standalone (annotations-only) or HuggingFaceTB/cosmopedia v1 as extra n. |
|---|
| Long context | Mixed (full web documents; typical pages short-to-medium, some long). Ablations used seq 2048. | Mixed (Cosmopedia v2 textbooks; FineWeb-Edu pages, preview 755 tok). Exact token histogram Unknown; blog 28B/220B/4B. |
|---|
| Intermediate steps | Yes (FineWeb URL+trafilatura+LID+Gopher/C4/custom filters+per-dump MinHash, then Llama3-70B annotation of 500k samples, arctic-embed-m regression, keep int_score >= 3). Classifier training/inference: github.com/huggingface/cosmopedia/tree/main/classification. FineWeb pipeline: github.com/huggingface/datatrove/blob/main/examples/fineweb.py | Yes (BISAC topics + FineWeb retrieval → Mixtral Cosmopedia v2; FineWeb-Edu classifier + dedup 220B; Llama3-annotated Python-edu scorer ≥4 on Stack-v2-train). Blog huggingface.co/blog/smollm. |
|---|
| Idea quality | High | High |
|---|
| Novelty | High | High (public SmolLM mix; Cosmopedia v2 39M is not already-cataloged Cosmopedia v1) |
|---|
| Text conversion | Ready parquet; HF streaming / datatrove ParquetReader recommended. Full dump is several TB. | Ready parquet for cosmopedia-v2 and fineweb-edu-dedup; streaming required (~672 GB download those two). python-edu requires boto3 S3 fetch from softwareheritage (card: ~6h on 16-core us-east-1); do not treat 7.7M metadata rows as text tokens. load_dataset('HuggingFaceTB/smollm-corpus', 'cosmopedia-v2', split='train'). Do not concat with already-cataloged Cosmopedia / FineWeb-Edu as extra n. |
|---|
| Collection method | Download | Download |
|---|
| Static | Unknown (HF lastModified 2025-07-11; v1.4.0 added six 2025 dumps; card plans a better educational classifier) | Unknown (HF lastModified 2024-09-06; one-shot). |
|---|
| Processed | Unknown | Unknown |
|---|
| Summary | Ungated Hugging Face FineWeb-Edu educational subset of FineWeb (same paper arXiv 2406.17557). Hub/datasets-server ~3.497B rows across default+per-dump configs / parquet ~10.36 TB / usedStorage ~6.19 TB. Card ~1.3T gpt2 tokens at educational threshold >=3 (FineWeb-Edu-score-2 is the separate 5.4T threshold-2 sibling). ODC-By 1.0 + Common Crawl ToU. Already deep-eval'd in datasets_local. | Train small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mix |
|---|