paper-with-me

Papers

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

2026-05-28 · Rohan Shravan arxiv

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.

📄 PDF Abstract BibTeX arXiv:2605.29379

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Can the Transformer Be Used as a Drop-in Replacement for RNNs in Text-Generating GANs?

2021-08-26 · RANLP 2021 9 · Kevin Blin, Andrei Kucharavy

In this paper we address the problem of fine-tuned text generation with a limited computational budget. For that, we use a well-performing text generative adversarial network (GAN) architecture - Diversity-Promoting GAN …

DiversityGenerative Adversarial NetworkText Generation

FlashHead: Efficient Drop-In Replacement for the Classification Head in Language Model Inference

2026-03-15 · Wilhelm Tranheden, Shahnawaz Ahmed, Devdatt Dubhashi, Jonna Matthiesen 외 arxiv

Language models are increasingly adopting smaller architectures optimized for consumer devices. In this setting, inference efficiency is the primary constraint. Meanwhile, vocabulary sizes continue to grow rapidly, makin…

Information Retrieval

How Fragile is Relation Extraction under Entity Replacements?

2023-05-22 · Yiwei Wang, Bryan Hooi, Fei Wang, Yujun Cai 외

Relation extraction (RE) aims to extract the relations between entity names from the textual context. In principle, textual context determines the ground-truth relation and the RE models should be able to correctly ident…

BenchmarkingCausal InferenceRelationRelation Extraction

PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformer

2024-07-16 · Pierre-David Letourneau, Manish Kumar Singh, Hsin-Pai Cheng, Shizhong Han 외

We present Polynomial Attention Drop-in Replacement (PADRe), a novel and unifying framework designed to replace the conventional self-attention mechanism in transformer models. Notably, several recent alternative attenti…

2D Object DetectionComputational EfficiencyGPUimage-classification+4

Analyzing Semantic Change through Lexical Replacements

2024-04-29 · Francesco Periti, Pierluigi Cassotti, Haim Dubossarsky, Nina Tahmasebi

Modern language models are capable of contextualizing words based on their surrounding context. However, this capability is often compromised due to semantic change that leads to words being used in new, unexpected conte…

Change Detection