﻿# FineWeb: retain crawl lineage in web pretraining

Use FineWeb crawl metadata, release branches and per-crawl deduplication to design an English pretraining mixture with traceable exposure.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/data-guide-fineweb-crawl-lineage/
Language: en

## Choose the original English corpus

FineWeb is useful when an experiment needs broad English web pretraining text with recoverable crawl lineage. It differs from the multilingual FineWeb2 release and from the education-filtered FineWeb-Edu subset. The [research paper](https://arxiv.org/abs/2406.17557) studies extraction, filtering and deduplication through training ablations; those experiments explain the recipe, rather than establishing a universal ranking for every language-model task.

## Freeze a release and its crawl list

The [owner card](https://huggingface.co/datasets/HuggingFaceFW/fineweb/blob/main/README.md) includes named crawl configurations, sampled configurations and a combined default configuration, all presented as training data. Its changelog currently reaches v1.4.0 and documents both added crawls and reprocessing of older ones. Record a revision and the selected crawl list together. A crawl identifier alone cannot distinguish an earlier processed artifact from a corrected artifact bearing the same crawl name.

## Keep the document envelope

Each record carries text with id, dump, url, date, file_path, language, language_score and token_count. The date describes crawling, while file_path points into the original WARC storage. The token count uses the GPT2 tokenizer; recount with the intended training tokenizer before setting mixture budgets. Retaining this envelope makes it possible to investigate a suspicious example without treating the current live webpage as the historical source.

## Understand what was removed

The [published processing script](https://github.com/huggingface/datatrove/blob/main/examples/fineweb.py) connects WARC reading, Trafilatura extraction, language and quality filters, deduplication and formatting stages. It also writes rejected documents to stage-specific outputs. This separation is valuable for a proposed local ablation: changing extraction and a quality threshold simultaneously would make the cause of a downstream difference ambiguous. Inspect accepted and rejected text from the same domains before interpreting a loss change as better coverage.

## Separate repeated exposure from leakage

FineWeb deduplicates individual crawls. Similar pages can therefore remain across crawl dates. For a proposed temporal evaluation, reserve document families across the complete chosen crawl mixture before packing sequences. The [document split guide](/journal/document-level-data-split-leakage/) explains why chunk-level allocation is insufficient; the [deduplication guide](/journal/training-deduplication-memorization/) explains why removing exact copies alone leaves repeated exposure. Neither automatic language scores nor masking selected identifiers establishes that every retained page is appropriate for a particular deployment.
