FineWeb / FineWeb-Edu
FineWeb is HuggingFace's cleaned rebuild of Common Crawl: dozens of monthly snapshots run through an open pipeline of text extraction, quality filtering, and deduplication (removing pages that are duplicates or near-duplicates so the same text is not stored twice). The result is roughly 15 trillion tokens of English web text, about 45 TB, which HuggingFace has shown matches or beats other open web corpora on downstream benchmarks.
FineWeb-Edu is a filtered slice of the same data. A classifier scores each page for how educational it looks, and only the higher-scoring pages are kept. It is much smaller than the full set but far denser in explanatory, textbook-style writing, which makes it a strong base when you care about factual, teachable content rather than sheer volume.
Both live on HuggingFace as Parquet files and stream directly with the `datasets` library, so you can pull a single shard and start chunking without downloading tens of terabytes first. The filtering and deduplication code (built on HuggingFace's `datatrove` library) is open, so you can trace exactly why any given document survived, or rerun the pipeline with your own thresholds.
For RAG, FineWeb is a sensible default when you want broad, reasonably clean English web coverage without building your own crawl-cleaning pipeline. Reach for FineWeb-Edu when the retrieval quality of each passage matters more than covering every corner of the web, for example a study assistant or a general-knowledge question-answering system.
Two things to keep in mind. First, it is English only; for other languages you want FineWeb2, the multilingual sibling. Second, the licence is ODC-By 1.0, which permits commercial use with attribution to the dataset, but the underlying web pages keep their own terms, so treat the text as filtered web content rather than material cleared for any use. Next to C4 it is larger and more carefully deduplicated; next to raw Common Crawl it saves you the entire extraction and filtering effort.
Related sources
C4 (Colossal Clean Crawled Corpus)
A 750 GB English corpus derived from Common Crawl using heuristic cleaning to keep natural language and drop gibberish, boilerplate, and placeholder text. Built to train Google's T5 and later used for MPT-7B and others.
Common Corpus
An open, multilingual pretraining corpus of roughly 2.27 trillion tokens, built only from public-domain and permissively licensed text with documented provenance for every document. Maintained by PleIAs.
Common Crawl
A nonprofit that crawls the web and freely provides its archives and datasets. Petabytes of raw web data from billions of pages, with a new snapshot each month. Used in the training of GPT-3, LLaMA, T5, and many other large language models.
Common Pile v0.1
An 8 TB corpus of public domain and openly licensed text drawn from 30 sources, assembled by EleutherAI as a licence-transparent alternative to web-scraped pretraining data. Used to train the Comma family of language models.