Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

BrahmicTokenizer-131K: An Indic-Capable Drop-In Replacement for o200k_base

About

We present BrahmicTokenizer-131K, a 131,072-vocabulary byte-level BPE tokenizer that closes the Brahmic compression gap at the 131K-vocabulary class while preserving the English, EU-language, and code compression of OpenAI's o200k_base. We construct it through a two-stage retrofit: (1) a script-prune crop that reduces 200,019 tokens to 131,072 by removing nine out-of-scope writing systems, and (2) a surgical retrofit of 2,372 corpus-dead vocabulary slots determined by linear-programming allocation across nine Brahmic Unicode blocks. The pre-tokenizer, decoder, and inherited merge rules are unchanged from o200k_base, making BrahmicTokenizer-131K a drop-in replacement at the tokenizer interface. On 27 million documents of public Indic pretraining text (2.84 billion words, 46.21 GB), BrahmicTokenizer-131K produces 26.7% fewer tokens than Mistral-Nemo Tekken / Sarvam-m at the same vocabulary budget, with per-language savings of 15.79% (Tamil) to 76.79% (Odia, a 4.31x compression ratio). The Odia advantage is mechanistically explained by Tekken/Sarvam-m containing zero Oriya-block tokens; our surgery added 725. On non-Indic content, BrahmicTokenizer-131K matches o200k_base's English fertility (1.235 vs 1.232 tokens/word) and beats Tekken/Sarvam-m by 4.0-14.2% on HumanEval, MBPP, and GSM8K. Across our 14-tokenizer benchmark, it is the only tokenizer simultaneously competitive on Brahmic, English, EU, code, and math at the 131K budget. Specialist tokenizers at other vocab classes (Sarvam-30B, Sarvam-1, MUTANT-Indic) achieve better Indic compression at the cost of non-Indic performance: Sarvam-1's English fertility is 15.9% worse and its code/math compression 26-33% worse than ours. We release the artifact under Apache 2.0 at https://huggingface.co/theschoolofai/BrahmicTokenizer-131K.

Rohan Shravan• 2026

Related benchmarks

TaskDatasetResultRank
Bytes-per-token compressionMulti-domain composite corpus (FLORES-200 + sampled 27M corpus + HumanEval + MBPP + GSM8K)
Bytes/Token (English)4.91
12
Per-word fertilityFLORES-200 (dev+devtest)
Per-word Fertility (En)1.24
11
Tokenization EfficiencyIN22-Gen (test)
Mean Brahmic Fertility3.08
11
Tokenization EfficiencyFLORES-200 (dev+devtest)
Mean Brahmic Fertility2.84
11
Per-character tokenizationHumanEval
HumanEval Tokens/Char0.295
4
Per-character tokenizationMBPP Sanitized
Tokens/Char (MBPP Sanitized)0.32
4
Vocabulary Character AnalysisBrahmic Script Vocabulary
Brahmic Character Count1.57e+4
4
Per-character tokenizationGSM8K (train)
Tokens per Character Ratio (GSM8K train)0.301
4
Per-word fertilityFlores-200
Fertility (En)1.235
4
TokenizationAI4Bharat Sangraha Bengali
Token Count (M)1.64e+3
3
Showing 10 of 21 rows

Other info

Follow for update