CipherSenseAI/afri-fertility-results
afri-fertility: African Language Tokenization Results Measurement dataset for The African Language Tax — the first systematic audit of the subword tokenization penalty imposed on African languages by frontier large language models. Every row is one (language, tokenizer, corpus) triple, with fertility, English-relative premium, and confidence intervals computed from a parallel corpus using sum-then-divide aggregation. Dataset summary Property Value Rows… See the full description on the dataset page: https://huggingface.co/datasets/CipherSenseAI/afri-fertility-results.
afri-fertility: African Language Tokenization Results
Measurement dataset for [The African Language Tax](https://arxiv.org/abs/2606.24460) — the first systematic audit of the subword tokenization penalty imposed on African languages by frontier large language models.
Every row is one (language, tokenizer, corpus) triple, with fertility, English-relative premium, and confidence intervals computed from a parallel corpus using sum-then-divide aggregation.
Dataset summary
Key findings
- Every African language carries a tokenization premium above English on every tokenizer — 209 FLORES-200+ pairs (19 languages × 11 tokenizers), zero exceptions
- Premiums range from 1.29× (Swahili on BLOOM) to 8.92× (N'Ko on o200k_base)
- Ethiopic-script languages (Amharic, Tigrinya) reach 6.8–9.3×; N'Ko reaches 8.9×
- Best available tokenizer for African languages: Gemma 4 (mean 2.38× vs 3.31× for cl100k_base)
- Premium is near-invariant across corpora (FLORES vs SIB-200: Pearson r = 0.9998)
Load the dataset
import pandas as pd
from datasets import load_dataset
# Via HuggingFace datasets
ds = load_dataset("CipherSenseAI/afri-fertility-results")
df = ds["train"].to_pandas()
# Or directly as parquet
df = pd.read_parquet("hf://datasets/CipherSenseAI/afri-fertility-results/data/results.parquet")Column reference
Languages covered
Tokenizers measured
Reproduce
Results are fully reproducible using the open-source afri-fertility tool:
pip install afri-fertility
afri-fertility reproduce # runs offline reference suite, prints headline numbersFull study replication (requires HuggingFace token for gated models):
git clone https://github.com/CipherSenseAI/afri-fertility
cd afri-fertility
pip install -e ".[dev]"
afri-fertility run configs/study_main.yamlCitation
@article{somide2026africanlanguagetax,
title = {The African Language Tax: Quantifying the Cost, Latency, and Context
Penalty of Tokenizing African Languages in Frontier LLMs},
author = {Somide, Olaoye Anthony},
year = {2026},
journal = {arXiv preprint arXiv:2606.24460},
url = {https://arxiv.org/abs/2606.24460}
}License
Data: Apache 2.0. Source corpora: FLORES-200+ (CC-BY-SA-4.0), SIB-200 (CC-BY-SA-4.0), MAFAND-MT (per-dataset Masakhane licences).
