Concepts / Multilingual Models and Language Representation

Multilingual Models and Language Representation

Common Crawl is a widely used web dataset for training LLMs, and its language mix is highly uneven.

  • Programming

Why the Language Mix of Training Data Matters

Large language models learn from enormous collections of text, and a large share of that text comes from the public web. Common Crawl is a widely used web dataset of this kind, and it is one of the datasets used for training LLMs. Before deciding what a model should learn from, it helps to know which languages actually fill the dataset. The answer is far from balanced: a small number of languages supply most of the text, and many others supply very little.

This article works through one practical question: when you open a language distribution table for Common Crawl, what does it tell you, and what does it leave out? You will read the table, turn two of its values into a single multiplier, and apply a cutoff that decides which languages appear at all. Along the way you will see why the term low-resource language has a specific meaning in this context.

What do you think happens?

Before reading the table, which should you trust more when judging how much of the training text is in a given language: how many people speak that language, or how much of the dataset is written in it?

  • How many people speak the language

  • How much of the dataset is written in the language

Reveal answer
Answer:

How much of the dataset is written in the language

The population figure describes how many people speak a language. The share column describes how much of this particular web dataset is written in it. For a question about training data, the share column is the one that matters.

Reading the Share Column in the Table

The language table lists only languages that make up at least 1% of Common Crawl. Each row gives a language name, its language code, a population figure in millions, and the language's share of the Common Crawl data as a percentage. Keep the two numeric columns separate in your head. The population column measures how many people speak a language. The share column measures how much of this web dataset is written in that language.

The rows are sorted by the Common Crawl share column, so the first row is the largest contributor. The population column does not set the order. Chinese has a much larger population figure than German, yet German appears above Chinese in the share ordering. If you sorted by population instead, the list would look different, and it would answer a different question.

LanguageCommon Crawl share (%)Where it appears in the table
English45.88First row, the largest contributor
Russian5.97Second row
Dutch2.0585Further down the table
Vietnamese1.0299Smallest row in the table

Four rows from the at-least-1% table. Only these values are given in the source, so the remaining rows are not shown.

Key point

When you read the table to find the largest contributor, look only at the Common Crawl share column and take the top row. The population column is not used for that question.

Comparing Two Shares as a Multiple

The source makes its central point with a comparison between the top two rows. English accounts for almost half of the data, at 45.88%, and the source describes this as eight times more prevalent than Russian, the second-most common language at 5.97%. The comparison turns two raw percentages into one multiplier that is easy to remember.

Rule

Worked example

English Compared With Russian

How many times larger is the English share than the Russian share in the table?

  1. 1
    Identify the two shares

    English is 45.88% and Russian is 5.97%, both read from the Common Crawl share column.

  2. 2
    Put the larger share on top

    English is the larger share, so it goes in the numerator: $\frac{45.88}{5.97}$.

  3. 3
    Divide

    $\frac{45.88}{5.97} \approx 7.7$. The exact quotient is a little under eight.

  4. 4
    Read the source's wording

    The source rounds this to eight times. The multiple is a convenient description of the gap, and the exact table values give about 7.7.

Result

English's share is roughly eight times Russian's share. Computed from the table values, the exact multiple is about 7.7.

English45.88% of the dataRussian5.97% of the dataabout 8 times larger
The two largest shares in the table. English is the larger contributor, and the multiple between the two is the source's eight times figure.

The same kind of reading applies further down the table. Dutch at 2.0585% and Vietnamese at 1.0299% are both listed, and their shares differ by about a factor of two. Dividing 2.0585 by 1.0299 gives roughly 2.0. The table supports comparisons like this one, but it says nothing about languages that are not in the table at all.

The 1% Threshold and Low-Resource Languages

The table is built with a cutoff. Only languages with at least 1% representation in Common Crawl are listed. A language that does not meet the cutoff has no row at all. A reader of the table can only infer that such a language exists from the cutoff itself.

Common CrawllanguagesListed: at least 1%Twelve languages in thetableEnglish45.88%Not listedConsidered low-resourceRussian5.97%Dutch2.0585%Vietnamese1.0299%Languages below 1%No row in the tableat least 1%below 1%rowrowrowrowno row
The Common Crawl dataset splits into a listed group, which has rows in the table, and an unlisted group, which has no row. Only the listed group's values are visible to the reader.
Definition

A language that is not in the at-least-1% list is considered low-resource, meaning it has limited availability as training data. In this sense, low-resource describes what the dataset contains, not how important or rich the language is as a human language.

A helpful way to hold the definition is to ask two questions in order. First, is the language in the at-least-1% table for this dataset? If it is, it is listed. If it is not, it is considered low-resource in the sense the source uses. Asking in this order avoids a common confusion, which is trying to decide low-resource status from the population figure alone.

Tracing Languages Through the Threshold Check

