Reading notes on:

When asked to translate English into Lao, Qwen3.8-27B usually answered in Thai. Fine-tuning on human Lao translations taught it to answer in Lao, and it started answering Thai requests in Lao, too. Together AI trained a single LoRA adapter on 3,834 Lao and 989 Thai translations from Kimi-K3.1-Pro. The adapter scored 44.3 chrF++ on Lao, up from 5.5, and 47.8 on Thai, up from 46.7. An evaluation that measured Lao alone would have picked the adapter that broke Thai.


1. Finding out what the base model got wrong

Together screened 11 languages with 50 sentences each from FLORES-200 devtest. Lao had a 41.8-point teacher lead on that slice, ahead of Northern Sotho (15.7 points) and Zulu (13.3 points). The same Lao models get different scores on each evaluation set, so the sample size matters when comparing numbers across the experiment. The team trained on FLORES-200 dev and Wikipedia and kept devtest out of fine-tuning. Screening recipe · FLORES-200 dataset card

Lao devtest slice Purpose Qwen chrF++ Kimi chrF++
50 sentences Screen 11 languages 7.2 49.0
300 sentences Monitor checkpoints 6.7 47.3
1,012 sentences Score the start and end of each run 5.5 47.5

The evaluation separates three questions about each output.

  • How closely does it match the reference? The cookbook uses SacreBLEU’s corpus chrF++ with character n-grams up to order six and word n-grams up to order two. It combines overlap precision and recall, with the default beta of 2 giving more weight to recall. A reasonable Thai translation can share very few n-grams with a Lao reference. Thai retention uses this same metric on 300 English-to-Thai prompts. chrF++ paper · SacreBLEU implementation
  • Did it use the requested script? The cookbook counts alphabetic characters by the prefix of their Unicode names. It treats an answer as Lao when at least half of its letters are Lao. Digits and punctuation stay out of the denominator. Only 11% of the base Qwen outputs passed on the full Lao set. A high script rate can coexist with weak translation quality because the check only looks at characters. Evaluation implementation
  • How much meaning can be recovered? Kimi translated each system’s output back into English for comparison with the original English. Base Qwen scored 64.6, the human Lao references 64.0, and the best Lao adapter 65.7. The base result suggests that Kimi could recover much of the English meaning from Qwen’s Thai answers. The score depends on Kimi as a back-translator and on overlap with the original phrasing, so it gives a separate, imperfect check on adequacy. Together AI’s round-trip results

2. Passing translations across tokenizers

Together used off-policy distillation. Kimi generated translations ahead of training, and Qwen learned from those translations with supervised fine-tuning. The teacher API only had to return text. Qwen could turn that text into targets with its own tokenizer. In on-policy distillation, the student generates the rollouts. Scoring them at token level across different tokenizers calls for an alignment method. Distillation for Agents · Cross-Tokenizer On-Policy Distillation

Generating and filtering the teacher data

The largest Lao run started with 997 English sentences from FLORES-200 dev and 3,000 from English Wikipedia. A separate 1,000 Wikipedia sentences supplied Thai. Each chat request named the target language and asked for the translation alone. Together set the teacher’s temperature to 0, capped responses at 1,024 tokens, and disabled thinking. On the 300-sentence Lao slice, Kimi scored 47.3 with thinking disabled and 43.5 with it enabled. Thinking used about 8× as many tokens. With it disabled, Lao translations averaged about 175 output tokens. Teacher settings and measurements · Lao and Thai recipe

The cookbook drops failed, empty, or truncated responses, as well as case-insensitive copies of the source sentence. It applies a 70% target-script threshold for languages with a configured script check, stricter than the 50% used when scoring model outputs. That filter can catch a Lao answer written in Thai. The Latin-script targets in the five-language run share a script, so the recipe relies on the other filters for those rows. The final large mix contained 3,834 Lao and 989 Thai rows. Teacher-data filters


3. What the student actually optimizes

The training record is a two-message chat. The user turn supplies the language instruction and English sentence. The assistant turn holds the teacher’s translation. The cookbook renders both with Qwen’s chat template and enable_thinking=False, selects the final assistant turn with TRAIN_ON_LAST, and caps the rendered sequence at 2,048 tokens. For a token sequence z and loss mask m, the sample builder pairs input z[:-1] with targets z[1:] and weights m[1:]. The first translation token is scored conditional on the complete prompt. Training on the end-of-turn token teaches Qwen when to stop. Chat rendering · Sample construction

