Papers
arxiv:2612.03368

Fewer Tokens Are Not Enough: A Devanagari Tokenizer with Protected Letter Units, Tested at the Model Level

Published on Dec 2
Authors:

Abstract

A byte-level BPE tokenizer optimized for Devanagari reduces token counts but does not improve language model quality, which instead depends on matching tokenizer training text to model data.

Tokenizers are usually judged by how few tokens they need. We test whether that predicts model quality for Devanagari languages. We build Ancoda, a lossless byte-level BPE tokenizer that keeps frequent Devanagari letter units intact inside an ordinary merge table. In each of four vocabulary-size classes it needs the fewest tokens per word on Devanagari text of the 20 tokenizers we compare, though it loses English at 32k to 128k. We then train 59M-parameter language models that differ only in the tokenizer, three seeds each, under a pre-registered decision rule. Our main finding is that tokens per word on test text, the usual measure, did not predict model quality. A Nepali-only tokenizer needs 6% fewer Nepali tokens, yet Ancoda's model has 4% lower bits per byte. A plain BPE tokenizer trained on the same text as Ancoda needs more Nepali tokens, yet gives an equally good model. And Ancoda's small lead over two Yak tokenizers on held-out text from its own sources disappears on FLORES+. On our held-out set, the best models came from the two tokenizers trained on text like the models' own; our design for keeping letters intact added nothing to bits per byte. Ancoda's models are worse on text with joiners; removing synthetic joiner text from its training helps with ZWJ but not ZWNJ, which it hurts on FLORES+.

Community

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2612.03368
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 1

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2612.03368 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2612.03368 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.