FineWeb
Summary
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.
- Venue
- Hugging Face (FineData / HuggingFaceFW)
- Source
- huggingface
- Access
- free
- License
- ODC-By v1.0 (Open Data Commons Attribution); also subject to CommonCrawl Terms of Use
- License family
- Permissive
- Language
- en
- Hugging Face
- HuggingFaceFW/fineweb
- Author type
- human
- Added
- Jul 17, 2026
- Verified
- Jul 17, 2026
- Research status
- done
From the source
- Repository
- HuggingFaceFW/fineweb
- Created
- Apr 18, 2024
- Last updated
- Jul 11, 2025
- Downloads (last month)
- 301,935
- Likes
- 3,579
- Size
- 10B to 100B rows
- Modalities
- text
- Tasks
- text-generation
Topics
Web Text / General
Dataset profile
- Scale
- 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.
- Format
- parquet (text, id, dump, url, date, file_path, language, language_score, token_count)
- Type
- Pretraining corpus / cleaned English web crawl
- License
- ODC-By 1.0 (card). Also subject to Common Crawl Terms of Use.
- Cost
- Free
- Languages
- English 100% (fastText en score >= 0.65). Non-English WARC text was the starting point for FineWeb 2.
- Modality
- Text-only
- Domain
- English web crawl; general pretraining; Common Crawl HTML
- Time period
- 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.
- Purpose
- Open English LLM pretraining corpus; documented ablation of extraction, per-dump MinHash, and heuristic filters vs RefinedWeb/C4/Dolma/The Pile
- Used for
- 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.
- Authors
- Diverse public-web authors across Common Crawl. Hugging Face FineWeb team curated. Residual AI-generated web text possible; not quantified on the card.
- Bias
- 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 quality
- 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 size
- 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 context
- Mixed (full web documents; typical pages short-to-medium, some long). Ablations used seq 2048.
- Intermediate steps
- 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 quality
- High
- Novelty
- High
- Text conversion
- Ready parquet; HF streaming / datatrove ParquetReader recommended. Full dump is tens of TB.
- Collection method
- Download
- Static
- Unknown (HF lastModified 2025-07-11; v1.4.0 added six 2025 dumps; card plans further CC updates)
- Processed
- Unknown
Research notes
- Published at NeurIPS 2024 (Datasets and Benchmarks Track). arXiv:2406.17557. DOI:10.57967/hf/2493. Includes sample subsets (10BT, 100BT, 350BT) for smaller experiments.
- v1.3.0 reprocessed several 2024 dumps (~400B extra tokens) and removed Torstar domains after a C&D. Companion FineWeb-Edu is a separate HF repo. Discord posted the HF pointer with a 15T-token figure that is the original paper size; live card is 18.5T gpt2.
Related entries
- Collection
OpenCoder Datasets
The OpenCoder Datasets collection comprises the full reproducible training data pipeline for the OpenCoder code LLM family, including RefineCode (960B tokens of high-quality code across 607 programming languages with 130+ language-specific filtering rules), FineWeb-code-corpus (148GB), FineWeb-math-corpus (10GB), an annealing corpus (24GB, 15.6M examples), and two-stage SFT datasets (4.21M + 436K examples). Released alongside the OpenCoder paper (ACL 2025), it provides complete transparency into the data curation process for training top-tier code LLMs.
- Dataset
Open Markdown
Open Markdown is a large-scale dataset (1M-10M rows) of clean markdown extracted from Common Crawl web pages, organized by crawl snapshot (e.g., CC-MAIN-2026-21) and ready for LLM training and retrieval. Each row includes the source URL, host, crawl date, WARC record ID, HTML length, and the extracted markdown content, making it useful for building text corpora from the open web without re-processing raw HTML.
- Dataset
FineFineWeb: A Comprehensive Study on Fine-Grained Domain Web Corpus
FineFineWeb is a large-scale web corpus that classifies FineWeb data into fine-grained domains (e.g., aerospace, etc.) using a multi-iteration pipeline involving GPT-4 URL labeling, FastText coarse recall, and BERT fine recall. It contains ~4.89B rows across multiple domains with billions of tokens each, enabling researchers to build domain-specific pretraining mixtures with explicit control over domain composition.
- Dataset
FineWeb-Edu
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.
- Dataset
FineMath
Public math pretraining corpus of educational web pages with step-by-step solutions, built because OpenWebMath (12B) and InfiMM-WebMath (40B text) were too small and too paper-heavy for SmolLM2
- Dataset
OpenCoder FineWeb Math Corpus
Public FineWeb math slice of OpenCoder pretraining: math-related pages recalled with iterative fastText (paper: part of RefineCode’s ~75B code-related web tokens / 55B Processed FineWeb)
Similar entries
- Paper How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text
- Paper SlopShape: Identifying AI-Generated Commercial Web Content
- Dataset FineWeb 2
- Post Language Models for Text Classification: From Bag-of-Words to Jev
- Paper Loop, Think, & Generalize: Implicit Reasoning in Recurrent-Depth Transformers
- Paper ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks