Skip to content
RAG Repo

FineWeb / FineWeb-Edu

FineWeb takes raw Common Crawl snapshots and runs them through an open cleaning pipeline: text extraction, quality filtering, and deduplication (removing duplicate and near-duplicate pages so you are not storing the same text twice). The result is a 15T token English corpus that HuggingFace has shown matches or beats other open web datasets on downstream benchmarks.

FineWeb-Edu is a filtered slice of the same data, keeping only pages a classifier scores as educational. It is smaller but denser in explanatory, textbook-style prose, which makes it a useful base for knowledge-focused RAG and instruction tuning.

Both are published as Parquet files on HuggingFace and stream directly with the `datasets` library, so you can pull a shard without downloading the full 45 TB. The filtering and deduplication code is open, so you can trace exactly how each document survived.

web-crawlenglishpretrainingfiltereddeduplicatedhuggingface

Related sources