﻿# mC4: audit language imbalance in multilingual text

Audit mC4 language partitions, tokenizer expansion and sampling weights before interpreting multilingual pretraining coverage.

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

## Identify the multilingual configuration

mC4 is the multilingual Common Crawl corpus introduced with mT5. The [mT5 paper](https://arxiv.org/abs/2010.11934) describes pretraining across 101 languages, rather than a parallel translation dataset. A document in one language is not paired with an equivalent document in another. This matters when choosing a resource: mC4 supports multilingual language modeling, while supervised translation requires an additional alignment or labeled dataset.

## Read language partitions precisely

The [TensorFlow Datasets C4 catalog](https://www.tensorflow.org/datasets/catalog/c4) locates mC4 under c4/multilingual and identifies 86 source crawls. Instead of one global train/validation pair, it lists language-named training splits and corresponding validation names, including distinct transliterated language labels. Record these exact identifiers with builder version 3.1.0. Collapsing related labels into a single language is a new grouping decision and should remain visible in any reported coverage table.

## Retain the web-document structure

The catalog exposes text, url, timestamp, content-type and content-length. These page-level strings do not contain reference translations or downstream task labels. Preserve the language partition as a separate export field when combining files, because the record envelope alone does not replace the configuration that selected it. The [provenance guide](/journal/document-markdown-json-provenance/) helps distinguish original page metadata from later language reassignment, normalization or tokenizer-derived length measurements.

## Calculate exposure after tokenization

The language inventories differ substantially in size. Sampling by raw document count, bytes or tokenizer tokens can therefore produce different training mixtures. In a proposed experiment, publish both the selected inventory and the sampling rule, then measure realized token exposure by language. Upsampling a small partition increases repetitions as well as its weight. Compare per-language validation loss and downstream tests rather than letting a large partition dominate the aggregate interpretation.

## Inspect language detection and holdouts

The [official builder](https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/text/c4.py) documents language-detection changes and URL-based split construction. Its version history includes modifications affecting multilingual detection and filtering, so a historical name alone does not identify identical examples. Review mixed-language pages and short text with speakers familiar with the language before transferring English-oriented judgments. The [split leakage guide](/journal/document-level-data-split-leakage/) explains how mirrors and related pages can cross URL boundaries. Better likelihood on a web partition does not establish balanced capability across dialects, scripts or task domains.
