← Datasets

Compare

FineWeb-Edu
#1088 · remove
FineWeb 2
#25 · remove
Kinddatasetdataset
Published20242024
LicenseODC-By 1.0 (card). Also subject to Common Crawl Terms of Use.ODC-By v1.0 (Open Data Commons Attribution); also subject to CommonCrawl Terms of Use
License familyPermissivePermissive
Accessfreefree
Language codesenaai, aak, aau, aaz, aba, abi, abk, abn, abq, abs, abt, abx, aby, abz, aca, acd, ace, acf, ach, acm, acn, acr, acu, ada, ade, adh, adi, adj, adl, ady, adz, aeb, aer, aeu, aey, afr, agd, agg, agm, agn, agr, agt, agu, agw, agx, aha, ahk, aia, aii, aim, ain, ajg, aji, ajz, akb, ake, akh, akp, alj, aln, alp, alq, als, alt, aly, alz, ame, amf, amh, ami, amk, amm, amn, amp, amr, amu, amx, ang, anm, ann, multilingual
Modalitiestexttext
Size1B to 10B rows1B to 10B rows
Downloads (last month)419,823102,006
Likes1,312893
Last updated2025-07-112025-10-27
Taskstext-generationtext-generation
Formatsparquet—
ScaleCard: 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.Filtered set: 3.339T words, 5.019B documents, 20.78 TB UTF-8 / 8.58 TB on disk. Paper: ~20 TB / 5B documents / 1000+ languages. Token count not reported (tokenizer- and script-dependent; ablations used Gemma ~250k vocab). size_categories n>1T. HF 81,776 downloads / 858 likes at check. DOI 10.57967/hf/3744.
Formatparquet (text, id, dump, url, date on later dumps, file_path, language, language_score, token_count, score float64, int_score int64)parquet per language-script (text, id, dump, url, date, file_path, language, language_script, language_score, top_langs, minhash_cluster_size, wordlist_ratio)
TypePretraining corpus / educational-quality-filtered English web crawlPretraining corpus / cleaned multilingual web crawl
CostFreeFree
LanguagesEnglish 100% (inherited FineWeb fastText en score >= 0.65). Non-English leftover is FineWeb 2, not this repo.English 0% (explicitly excluded; complement with FineWeb). 1,868 language-script pairs; 474 with >1k docs; 203 with >10k. Word share of 3.339T words: rus_Cyrl 17.6%; cmn_Hani 16.3%; jpn_Jpan 9.9%; deu_Latn 7.9%; spa_Latn 7.8%; fra_Latn 6.6%; ita_Latn 4.2%; por_Latn 3.3%; nld_Latn 2.2%; pol_Latn 2.2%; remaining ~1,858 pairs 22.0%. Discord 2025-03 note (1,893 langs; 486 >1MB; 80 >1GB) is an earlier card figure.
ModalityText-onlyText-only
DomainEnglish educational web crawl; general pretraining; Common Crawl HTML filtered for educational qualityNon-English multilingual web crawl; general pretraining; Common Crawl HTML
Time periodCommon 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.96 Common Crawl dumps, Summer 2013–April 2024 (same WARC window as original FineWeb; English-score <0.65 leftover). Card v2.1.1 2025-10-27; paper 2025-06-26. Per-document crawl date in `date`.
PurposeOpen English LLM pretraining corpus of educational web pages filtered from FineWeb with a Llama3-70B-annotated classifierMassively multilingual LLM pretraining; language-adaptive FineWeb pipeline (GlotLID, per-language filters/dedup, rehydration) covering 1000+ languages
Used forHuggingFace 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.HuggingFace FineWeb2 1.45B per-language ablation models (Gemma tokenizer, ~30B tokens); Apertus 8B/70B (FineWeb-2 + FineWeb-2-HQ; ~15T tokens / 1811 langs). Hub lists hundreds of models trained on this dataset (81,776 downloads / 858 likes at check).
AuthorsDiverse 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.Diverse public-web authors in each language. Hugging Face + EPFL FineWeb2 team curated. Residual AI-generated web text possible; not quantified.
BiasEnglish-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.High-resource languages dominate (Russian+Mandarin ~34% of words). GlotLID confuses closely related langs/dialects. URL NSFW filter still leaves toxic web text. Poetry hit by punctuation-style filters. No Wikipedia-likeness or toxicity classifiers (same dialect/identity rationale as FineWeb). Many low-resource labels have noisy LID.
Text qualityLlama3-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.Trafilatura + GlotLID + per-language MinHash + adapted FineWeb/Gopher filters (C4 filters dropped; paragraph-repetition disabled). Rehydration via minhash_cluster_size recommended; without it, reported ablation gains may not hold. Outperformed CC-100, mC4, CulturaX, HPLT on 9 canary languages; Chinese-specific corpora (TigerBot, MAP-CC) still win on Chinese.
Sample sizedefault = 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.One train (+ small test) config per language-script; plus `_removed` (filter rejects after dedup) and `und_*` (unsupported script / unknown language, no dedup/filter). No official 10BT-style global sample. Top 80 languages tabulated on the card; full list on GitHub fineweb2-language-distribution.csv.
Long contextMixed (full web documents; typical pages short-to-medium, some long). Ablations used seq 2048.Mixed (full web documents; length varies by language). Ablations used seq 2048.
Intermediate stepsYes (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.pyYes (FineWeb URL+trafilatura leftover, GlotLID with per-lang confidence thresholds, global per-language MinHash, language-tuned filters/stopwords, email/IP PII, FTFY encoding fix). Pipeline: github.com/huggingface/fineweb-2. `_removed` and `und_*` subsets also released.
Idea qualityHighHigh
NoveltyHighHigh
Text conversionReady parquet; HF streaming / datatrove ParquetReader recommended. Full dump is several TB.Ready parquet; load_dataset by language-script config (e.g. por_Latn); streaming recommended. load_dataset does not serve `_removed` or `und_` splits.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2025-07-11; v1.4.0 added six 2025 dumps; card plans a better educational classifier)Unknown (HF lastModified 2025-10-27; v2.1.1 added han_Latn/nan_Latn; crawl window still ends April 2024)
ProcessedUnknownUnknown
SummaryUngated 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.FineWeb 2 is a multilingual web text dataset extending the FineWeb methodology to over 1000 languages (1870 subsets), derived from CommonCrawl data and processed with the same datatrove-based pipeline as the original FineWeb. It provides cleaned, deduplicated text for languages ranging from major ones (Arabic, Chinese, French, German) to extremely low-resource languages, making it the largest publicly available multilingual clean web pretraining corpus. Published with an associated paper (arXiv:2506.20920).