﻿# ROOTS: read language-specific source documentation

Use ROOTS language and source documentation to reconstruct a composite pretraining mixture without flattening component-specific processing.

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

## Start with a composite corpus

ROOTS is the BigScience composite text corpus used to train BLOOM. The [corpus paper](https://arxiv.org/abs/2303.03915) documents a multilingual collection assembled through both source cataloguing and web-data processing. It is useful for learning how language communities and source documentation can influence pretraining construction. It should not be treated as a single uniform web scrape or as a benchmark with one shared set of supervised labels.

## Choose source-and-language artifacts

The released organization uses separate source-and-language dataset repositories. The [English Wikipedia component card](https://huggingface.co/datasets/bigscience-data/roots_en_wikipedia) identifies a source uid and language-specific processing entries. A proposed reproduction should list the chosen component repositories and revisions, then verify each one's available schema and files. The card is not a substitute for inspecting a component's actual feature definition, and one component's structure should not be silently imposed on all of the others.

## Read filters at their documented scope

The Wikipedia card records document deduplication, empty-document removal and language-dependent size filters. This is evidence about that component, not a universal threshold for every ROOTS source. The [official preparation repository](https://github.com/bigscience-workshop/data-preparation) separates crowdsourced-source processing, OSCAR filtering and other sourcing tools. Record which route produced the selected material. A change to a web filter cannot explain a result from a component that entered through a different preparation route.

## Separate tokenizer data from model data

The preparation repository also includes a reduced dataset for tokenizer training. That artifact serves a different sampling purpose from the full model-training mixture. In a proposed reconstruction, keep their inventories and weights separate. A source's contribution measured in bytes can change after tokenization, particularly across writing systems. Track source membership through packing so source-level evaluation remains possible. The [provenance guide](/journal/document-markdown-json-provenance/) helps preserve transformations without confusing source identity with its later serialized representation.

## Interpret coverage and availability carefully

The Wikipedia component currently presents gated access conditions; the public processing description remains readable. Component cards and source terms need individual review rather than a corpus-wide assumption of access or permission. The documentation also describes provenance and curation, not a guarantee of balanced language competence. Reserve an independent task evaluation before tuning a proposed mixture, using the [document split guide](/journal/document-level-data-split-leakage/). Source-specific omissions or unavailable artifacts should remain explicit so a reconstructed subset is not mislabeled as the entire historical ROOTS training corpus.
