Pleias releases CommonLingua, a tool that names 334 languages
In short
- Pleias, a Paris-based AI lab, released CommonLingua on 28 April 2026: a model that reads a paragraph and says which of 334 languages it is written in. It has 2.35 million parameters, tiny next to the baselines it lists at about 600 million.
- 61 African languages are among the 334. Pleias calls the model the first piece of its partnership with the GSMA's "AI Language Models in Africa, by Africa, for Africa" initiative.
- On the CommonLID web-text benchmark, Pleias reports 77.63% strict accuracy and a macro F1 of 0.7879, against 59.53% and 0.6590 for Meta's fastText-218 (NLLB). Pleias re-ran every baseline itself; no outside group has checked these numbers.
- The weights are free under Apache 2.0 on Hugging Face, and the 2.48 million-paragraph training set is published too.
2.35M parameters (the blog rounds it to 2 million); 334 language labels, 61 of them African; 77.63% vs 59.53% strict accuracy on CommonLID, CommonLingua vs fastText-218 (Pleias's own run); 0.7879 vs 0.6729 macro F1, against the best baseline, GlotLID v3
Why a language detector matters
Every model trained on many languages starts with a sorting job: before text is filtered, de-duplicated or used for training, something has to decide what language it is in. Pleias's blog post says getting that wrong at scale "is the single most common way a training dataset gets quietly corrupted": documents land in the wrong bucket, and text in minority languages is thrown away as noise. The post says African languages are "where the existing toolchain breaks down most severely", which is why the model was built with the GSMA, the mobile-industry association, as the first step of that initiative's data work.
Is CommonLingua open source?
In plain words (our reading): Apache 2.0 lets anyone use, change, embed and sell the model, keeping the licence notice; the blog adds "no restrictions on commercial or governmental use". The dataset is not under one licence. Its card says most rows come from CC BY-SA 4.0 sources such as Wikipedia, or from public-domain material such as old newspapers, patents and government publications, and it asks anyone who shares a derived version to keep each row's licence, creator and identifier columns.
How does CommonLingua tell languages apart?
CommonLingua has no tokenizer. It reads the raw bytes of the text (up to 512 of them, about one paragraph), so Latin, Arabic, Ethiopic, N'Ko, Tifinagh, Devanagari and Chinese characters all arrive the same way. The card names the parts:
- a trigram hash: every run of three bytes is hashed into one of 4,096 slots, which, according to Pleias's tests, added 1.2 points of macro F1;
- three convolution layers that pick up local byte patterns, such as which script is in use and common letter pairs;
- one attention layer that looks across the whole paragraph;
- an output that scores all 334 labels.
The blog's argument for this design (ours to summarise): a model that never had a fixed vocabulary cannot be biased toward the scripts that dominated one, and adding a language does not mean rebuilding a vocabulary.
Training data, per the dataset card: 2,323,301 Wikipedia paragraphs, filtered for machine-generated pages and mixed-language text, plus 30,000 OpenAlex paper abstracts (mostly in Indonesian, Malay and African languages), Voice of America Africa, the Pralekha corpus and long, OCR-scanned documents from Pleias's Common Corpus. Pleias says it sampled hard pairs on purpose, such as Indonesian and Malay, which are easily confused.
What Pleias reports
The test set is CommonLID, a benchmark of web text labelled line by line by native speakers, described in an arXiv paper (January 2026). Pleias says it ran all four models "through the same pipeline" with the same label normalisation, "for an apples-to-apples comparison".
Source: the CommonLingua model card and blog; all runs are Pleias's own. "Equivalence accuracy" also counts an answer as right when it picks a closely related label that the benchmark treats as the same language.
That is 11.5 points of macro F1 above GlotLID v3, the best baseline on that measure, and 18.1 points of strict accuracy above fastText-218 (our subtraction). The blog says the gap "widens on lower-resource languages", but publishes no per-language table.
The 61 African languages, by the blog's count, span Bantu (21), Niger-Congo and West African (18), Semitic and Afro-Asiatic (7), Cushitic and Chadic (4), Berber (3), Nilo-Saharan (3), pidgins and creoles (3), plus Malagasy and Afrikaans. The blog says the full list is in the model card; the card does not list them, though the label file in the repository does.
Some details do not line up. The card describes CommonLID as "376 k held-out paragraphs, 200+ languages"; the CommonLID paper itself reports 373,230 lines in 109 language varieties. Pleias left out Lingala, saying most of its CommonLID samples belonged to related languages. Speed figures differ too: the card measures up to 26,236 paragraphs a second on one H100 GPU and 114 to 553 on a server CPU, while the blog says "roughly 20" on a CPU and "3,000" on a GPU. The blog gives validation accuracy as 97%; the released config file records 96.2%.
What it is not for
The card says the intended job is "paragraph-level corpus curation", and that the model "was not assessed on very short text segments and will likely perform less well than alternatives" there. Tweets, chat messages and search queries are outside what it was tested on.
25 January 2026: the CommonLID benchmark paper is posted on arXiv. 27 April 2026: the CommonLingua and CommonLingua-Train repositories are created on Hugging Face. 28 April 2026: Pleias announces CommonLingua on its blog.
Terms in plain English
- Language identification (LID): guessing which language a piece of text is written in; the first filter in most multilingual data pipelines (ours).
- Byte-level: the model reads the raw computer encoding of each character instead of words or sub-words, so no script needs special handling (ours).
- Strict accuracy: the share of paragraphs given exactly the right language label.
- Macro F1: a score from 0 to 1 averaged over languages with equal weight, so rare languages count as much as common ones (ours).
Where things stand
Pleias says the GSMA initiative is "where CommonLingua first goes to work at scale", and that the next releases "will extend coverage, improve performance on short and code-mixed inputs" and plug into the rest of its data-cleaning tools. Until someone else runs it on CommonLID or another set, the comparison above rests on Pleias's own evaluation.
Official channels of Pleias: Website · LinkedIn
Sources
- CommonLingua model card, Pleias on Hugging Face, April 2026
- CommonLingua, Pleias blog, 28 April 2026
- CommonLingua-Train dataset card, Pleias on Hugging Face, April 2026
- CommonLID: Re-evaluating State-of-the-Art Language Identification Performance on Web Data, Ortiz Suárez et al., arXiv, 25 January 2026
Sources
- CommonLingua model card
- CommonLingua
- CommonLingua-Train dataset card
- CommonLID: Re-evaluating State-of-the-Art Language Identification Performance on Web Data
Related stories
- Alibaba's Qwen releases open Qwen4-35B-A3B with 3B active
- Ai2 releases Molmo 3, an open model that judges depth in photos
- MiniMax releases M4, a 2.74T-parameter model; weights to follow
- Recension releases Coatl-1, an open model for DNA, proteins and text
- Google DeepMind releases CellGemma, an open cell-response model
- Stability AI opens weights for three of four new audio models
More from AI in Europe
- DeepL launches Voice-to-Voice, live spoken translation tools
- Stability AI launches Brand Studio, a closed brand image platform
- GPT-NL says its own tokenizer needs fewer tokens for Dutch text
- GPT-NL releases an open training corpus of over 524 billion tokens
- H Company says its Holo3 model scores 79% on OSWorld-Verified