Distilling Lao into Qwen: a practical recipe that keeps Thai intact

This article has been automatically translated.
Loading article...
Merry Christmas & Happy New Year!
Loading article...
You ask a small model to translate English into Lao, and it earnestly answers in Thai. The model doesn't "fail to understand"—it writes the wrong language. And if you fine-tune directly on Lao data, you may well lose the decent Thai ability it already had. Together AI published a concrete case on its blog: they used Kimi-K3.1-Pro as the teacher model to distill Lao translation ability into the small model Qwen3.8-27B. The resulting student model answered in Lao script on every test sentence, scored 93% of the teacher, and its Thai ability actually improved slightly. All experiments together cost $260. This article breaks down why this recipe works, where it goes wrong, and what you should check before trying it yourself.
First, look at the size of the gap. On the FLORES-200 Lao test set, Qwen3.8-27B scores only 5.5 chrF++, while Kimi-K3.1-Pro scores 47.5. chrF++ is a 0–100 score that measures character and word overlap between a translation and a human reference translation; it is not a correctness judgment. A more intuitive metric: only 11% of the base model's outputs actually use Lao script.
The source gives an example. Given an English sentence about "four-month-old, non-diabetic mice," Qwen3.8-27B outputs grammatically fluent Thai, while Kimi-K3.1-Pro outputs Lao. In other words, the base model actually translated the meaning correctly—it just wrote it in Lao's closest relative, Thai, which uses a completely different writing system.
This distinction determines the fix. Because chrF++ only looks at character overlap, correct Thai against a Lao reference scores almost zero, so the score looks like a disaster when the real problem is a "wrong language label." The source confirms this with round-trip adequacy: having the teacher translate the base model's Thai output back into English scores 64.6, slightly above the 64.0 of the human Lao reference.
So screen before you start: take about 50 sentences per target language and look at which script the output uses, rather than staring only at scores. If the output is in a close relative language but a different script, the problem is language identity; if the output is gibberish or off-topic, distillation style won't save you.
Distillation takes two paths. Online distillation (on-policy) has the student generate text itself, and the teacher scores each of the student's tokens. This requires the teacher's log-probabilities, which in practice means the two models must share a tokenizer. Kimi and Qwen do not share a tokenizer, so this path is closed.
The source uses offline distillation (off-policy): the teacher generates text directly, and the student imitates it with supervised fine-tuning (SFT). The simplest form needs only the teacher's text. The advantage is that the teacher side is cheap—each teacher call is an ordinary serverless chat request, and a fairly large model like Kimi-K3.1-Pro needs no training resources at all.
The whole pipeline is: collect English source sentences → have Kimi-K3.1-Pro translate them (with thinking mode off) → discard translations whose target-script ratio is too low → use these translations as targets to fine-tune a LoRA adapter on Qwen3.8-27B, evaluating on held-out test sentences throughout training → save the adapter to the model registry.
Here is a cost-structure inference worth remembering: the teacher uses no GPU, so the bulk of spending shifts to student training, and teacher data generation is only a minor line item. The source's numbers bear this out—all 4,000 Lao translations cost only $7.46, while all experiments together cost $260.
One more detail: translation doesn't need long reasoning. With thinking mode on, Kimi-K3.1-Pro actually scores lower on the 300-sentence Lao test (43.5 vs. 47.3) while using about 8× the tokens. With it off, a Lao answer averages about 175 output tokens.
This is the most memorable lesson in the article. The source ran a control group: fine-tuning on only 945 human Lao references, with no teacher involved. Lao jumped from 6.7 to 43.3 within 25 steps—it looked like a huge success.
Then they looked at Thai. Thai chrF++ fell from 46.7 to 11.7, and by the end of training it was down to 5.3, with 0% of Thai outputs using Thai script. What the model learned was "when asked to translate, write Lao," not "write the language you're asked for." The problem had simply flipped direction.
An analogy: if you repeatedly train a person to answer only in French, they may also produce French when asked to speak Spanish. The difference is that here the confusion happens between close relative languages with different writing systems, not between arbitrary languages.
If you looked only at the Lao metric, this broken experiment would be the highest-scoring student in the article. That is why you must turn the most easily confused neighboring skill into a held-out set and score it at every evaluation point. The source's remedy was to add about 1,000 Kimi-K3.1-Pro Thai translations to the training data; the two mixed-training experiments ended at 47.4 and 47.8 Thai, above the base model, and never dropped below 47.3 at any evaluation point.
Thai was preserved, but Lao still lagged. With about 950 samples, the student trained on human references scored 44.7, while the two distilled students scored only 41.8 and 41.9. Part of this is expected: human references naturally have an edge on a human-reference metric, because FLORES dev and devtest come from the same human process, so training on dev means learning the reference style of devtest; the distilled students learn the teacher's style.
The other part is a supply problem. FLORES dev has only 997 human references, and no more; the teacher, by contrast, can translate any English text you have. After adding translations of 3,000 English Wikipedia sentences, the Lao training set grew from 965 to 3,834 examples, and the Lao score rose from 41.9 to 44.3—less than half a point from the human-reference experiment—with Thai intact.
More data also beat more epochs: 4× data for one epoch reached 43.2 on the 300-sentence test, while the smaller Lao-plus-Thai dataset for three epochs reached only 41.3. The source's explanation is that the extra epochs mainly fit rows already seen. An appendix corroborates this: across the four Lao experiments, training loss fell by more than half after the first epoch, while chrF++ on the held-out set moved only −1 to +3 points.
So the tuning decision should shift from "train longer" to "feed more diverse teacher samples." If held-out quality plateaus while training loss keeps falling, generate more data for the target ability; if you can't add data, treat the plateau as the ceiling and stop.
First, the limits. The best Lao experiment reached 93% of the teacher, not parity. The five-language adapter closed only 12% of the gap on Zulu, because 1% to 2% of outputs fell into repetition loops. The source describes a published recipe and cookbook, not a guarantee for other model combinations.
On timing, the first step of each experiment takes 2.5 to 3 minutes, after which each step has a median of 2.6 to 3.2 seconds at batch size 16, and evaluating 300 sentences on the generator takes about 20 seconds. The best Lao experiment used 46 minutes of resources: 33.7 minutes of training, 7.1 minutes for 30 evaluations, and the rest for starting the session, saving the adapter, and shutting down.
If you have a similar capability gap, validate in this order:
When should you not use this method? If the base model produces gibberish or goes off-topic, what's missing is comprehension, not language identity, and distillation style won't help; if the gap spans many languages and each needs a lot of data, the cost shifts from the teacher side to the training side, and you need to re-estimate.
The source's code is in the post-training cookbook, with three recipes: language screening, Lao distillation, and the multilingual adapter. Note that all of the above are experimental results reported by the source; this article has not independently reproduced them.