← Datasets

Compare

FinePDFs
#65 · remove
FineWeb 2
#25 · remove
FineWeb
#23 · remove
Kinddatasetdatasetdataset
Published202520242024
LicenseODC-BY (Open Data Commons Attribution License)ODC-By v1.0 (Open Data Commons Attribution); also subject to CommonCrawl Terms of UseODC-By v1.0 (Open Data Commons Attribution); also subject to CommonCrawl Terms of Use
License familyPermissivePermissivePermissive
Accessfreefreefree
Language codesaai, 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, multilingualaai, 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, multilingualen
Modalitiestabular, texttexttext
Size100M to 1B rows1B to 10B rows10B to 100B rows
Downloads (last month)55,652102,006301,935
Likes9468933,579
Last updated2026-04-032025-10-272025-07-11
Taskstext-generationtext-generationtext-generation
Formatsparquet——
ScaleCard table: 475,019,140 documents; 2,918.79B tokens (~2.92T; marketing copy ~3T); 3.65 TB on disk. size_categories n>1T (tokens; Hub tag also 100M<n<1B for docs). eng_Latn 206.9M docs / 1.19T tokens. HF gated=false. Tokenizer on the card is inconsistent (Data Fields: gpt2; Annotations: Llama-3.2) — table counts are card-reported, not independently retokenized.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.Card dump table: 18,527B gpt2 tokens (~18.5T; originally 15T in the NeurIPS 2024 paper) and 50,446.9 GB (~50.4 TB) on disk. size_categories n>1T. Samples: sample-10BT ~10B gpt2 / 27.6 GB; sample-100BT ~100B / 277.4 GB; sample-350BT ~350B / 388 GB. HF 424,171 downloads / 3,188 likes at check. DOI 10.57967/hf/2493.
Formatparquet per language-script (text, id, dump, url, date, file_path, offset, language, per_page_languages, page_average_lid[_score], full_doc_lid[_score], is_truncated, processor, page_ends, token_count). v1.5.0 adds DCLM/EDU/EDU-V2/OCR-QUALITY labels.parquet per language-script (text, id, dump, url, date, file_path, language, language_script, language_score, top_langs, minhash_cluster_size, wordlist_ratio)parquet (text, id, dump, url, date, file_path, language, language_score, token_count)
TypePretraining corpus / cleaned multilingual PDF crawlPretraining corpus / cleaned multilingual web crawlPretraining corpus / cleaned English web crawl
CostFreeFreeFree
Languages1,733 language-script pairs (GlotLID, page-averaged). 978 with >1M tokens; 66 with >1B. Card table (2,918.79B tokens): eng_Latn 40.8% (1,190.65B / 206.9M docs / 1.71 TB); spa_Latn 7.4% (217.1B); deu_Latn 6.1% (177.6B); fra_Latn 5.7% (165.3B); rus_Cyrl 5.0% (146.7B); jpn_Jpan 4.0% (116.3B); remaining ~30.9% including unknown 47.72B (1.6%). Default config eng_Latn. Code-switching inside documents is common (legal dual-language, academic abstracts).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.English 100% (fastText en score >= 0.65). Non-English WARC text was the starting point for FineWeb 2.
ModalityText extracted from PDFs (tables included where parsed). Original PDFs not shipped; images used only in the OCR path.Text-onlyText-only
DomainPDF web crawl; legal/educational/scientific/technical documents; multilingual pretrainingNon-English multilingual web crawl; general pretraining; Common Crawl HTMLEnglish web crawl; general pretraining; Common Crawl HTML
Time periodCommon Crawl PDFs summer 2013–February 2025 (card: CC-MAIN-2013-20 to CC-MAIN-2025-08; intro 105 snapshots / Dataset Summary 106 dumps). Per-doc crawl date in `date`. HF createdAt 2025-09-05; v1.0.0 2025-09-07; v1.5.0 2025-11-11 (classifier labels). lastModified 2026-04-03. Discord posted 2025-09-08.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`.Common Crawl dumps Summer 2013–June 2025 (card v1.4.0). gpt2-token share by crawl year from the dump table (18,527B listed total; year rows sum ~18,306B): 2013 1.6%; 2014 6.1%; 2015 7.0%; 2016 6.4%; 2017 11.6%; 2018 10.8%; 2019 9.9%; 2020 7.8%; 2021 9.1%; 2022 6.9%; 2023 6.5%; 2024 9.3%; 2025 5.7%. Paper original release used 96 dumps through April 2024.
PurposeLargest public PDF-only LLM pretraining corpus; complement HTML FineWeb-family dumps (recommended <25% of a mix)Massively multilingual LLM pretraining; language-adaptive FineWeb pipeline (GlotLID, per-language filters/dedup, rehydration) covering 1000+ languagesOpen English LLM pretraining corpus; documented ablation of extraction, per-dump MinHash, and heuristic filters vs RefinedWeb/C4/Dolma/The Pile
Used forHuggingFace 1.67B ablation models (~36B Llama-3.2 tokens). Card: nearly on par with SmolLM3-Web; mix with HTML yields a large gain. FinePDFs-Edu is a separate 350B+ educational filter. Hub 45,342 downloads / 913 likes at check. 0 gated.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).HuggingFace FineWeb 1.8B ablation models; SmolLM and SmolLM2 (via FineWeb-Edu in SmolLM-Corpus); Apertus 8B/70B (with FineWeb-2); many Hub models (424k downloads / 3,188 likes at check). Discord also cited Tiny-LLM + many more.
AuthorsPublic-web PDF publishers (governments, universities, courts, firms). Hugging Face FineWeb team (Kydlíček / Penedo / von Werra) curated. Residual LLM-OCR (RolmOCR) can imprint model style on scanned pages.Diverse public-web authors in each language. Hugging Face + EPFL FineWeb2 team curated. Residual AI-generated web text possible; not quantified.Diverse public-web authors across Common Crawl. Hugging Face FineWeb team curated. Residual AI-generated web text possible; not quantified on the card.
BiasEnglish ~41% of tokens; high-resource European langs next. Legal/educational PDFs over-index vs HTML FineWeb. No NSFW classifier (authors judged PDFs rarely carry that content). No Wikipedia-likeness or toxicity ML filters (same dialect/identity rationale as FineWeb). Truncated-CC PDFs were refetched; remaining truncated docs always went through RolmOCR. unknown LID 17.1M docs.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.English-only public web; URL blocklist for NSFW/malware but toxic/harmful pages remain. Authors avoided Wikipedia-likeness and toxicity classifiers because those disproportionately drop dialects and identity-related text. Code and site-specific curated sources (Wikipedia formatting) are underrepresented vs general web.
Text qualityDual extractors: Docling (digital-born, CPU, quantized Layout Heron) vs RolmOCR (scanned/truncated, GPU). Exact + per-language MinHash dedup; English-only model filter for ads/spam before MinHash; email/IP PII rewrite. Longer than HTML dumps (blog: median ~5.3k chars, ~2× other corpora; 95th ~68k; many >100k chars). Residual: broken PDF reading order, missing image-text, table misalignment (Docling); OCR hallucination/misspellings especially in low-resource langs (RolmOCR); missing pages when extractors failed.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.Trafilatura WARC extraction + Gopher/C4/FineWeb heuristics + per-dump MinHash; ablation 1.8B models beat RefinedWeb, C4, Dolma-v1.6-CC, The Pile, SlimPajama, RedPajama2 on the card aggregate. Still web-boilerplate residual. Educational subset is FineWeb-Edu (1.3T gpt2), not this repo.
Sample sizeOne train (+ small test on most langs) config per language-script; default eng_Latn. Do not train on test splits. No global sample config. FinePDFs-Edu is a separate 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.default = all dumps; one config per CC-MAIN dump; sample-10BT / sample-100BT / sample-350BT nested random samples. Recent dumps recommended for <550B-token trainings (CC-MAIN-2023-50, 2024-10, 2024-18).
Long contextYes (PDFs much longer than HTML pages; card flags value for long-context training; 95th ~68k chars, tail >100k).Mixed (full web documents; length varies by language). Ablations used seq 2048.Mixed (full web documents; typical pages short-to-medium, some long). Ablations used seq 2048.
Intermediate stepsYes (datatrove: PDF+truncation ID, refetch truncated PDFs, XGBoost OCR-router on 1,350 annotated PDFs, Docling vs RolmOCR, boilerplate/FTFY, GlotLID per page, exact dedup, eng_Latn model filter, per-language MinHash, PII). Code: github.com/huggingface/finepdfs.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.Yes (URL filter, trafilatura, fastText LID, Gopher repetition/quality, C4 filters minus terminal_punct, FineWeb custom filters, per-dump MinHash 5-grams 14x8, email/IP PII rewrite). Pipeline: github.com/huggingface/datatrove/blob/main/examples/fineweb.py
Idea qualityHighHighHigh
NoveltyHigh (first public ~3T PDF-only pretrain dump; complementary to FineWeb HTML)HighHigh
Text conversionReady parquet; load_dataset by language-script (e.g. eng_Latn) with streaming. datatrove ParquetReader recommended. No official 10BT-style sample. Full dump is multi-TB.Ready parquet; load_dataset by language-script config (e.g. por_Latn); streaming recommended. load_dataset does not serve `_removed` or `und_` splits.Ready parquet; HF streaming / datatrove ParquetReader recommended. Full dump is tens of TB.
Collection methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2026-04-03; v1.5.0 2025-11-11 added labels; crawl window still ends Feb 2025)Unknown (HF lastModified 2025-10-27; v2.1.1 added han_Latn/nan_Latn; crawl window still ends April 2024)Unknown (HF lastModified 2025-07-11; v1.4.0 added six 2025 dumps; card plans further CC updates)
ProcessedUnknownUnknownUnknown
SummaryFinePDFs is the largest publicly available LLM pretraining corpus sourced exclusively from PDF documents, containing approximately 3 trillion tokens across 475 million documents in 1733 languages. The data was sourced from 105 CommonCrawl snapshots spanning summer 2013 to February 2025, refetched from the internet, and processed using the datatrove library with careful deduplication, OCR, and filtering. The dataset (3.65 TB) includes a companion FinePDFs-EDU variant with educational content filtering. When mixed with FW-Edu+DCLM, FinePDFs outperforms even Nemotron-CC v2 in pretraining ablations. The processing pipeline and code are available on GitHub at huggingface/finepdfs.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).FineWeb is a 15-trillion-token (now 18.5T+) dataset of cleaned and deduplicated English web text derived from 96 CommonCrawl snapshots spanning summer 2013 to April 2024. Created by Hugging Face using the datatrove library, its processing pipeline includes URL filtering, Trafilatura text extraction, language filtering, MassiveText quality filters, C4 filters, custom FineWeb filters, MinHash deduplication, and PII reformatting, producing better-performing LLMs than other open pretraining datasets. Published at NeurIPS 2024, it also includes FineWeb-Edu (1.3T tokens of educational content) as a companion dataset.