arXiv cs.CL· Aarjan Chaudhary (Naamche Labs)·· 12 小时前AI 评分26
基于合并的词表扩展卡在预分词器:面向尼泊尔语的英文保持型修复,经继续预训练验证
Merge-Based Vocabulary Extension Stalls at the Pre-Tokenizer: An English-Preserving Repair for Nepali, Tested in Continued Pretraining
AI 导读
Llama-3 与 Qwen3 的预分词正则只接受 Unicode 字母,导致尼泊尔语在天城体元音符号处被切分,同样文本消耗的 token 是英文的 2.6 至 5.8 倍。
正文
Abstract:Llama-3, Qwen3 and many other open LLMs pre-tokenize text with a regular expression whose word class admits only Unicode letters. Devanagari vowel signs are combining marks, so this regex splits Nepali words at every vowel sign, and models that use it spend 2.6 to 5.8 times as many tokens on Nepali as on the same English text. Merge-based vocabulary extension cannot join the split pieces: for Llama-3 and Qwen3 no number of new merges brings this premium below about 2.2, and ten released extensions already end within 4% of this pre-token floor. We give a small edit to the deployed regex that provably keeps every token id of text without combining marks or Devanagari characters. With 32,000 new merges it brings Nepali to 1.01 times English, about 54% fewer Nepali tokens than standard extension. In small-budget continued pretraining of Llama-3.2-1B and Qwen3-0.6B, the original tokenizer gave the lowest held-out Nepali bits per byte under every recipe we tested. Matching the repair's training steps to standard extension, with about 35% of the data repeated, reversed their order on Qwen but not on Llama. Whether the token savings give a favourable latency and quality trade-off in generation remains untested. We release the tokenizers and code.
| Comments: | 18 pages, 4 figures, 9 tables. Code and tokenizers: this https URL |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| ACM classes: | I.2.7 |
| Cite as: | arXiv:2610.33016 [cs.CL] |
| (or arXiv:2610.33016v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.33016 arXiv-issued DOI via DataCite |
Submission history
From: Aarjan Chaudhary [view email]
[v1]
Thu, 8 Oct 2026 13:23:07 UTC (160 KB)
来源:arXiv cs.CL · arxiv.org