Follow two languages through the check. The first is Vietnamese, the smallest row in the table. The second is a hypothetical language, which is not in the source, and is used here only to show the unlisted path.

Worked example

Checking Vietnamese Against the 1% Cutoff

Vietnamese has a share of 1.0299%. Is it listed, and is it low-resource in the source's sense?

  1. 1
    Read the share

    The Common Crawl share for Vietnamese is 1.0299%, taken from the share column.

  2. 2
    Compare with the cutoff

    The cutoff is at least 1%. Since 1.0299 is greater than 1, Vietnamese meets the cutoff.

  3. 3
    Check the table

    Because it meets the cutoff, Vietnamese has a row in the table.

  4. 4
    Apply the low-resource rule

    A language with a row is not in the not-listed group, so the low-resource label does not apply to it under the source's definition.

Result

Vietnamese is listed. It is not considered low-resource in the source's sense, even though it is the smallest row in the table.

Worked example

Checking a Language Below the Cutoff

Suppose a language makes up 0.4% of Common Crawl. Is it listed, and what label does it receive?

  1. 1
    Read the share

    The hypothetical share is 0.4%.

  2. 2
    Compare with the cutoff

    0.4 is less than 1, so the language does not meet the at-least-1% cutoff.

  3. 3
    Check the table

    It has no row in the table, so it is not listed.

  4. 4
    Apply the low-resource rule

    Not being in the at-least-1% list makes it considered low-resource in the source's sense.

Result

The language is not listed and is considered low-resource, with no row in the table to show its exact share.

The table cannot tell you how much text sits in the unlisted group, only that each language in that group falls outside the list. Adding up the twelve listed percentages gives about 85.06%. That leaves roughly 14.94% of the dataset spread across languages outside the list. This remainder is a calculation from the table values, not a figure the source states directly.

Mistakes When Reading the Language Table

  • Common mistake

    Ranking languages by the population column when asking which contributes the most data

    What it looks like

    Chinese has a much larger population figure than German, so one might assume Chinese contributes more text.

    Why it fails

    The population column measures speakers, not the share of the dataset. The table is sorted by the share column.

    Do this instead

    Find the top row in the Common Crawl share column. German appears above Chinese in that ordering.

  • Common mistake

    Treating the eight times figure as an exact ratio

    What it looks like

    Using a multiplier of exactly 8 to predict English's share from Russian's share.

    Why it fails

    The source's wording is a rounded description. Dividing 45.88 by 5.97 gives about 7.7.

    Do this instead

    Use the table values to compute the ratio when precision matters, and quote the source's eight times figure as a rounded comparison.

  • Common mistake

    Assuming a language missing from the table has no text in the dataset

    What it looks like

    Reading the absence of a row as a share of zero.

    Why it fails

    The cutoff only says each unlisted language falls below 1%. Those languages can still hold a combined share, which the table does not show.

    Do this instead

    Treat missing rows as languages below the cutoff, and do not infer their exact share from the table.

  • Common mistake

    Equating low-resource with unimportant or with few speakers

    What it looks like

    Calling a language low-resource because it is not in the table, and then assuming it has few human speakers.

    Why it fails

    The label describes availability as training data in this dataset. It says nothing about how many people speak the language.

    Do this instead

    Use low-resource only in the dataset sense: not in the at-least-1% list means considered low-resource.

  • Common mistake

    Comparing shares from different tables without checking that both use the Common Crawl share column

Practice Reading the Table

MEDIUM

Dutch has a share of 2.0585% and Vietnamese has a share of 1.0299%. Compute how many times larger the Dutch share is than the Vietnamese share, then state whether each language is listed under the at-least-1% cutoff.

Hints
  • Put the larger share in the numerator: 2.0585 divided by 1.0299.
  • The result should be close to 2, which matches the source's point that the two shares differ by about a factor of two.
  • Both shares are at or above 1%, so both languages have rows in the table.
EASY

A language appears in the dataset with a share of 0.8%. Explain whether it is listed, what label the source gives it, and why its population figure does not change that label.

Hints
  • Compare 0.8 with the at-least-1% cutoff.
  • Recall the two-question order: is it in the table, and if not, what label follows?
  • The population column describes speakers, so it is not used to assign the low-resource label.

Key Takeaways

  • Common Crawl is a widely used web dataset for training LLMs, and its language mix is highly uneven: a small number of languages supply most of the text.
  • The language table is sorted by the Common Crawl share column, not the population column, so the top row is the largest contributor. English, at 45.88%, leads Russian at 5.97%.
  • Two shares can be compared as a multiple by dividing the larger by the smaller. The source's eight times figure for English over Russian is a rounded description of about 7.7.
  • Only languages with at least 1% representation are listed. A language not in that list is considered low-resource, meaning it has limited availability as training data, not that it is unimportant or has few speakers.

Related concepts

More concepts starting with M