# FineWeb 2

- **ID:** 25
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/HuggingFaceFW/fineweb-2
- **Authors:** Guilherme Penedo, Hynek Kydlícek, Loubna Ben Allal, Anton Lozhkov, Margaret Mitchell, Colin Raffel, Leandro Von Werra, Thomas Wolf
- **Venue:** Hugging Face (FineData / HuggingFaceFW)
- **Published:** 2024
- **Source:** huggingface
- **Language:** 1000+ languages (1870 language subsets including Arabic, Bengali, Chinese, French, German, Spanish, and many low-resource languages)
- **Access:** free
- **License:** ODC-By v1.0 (Open Data Commons Attribution); also subject to CommonCrawl Terms of Use
- **License family:** Permissive (auto-classified)
- **Topics:** Web Text / Multilingual
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/25

## Summary

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).

## Attributes

- **Purpose:** A multilingual extension of FineWeb providing high-quality cleaned web text across thousands of languages for multilingual LLM pretraining, with special attention to low-resource languages.
- **Scale:** Billions of rows across 1870 language subsets (e.g., 636M rows for Mandarin, 496M for German, 360M for French)
- **Used for:** Multilingual LLM pretraining; low-resource language modeling; cross-lingual transfer research
- **Time period:** Web data crawled 2013-2025
- **Author type:** human

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

- **Repository:** HuggingFaceFW/fineweb-2 (Hugging Face)
- **Created:** Dec 5, 2024 (Hugging Face)
- **Last updated:** Oct 27, 2025 (Hugging Face)
- **Downloads (last month):** 102,006 (Hugging Face)
- **Likes:** 893 (Hugging Face)
- **Size:** 1B to 10B rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** text-generation (Hugging Face)

## Dataset profile

- **Scale:** 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.
- **Format:** parquet per language-script (text, id, dump, url, date, file_path, language, language_script, language_score, top_langs, minhash_cluster_size, wordlist_ratio)
- **Type:** Pretraining corpus / cleaned multilingual web crawl
- **License:** ODC-By 1.0 (card). Also subject to Common Crawl Terms of Use.
- **Cost:** Free
- **Languages:** 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.
- **Modality:** Text-only
- **Domain:** Non-English multilingual web crawl; general pretraining; Common Crawl HTML
- **Time period:** 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`.
- **Purpose:** Massively multilingual LLM pretraining; language-adaptive FineWeb pipeline (GlotLID, per-language filters/dedup, rehydration) covering 1000+ languages
- **Used for:** 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).
- **Authors:** Diverse public-web authors in each language. Hugging Face + EPFL FineWeb2 team curated. Residual AI-generated web text possible; not quantified.
- **Bias:** 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 quality:** 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 size:** 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 context:** Mixed (full web documents; length varies by language). Ablations used seq 2048.
- **Intermediate steps:** Yes (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 quality:** High
- **Novelty:** High
- **Text conversion:** Ready parquet; load_dataset by language-script config (e.g. por_Latn); streaming recommended. load_dataset does not serve `_removed` or `und_` splits.
- **Collection method:** Download
- **Static:** Unknown (HF lastModified 2025-10-27; v2.1.1 added han_Latn/nan_Latn; crawl window still ends April 2024)
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/HuggingFaceFW/fineweb-2
- Related: https://arxiv.org/abs/2506.20920
- Related: https://huggingface.co/datasets/HuggingFaceFW/fineweb-2
- Related: https://github.com/huggingface/fineweb-2
- Related: https://huggingface.co/spaces/HuggingFaceFW/blogpost-fine-tasks
- Related: https://huggingface.co/papers/2506.20920

## Research notes

- arXiv:2506.20920. DOI:10.57967/hf/3744. Successor to FineWeb. Many subsets have very few rows (e.g., some languages have <100 rows).
- Do not train on the per-language test splits. Rehydration weights live at github.com/huggingface/fineweb-2/tree/main/misc/rehydration. FineWeb-2-HQ is a later quality-filtered derivative used by Apertus, not this repo. Discord posted the HF pointer (message used the FineWeb2 spelling).

## Related entries

- Related: [FineTranslations](https://papers.projxon.ai/entries/205) (dataset, #205)

## Similar entries

- [How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text](https://papers.projxon.ai/entries/835) (paper, #835)
- [FineWeb-Edu](https://papers.projxon.ai/entries/1088) (dataset, #1088)
- [SlopShape: Identifying AI-Generated Commercial Web Content](https://papers.projxon.ai/entries/1059) (paper, #1059)
- [FineWeb](https://papers.projxon.ai/entries/23) (dataset, #23)
- [OpenCoder FineWeb Math Corpus](https://papers.projxon.ai/entries/1152) (dataset, #1152)
- [Open Markdown](https://papers.projxon.ai/entries/263) (dataset, #263)
