﻿# FineWeb2: balance language and script coverage

FineWeb2 language-script configurations, retained provenance and removed subsets: how to design a multilingual pretraining comparison.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/data-guide-fineweb2-language-script/
Language: en

FineWeb2 is a multilingual web-pretraining resource produced from Common Crawl with language-aware processing. Its practical value is not simply the availability of many language labels: it exposes decisions needed to compare filtering and sampling across language-script communities. The [owner's card](https://huggingface.co/datasets/HuggingFaceFW/fineweb-2) describes those release boundaries.

## Select a language-script configuration

The configurations distinguish language and script, rather than grouping every document under an English-language language name. This matters when one language appears in different writing systems. Record the configuration and repository revision together. The card's published change log includes v2.0.1, which adjusted text-fixing behavior; normalization changes are relevant to character-sensitive tasks even when the selected language remains unchanged.

## Keep the document's provenance fields

The schema includes text, an identifier, source URL and crawl metadata, with language-related annotations and minhash_cluster_size. The latter records the size of a duplicate cluster before a representative was retained. Do not treat it as a human quality score. Retaining these fields permits analysis of domains, repeated exposure and language-assignment uncertainty instead of reducing the corpus to anonymous text strings.

## Separate filtered, removed and unknown-language material

The release documents filtered language subsets, separately released removed material and unknown-language or unsupported-script material. Their processing status differs. Most language configurations also have a small test portion that should remain outside training. Inspect the actual selected configuration rather than assuming every language has identical split availability. The [released pipeline](https://github.com/huggingface/fineweb-2/blob/main/fineweb-2-pipeline.py) shows where language-specific thresholds and processing stages enter the transformation.

## Choose a sampling question before training

An editorial experiment might compare a fixed language mixture with a mixture that changes duplicate-cluster reweighting. Keep total training exposure, tokenizer and held-out tasks controlled so that a mixture change is interpretable. Sampling one surviving document per cluster and reweighting according to published guidance are different training inputs. Neither experiment should be described as reproducing the paper merely because it reads the same files.

## Audit closely related languages

Automatic language identification can confuse related languages, and filters tuned for one writing convention can remove valid material in another. Inspect both retained and rejected examples with competent language review where possible. The [FineWeb2 paper](https://arxiv.org/abs/2506.20920) provides the research context for adapting a pipeline across languages. Its reported comparisons have their own models and tasks; they are not a universal guarantee for an unrelated domain or training budget.

## Preserve evaluation independence

Keep source-document identifiers through tokenization and hold out the published test material. [Document-level split design](/journal/document-level-data-split-leakage/) explains why fragments of one page should remain grouped. [Deduplication and exposure](/journal/training-deduplication-memorization/) helps distinguish unique text from repeated training opportunities. FineWeb2 is most useful when the experiment needs inspectable multilingual web curation; it does not replace a target-domain holdout or a review of the underlying source conditions.