Kimi generates translation text, a filter checks the target script, and Qwen tokenizes the chat row. The English prompt has loss weight zero. The translation and end-of-turn token have weight one.

For a batch with rows indexed by i and target positions by t, the logged loss in nats per supervised token has the form

\[\mathcal{L} = -\frac{\sum_{i,t} m_{i,t}\log p_\theta(z_{i,t}\mid z_{i,<t})}{\sum_{i,t} m_{i,t}}.\]

The prompt tokens have weight zero and still provide context for every predicted answer token. Each prediction conditions on the preceding target tokens in the training row. This is teacher forcing. During evaluation, the generator conditions on its own output as it decodes. The two measurements therefore answer different questions about the same adapter. Loss calculation in the training loop · Token loss and perplexity

Adapter updates and checkpoint evaluation

LoRA freezes Qwen’s pretrained weights and learns low-rank updates at the adapted layers. For an adapted weight matrix, the standard LoRA parameterization adds a product of two learned matrices scaled by alpha divided by rank. Together used rank 64 and alpha 128, giving a scale of 2 in that parameterization. Adam ran on batches of 16, with a peak learning rate of 0.0001, 5% warmup, and cosine decay to 0.00001. In the 602-step run, the warmup occupied 30 steps. LoRA paper · Reported training settings

On the B200 training resource, forward_backward computed the masked cross-entropy and gradients. optim_step applied the update. At an evaluation point, weights_sync published the latest adapter weights to the generator on the same resource. The generator decoded one answer per held-out prompt at temperature zero and returned the outputs for scoring. Together usually evaluated the 300-sentence slice every 25 steps, with 50- or 100-step intervals in the two longest runs. The run ended by registering an inference checkpoint. The published fine-tuning recipes provision a trainer-only resource and describe deploying the saved adapter separately for evaluation. Training and evaluation loop · Published training recipe

The trainer updates a LoRA adapter on batches of 16. At evaluation steps, weight sync gives the generator the current adapter for decoding held-out Lao and Thai prompts. At the end, the adapter is registered as a checkpoint.


4. What happened when the training mix changed

The human-reference control gained 36.6 Lao chrF++ points in the first 25 steps, while Thai lost 35.0. By the end, Thai had fallen to 5.3, and none of the Thai outputs passed the Thai-script check. Every Lao run reached the correct script by its first scheduled evaluation, at step 25 or 50. Together could therefore see the script shift long before the end of training.

At step zero, the human-reference control starts at 6.7 on Lao and 46.7 on Thai. After 25 steps, it reaches 43.3 on Lao and falls to 11.7 on Thai. Both comparisons use 300 devtest sentences per language.

Kimi’s Lao-only targets held up better. Thai held for two epochs, then fell to 44.3 in the third, with 17 of 300 Thai prompts producing Lao answers. Adding 989 Thai translations from the same teacher to the smaller Lao set raised final Thai by 3.1 points and changed final Lao by 0.1 point. Neither mixed run scored below 47.3 on Thai at the checkpoints Together evaluated. This comparison holds the number of Lao rows fixed between the Lao-only and smaller mixed runs, while changing the number of updates and adding direct supervision for Thai.

Run Lao training rows Thai training rows Lao chrF++ Lao script Thai chrF++
Qwen3.8-27B baseline 0 0 5.5 11% 46.7
SFT on human Lao 945 0 44.7 100% 5.3
Kimi Lao only 965 0 41.8 100% 44.3
Kimi Lao + Thai 965 989 41.9 100% 47.4
Kimi Lao + Thai, more Lao 3,834 989 44.3 100% 47.8
Kimi-K3.1-Pro teacher n/a n/a 47.5 100% 49.9

Final Lao scores use all 1,012 devtest sentences. Thai scores use 300. FLORES-200 devtest was held out throughout.

The smaller mixed run trailed the human-reference control on Lao. Reference style offers one explanation. Using Kimi’s Lao translations as the reference, the distilled student reached 58 chrF++ and the human-trained student reached 47. With additional Wikipedia translations, the larger mix gained 2.4 chrF++ points on the full human-reference Lao test. The Thai count stayed at 989, so Thai’s share by row count fell from about 51% to 21% as the Lao set grew. The corresponding share of supervised tokens depends on translation lengths. Both mixes retained Thai on the reported evaluation.

