The AI Gazette

Local modelsDeveloper tools

Together teaches a small open model to write Lao using a larger model's translations

In a post dated 26 November, Together AI shows how it distilled Kimi-K3.1-Pro's Lao translation into Qwen3.8-27B with Together Post-Training. A LoRA adapter trained on about 3,800 of the teacher's translations lifted Lao from 5.5 to 44.3 chrF++, 93% of the teacher's score, while Thai held. All the experiments together cost $260, and the code is in a public cookbook.

Asked to translate English into Lao, Qwen3.8-27B answers in Thai, Lao's closest relative, which uses an entirely different script. On the FLORES-200 Lao test set it scores 5.5 chrF++, a 0 to 100 measure of how closely a translation matches a human reference, and only 11% of its outputs are in Lao script. Kimi-K3.1-Pro scores 47.5 on the same test. A screen of 11 languages on 50 sentences each found Kimi ahead on all of them, with Lao the largest gap. The authors admit the use case is niche but call the pattern common: a small model falls flat on a narrow task that a larger, more expensive model handles with ease.

Together chose off-policy distillation, in which the teacher writes the text and the student learns to imitate it through supervised fine-tuning. The on-policy alternative, where the teacher grades every token the student writes, needs the two models to share a tokenizer, and Kimi and Qwen do not. Off-policy keeps the teacher side cheap: every teacher call is an ordinary serverless chat request, and the large model never needs training hardware of its own. The pipeline collects English sentences, has Kimi translate them, drops translations not mostly in the target script, fine-tunes a LoRA adapter on Qwen with the translations as targets, scores held-out sentences during training and saves the adapter.

Teacher calls ran with thinking turned off. With thinking on, Kimi scored lower on 300 Lao test sentences, 43.5 against 47.3, and used about 8 times as many tokens. The source text was the 997 sentences of FLORES-200 dev plus 4,000 English Wikipedia sentences, 3,000 for Lao and 1,000 for Thai. At $2 per million input tokens and $10 per million output tokens, all 4,000 Lao translations cost $7.46. A filter kept a translation only if at least 70% of its letters were in the target script and it was not an echo of the English, which removed 4% of Kimi's Lao.

The surprise came from a control run trained on 945 human Lao references with no teacher involved. Lao jumped from 6.7 to 43.3 within 25 steps, but Thai fell from 46.7 to 11.7 and ended at 5.3, with none of the Thai outputs in Thai script. The model had learned to write Lao whenever asked to translate. Judged on Lao alone, this run would have looked like the winner. Training on Kimi's Lao instead slowed the damage, but Thai still slipped to 44.3 in the third epoch. Adding about 1,000 of Kimi's Thai translations fixed it: Thai finished at 47.4 and 47.8 in the two mixed runs, above the base model.

Lao was still short. With about 950 Lao examples each, the run trained on human references scored 44.7 and the distilled runs 41.8 and 41.9. Part of that is the metric, since human references share the test set's human style; scored against Kimi's own translations, the distilled student climbed from 8 to 58. The other part is supply. FLORES dev has only 997 human references, while Kimi can translate any English text. Adding its translations of 3,000 Wikipedia sentences took the Lao set from 965 to 3,834 examples and raised Lao from 41.9 to 44.3, within half a point of the human-reference run, with Thai intact. One epoch of the larger set also beat three epochs of the smaller one.

The best run reached 44.3 on all 1,012 test sentences, 93% of the teacher's score and 92% of the gap between base model and teacher, with every answer in Lao script and Thai at 47.8. The base model had mostly understood the sentences and simply written the wrong language: when Kimi translated outputs back into English, the base model's Thai scored 64.6 for meaning, slightly above human Lao references at 64.0, and the distilled student scored 65.7. One adapter trained on Lao, Northern Sotho, Zulu and Yoruba, with Thai for retention, closed 87%, 85%, 71% and 12% of their gaps. Zulu lagged because 1 to 2% of its outputs fell into repetition loops.

Training ran on Together Post-Training, where a model resource is a set of B200 GPUs with the base model loaded, a trainer that runs the training steps, and an optional generator that samples from checkpoints during training, so scoring needed no separate endpoint. Each session trains one LoRA adapter, here at rank 64, the model's maximum, with alpha 128, a peak learning rate of 1e-4 with 5% warmup and cosine decay to a tenth, and batches of 16. The prompt is masked so only the translation, including its end-of-turn token, carries loss, and the model learns when to stop. After a first step of 2.5 to 3 minutes, a step took a median of 2.6 to 3.2 seconds.

All the experiments together cost $260 on B200s, and the teacher data was the cheap part. The best Lao run held its resource for 46 minutes, 33.7 of them in training steps. The scripts for screening languages, training the Lao student and training the five-language adapter are in Together's post-training cookbook. The authors' own lessons: screen first, since 50 sentences per language showed where the teacher was far ahead; look at what the base model gets wrong before training; generate more teacher data before adding epochs; and mix in data for the nearby skill to keep, scoring it during training. The post also promotes Together's own training service.

From other editions

Say hi.