AIAny
Icon for item

FineWeb-Edu

Provides ~1.3 trillion tokens of web pages filtered for educational quality using an LLM-trained classifier; includes per-Crawl configs, smaller random samples (10B/100B/350B tokens), and the classifier code and model for reproducible filtering.

Introduction

Why this matters

Large-scale web corpora are noisy and uneven for teaching models domain-relevant knowledge. FineWeb-Edu takes a different tack: instead of broadly filtering for general "quality", it uses LLM-generated annotations (Llama3-70B-Instruct and companions) to train a classifier that keeps pages scored ≥3 on an educational scale. The result is a targeted subset of CommonCrawl optimized for educational content (≈1.3T tokens after filtering), intended to improve knowledge benchmarks without simply amplifying technical or forum noise.

What Sets It Apart
  • Classifier-driven, education-first filtering: annotations were produced with Llama3-70B-Instruct (and tested with Mixtral variants) and a BERT-like regressor was trained to reproduce those scores; binarized at score ≥3 the classifier reaches ~82% F1 in the authors' evaluation. This makes the dataset a practical example of using synthetic LLM judgments to curate corpora at scale.
  • Snapshot-aware releases and samples: the dataset publishes per-CommonCrawl snapshot configs (many CC-MAIN releases spanning 2013–2025) plus smaller sampled configs (sample-10BT / 100BT / 350BT) so you can stream specific dumps or use reproducible smaller subsets for experiments and ablations.
  • Reproducibility & tooling: Hugging Face provides the classifier, prompt text, and the filtering code (cosmopedia classification repo) used in curation, enabling teams to reproduce or adapt the educational filter rather than only consuming a black-box dump.
Who It's For and Trade-offs

Great fit if you want to train or evaluate language models with data skewed toward educational content (improved performance reported on benchmarks like MMLU, ARC, OpenBookQA) or to study how LLM-based juries affect corpus quality. The snapshot configs and streaming support make it practical for incremental training pipelines.

Look elsewhere if you need balanced web coverage, high code prevalence, or datasets curated for conversational/dialogue or code-generation tasks: the educational filter intentionally removes much non-educational material (authors report ~92% of FineWeb removed at threshold 3), so you should combine FineWeb-Edu with code-specific corpora (e.g., The Stack) or broader web mixes when multi-domain competence is required. Also note licensing: dataset is under ODC-By and uses CommonCrawl data subject to CommonCrawl terms.

Practical notes and research implications
  • Use the sampled configs (10B/100B/350B tokens) for fast prototyping; use CC-MAIN snapshot configs to reproduce time-sliced experiments. Loading/streaming examples are provided via datatrove and datasets streaming APIs.
  • The dataset is an explicit case study in synthetic-annotation filtering: it shows that classifiers trained on LLM annotations can shift dataset composition and downstream benchmark behavior—useful if you study dataset curation biases or synthetic jury effects.
  • Trade-offs of LLM-based annotation (model bias, over/under-inclusion of domain styles) are acknowledged by the authors; they explored jury averaging but kept the Llama3-based classifier because it matched their target distribution better.

Information

  • Websitehuggingface.co
  • AuthorsHuggingFaceFW, Anton Lozhkov, Loubna Ben Allal, Leandro von Werra, Thomas Wolf
  • Published date2024/05/28

Categories

More Items

Hugging Face

A collection of ready-to-run Hugging Face Jobs OCR scripts that add a markdown column (or structured JSON) to image datasets, with model switching, layout detection, server-mode serving, and per-model options for table/form extraction.

Hugging Face

Provides 115M public GitHub source files (≈873GB of code, ~1TB uncompressed) with per-file metadata (repo, path, language, license). Supports streaming, language/license filtering and full download for training and evaluating code LLMs and code generation models.

Hugging Face

Provides labeled prompts with full-reference answers (including chain-of-thought and code blocks) and per-example metadata to train edge routing/orchestrator models that decide whether to handle inputs locally or route them to larger models. Includes complexity scores, coding/math flags, routing justifications, and an automated override rule; suited for fine-tuning small models (50M–1.5B) for edge deployment.