On the full Lao test, the larger mix reached 93% of Kimi’s score and closed 92% of the gap from the Qwen baseline to Kimi. The second calculation accounts for the student’s starting score.

\[\frac{s_{\mathrm{adapter}} - s_{\mathrm{base}}}{s_{\mathrm{teacher}} - s_{\mathrm{base}}} = \frac{44.3 - 5.5}{47.5 - 5.5} \approx 0.92.\]

5. What more data bought per training run

With 4,823 rows and a batch of 16, the larger mix fits 301 full batches per epoch, matching the reported 602 steps over two epochs. One epoch of that mix reached 43.2 chrF++ on the 300-sentence Lao slice. The smaller mix reached 41.3 after three epochs and 366 steps. The larger run saw more distinct Lao examples in fewer updates at those checkpoints. The comparison also changes source domain and follows different learning-rate schedules, so it measures the two recipes as run.

Training run Steps Epochs Supervised tokens Loss, first 10 steps Loss, last 25 steps
SFT on human Lao 177 3 0.37M 0.54 0.16
Kimi Lao only 180 3 0.38M 0.36 0.06
Kimi Lao + Thai 366 3 0.49M 0.43 0.06
Kimi Lao + Thai, more Lao 602 2 1.11M 0.43 0.13
Five-language adapter 831 1.5 1.04M 0.82 0.30

Together reports loss in nats per supervised token. The token counts exclude the prompts.

Two patterns stand out in the appendix. First, Qwen reached 0.06 loss on Kimi’s Lao targets and 0.16 on human Lao targets from the same source split. Together suggests Kimi’s wording may be more consistent. The lower loss measures how well Qwen fits those particular targets, and the ordering reverses on the human-reference Lao benchmark. Second, after the first epoch the four Lao runs’ training losses fell by more than half, while Lao chrF++ on the 300-sentence slice changed by −1 to +3 points. That gap between the curves is a consequence of measuring fit to repeated target tokens and measuring new translations under generation. Training curves and run statistics

There was a measurable cost to observing those curves. The first training step took 2.5 to 3 minutes per run, and later steps had medians of 2.6 to 3.2 seconds. The best Lao run held the resource for 46 minutes, including 33.7 minutes of training steps and 7.1 minutes across evaluation passes. Together reports USD 7.46 to generate roughly 4,000 Lao candidates and USD 260 for the experiment series on B200s. Those figures describe different scopes. The larger number includes the experiments used to identify the useful mix. Reported timing and costs


6. Extending the recipe to five languages

Together trained a second mixed adapter on 8,871 teacher translations over 831 steps. Lao, Northern Sotho, Yoruba, and Zulu each started with the same 997 English FLORES-200 dev sentences and 1,000 Wikipedia sentences, with a separate pool of 1,000 Wikipedia sentences for Thai. Northern Sotho and Zulu had large teacher leads in the screen. Yoruba had the lowest score among the Latin-script languages for both models. The adapter improved all five reported scores. Northern Sotho closed 85% of its gap to the teacher and Zulu closed 12%. Together observed repetition loops in 1–2% of Zulu outputs during training. Five-language recipe

Language Qwen baseline Five-language adapter Kimi teacher
Lao 5.5 41.8 47.5
Northern Sotho 32.7 48.0 50.7
Yoruba 20.7 25.7 27.7
Zulu 37.7 39.2 50.3
Thai 46.7 48.0 49.9

Scores are chrF++ on 1,012 Lao sentences and 300 sentences per other language. The teacher was scored on the same sentences as the student.

The five-language adapter scored 41.8 on Lao, compared with 44.3 for the larger Lao + Thai run. It also used about 2,000 Lao candidates before filtering, versus about 4,000 in the larger run, and trained for 1.5 epochs versus 2. The observed difference combines per-language data volume, exposure, and the extra languages in the mix. A controlled test of interference would hold the Lao examples and their exposure fixed while varying the other languages.


Takeaway

Using the observed 46.7 Thai baseline as a minimum retention score changes which checkpoint wins. The human-reference control leads on Lao alone. The larger mixed adapter leads among the Lao-focused students that clear the Thai threshold, with 44.3 on Lao and 47.8 on Thai. That is a selection rule on this benchmark’s point estimates. The evidence covers English-to-target translation on FLORES-200, with devtest used to monitor training. It leaves broad Thai capability and performance on independent translation corpora open.