arXiv:2611.12628cs.CLNov 2026

Manuscript Offprint

arXiv:2611.12628

Adapting Small Language Models to Romanized Nepali: Tokenizer Fertility, Reference Likelihood, and Generation Metrics

Pujan Pant, Sagar Newpane, Hari Sitaula, Manish Sakhakarmy

ABSTRACT

Romanized Nepali, Nepali written in Latin script, is common in digital communication but has no standard spelling and few resources, and it is unclear how reliably small open language models can be adapted to it. We adapt three 2–3B base models from different families, Llama-3.2-3B, Qwen2.5-3B and Gemma-2-2B, with QLoRA on 9,000 instruction examples produced by deterministic transliteration of Nepali instruction data. Each model is trained with one shared recipe and three seeds and evaluated on 1,000 held-out examples with reference-overlap metrics, byte-normalized reference likelihood (bits per byte, BPB) and an output audit, against zero-shot baselines under two prompts. Fine-tuning raises chrF++ from 10–14 to 29.0–30.6 and lowers BPB from 2.23–2.41 to 0.78–0.84; most zero-shot outputs (54–92%) are English-like. Likelihood and overlap disagree on how far apart the models are. Llama-3.2-3B has the lowest BPB in every seed, 0.042 below Qwen2.5-3B (95% CI 0.039–0.046), yet the two cannot be separated on chrF++ (30.51 and 30.61) or BLEU, even with paired item-level tests. Gemma-2-2B, whose tokenizer splits Romanized Nepali words least (2.72 tokens per word), scores worst on every measure. Which model gains most over its zero-shot baseline depends on the zero-shot prompt. In a supplementary comparison with an identical tokenizer, Llama-3.1-8B lowers BPB by 0.053 (0.050–0.056) relative to Llama-3.2-3B, while chrF++ and BLEU rise by only 0.68 and 0.58 points. Lower fertility and higher reference likelihood therefore did not identify the model whose outputs were closest to the references.

Keywords Romanized Nepali · transliteration · small language models · parameter-efficient fine-tuning · QLoRA · tokenizer fertility · bits per byte · evaluation · low-resource languages

1 Introduction

Nepali is written in Devanagari, yet much of its everyday digital use is in Latin script. More than half of the comments in a Nepali social-media corpus were transliterated or mixed [31], and users of a Nepali sexual and reproductive health chatbot wrote 61.0% of their queries in Romanized Nepali, against 23.2% in Devanagari and 15.8% in English [46, Fig. 4A]. Romanized Nepali has no standard orthography: the same word can be spelled in several ways, and English words are often mixed in [5]. Language models also handle romanized input less well than the native script. In a real-world triage setting, one strong model's F1 on Romanized Nepali messages was 9.5 points below its F1 on Devanagari messages [23].

There are two broad responses. One converts the input: spelling normalization improved sentiment classification of Romanized Nepali reviews [5], and transliterating comments back to Devanagari helped multilingual classifiers [33]. The other adapts a model to read and write Romanized Nepali directly, which suits generation, where the output itself must be in the script that users type. Small open models of 2–3B parameters make this route practical, because parameter-efficient methods let them be adapted on a single 16 GB GPU [6], as in this study.

A PREPRINT

Choosing and evaluating such models is not straightforward. Candidate models differ at once in tokenizer, architecture, size and pretraining data. Tokenizer fertility, the number of subword tokens per word, is an appealing selection criterion, because text that is rare in a tokenizer's training data is split into many pieces [34, 42], but its relation to downstream performance is inconsistent across studies [1, 13, 43]. Per-token perplexity cannot be compared across models with different tokenizers [11]. A model's likelihood on reference text need not reflect the properties of the text it generates [28], and single training runs hide how much results vary with the random seed [8]. The closest prior benchmark for Romanized Nepali compared three 7–8B models with one run each and per-token perplexity [41], leaving open how small models compare and which measures can be trusted to rank them.

We study the adaptation of three 2–3B base models from different families, Llama-3.2-3B, Qwen2.5-3B and Gemma-2-2B, to a Romanized Nepali instruction task. The task is controlled: Romanized text was produced from Devanagari instruction data by deterministic, lowercase dITRANS transliteration, so every word has one spelling (Section 3). All models share one QLoRA recipe, a validation split for checkpoint selection and three training seeds. We measure tokenizer fertility, byte-normalized reference likelihood (bits per byte, BPB) and reference-overlap metrics, audit the generated outputs, and compare against zero-shot baselines under two prompt formats. A supplementary comparison with Llama-3.1-8B, whose tokenizer encodes our references identically to that of Llama-3.2-3B, adds a within-family contrast. We ask four questions:

  • RQ1. How do three 2–3B base-model families adapt to Romanized Nepali under one parameter-efficient recipe, and how stable are the outcomes across training seeds?

  • RQ2. Does tokenizer fertility on Romanized Nepali indicate which model adapts best?

  • RQ3. Do reference likelihood and generation overlap agree on how models compare, after adaptation and within one model family when tokenization is identical?

  • RQ4. How do base models behave on this task without adaptation, and how sensitive are zero-shot baselines, and gains measured from them, to the prompt?

The paper makes four contributions:

(1) A multi-seed evaluation of three 2–3B base-model families adapted to Romanized Nepali under one QLoRA recipe, reporting both training-seed and test-item uncertainty.

(2) Evidence that byte-normalized reference likelihood and generation overlap give different pictures of adapted models, including in a tokenizer-identical within-family comparison.

(3) A fertility analysis of four tokenizers on the benchmark references and, under three romanization conventions, on public Nepali text, in which the least-fragmenting tokenizer belonged to the lowest-scoring model and the order of tokenizers was the same under every convention.

(4) An analysis of zero-shot behaviour showing that the base models mostly answer in English and that the order of models by gain over zero-shot changes with the prompt.

We document the scripts, hashes and package versions behind every run (Appendix A). The benchmark is a deterministic transliteration of instruction data. It does not test robustness to the spelling variation of naturally typed Romanized Nepali, to mixed scripts or to code-switching, and all measures are automatic, so our conclusions concern adapting and evaluating models on this controlled task. Section 2 reviews related work, Sections 3 and 4 describe the data and experimental setup, Section 5 reports the results, and Sections 6–8 discuss them.

References (22)