Distilling Kimi-K3.1-Pro into Qwen3.8-27B: Teaching a model a new language
Qwen3.8-27B answers in Thai when asked for Lao (5.5 chrF++ vs Kimi-K3.1-Pro's 47.5), and off-policy distillation with a LoRA adapter trained on about 3,800 filtered Kimi translations raises it to 44.3, 93% of the teacher, with 100% Lao script. The catch was catastrophic forgetting: training on Lao alone (even human references) collapsed Thai to 5.3, and mixing in about 1,000 teacher Thai translations preserved it. Generating more teacher data beat adding epochs. A five-language adapter also improved Northern Sotho, Yoruba and Zulu, and all experiments cost $260.
Related posts
- NVIDIA Releases 6 Million Multi-Lingual Reasoning Dataset
Hugging Face mediumAdeptNemotron Post-Training Dataset V2 translates NVIDIA's English reasoning post-training data into French, Spanish, German, Italian and Japanese, translating prompts and responses while keeping the original English reasoning chains. LLM translation of long SFT data tends to hallucinate, so the pipeline translates line by line, skips code blocks, and forces outputs inside special brackets so malformed translations can be detected and discarded. Discard rates reach 26% for Spanish code data, and fastText language ID filtering removes another 1.1% of examples. Qwen2.5-32B-Instruct-AWQ (German) and Qwen2.5-14B-Instruct (other languages) did the translation, chosen for quality, single-A100 fit and Apache 2.0 licensing. The release ties in with Nemotron Nano 2 9B, a hybrid Transformer–Mamba model with a configurable thinking budget.
- Kimi K3: the complete developer guide
Together AI mediumAdeptKimi K3 is Moonshot AI's 2.8-trillion-parameter open-weight model. Its architecture combines Kimi Delta Attention, a hybrid linear attention enabling 1M context, with Attention Residuals and a Stable LatentMoE design that activates 16 of 896 experts, trained with Quantile Balancing and Per-Head Muon. On Together AI's OpenAI-compatible API it supports low/high/max reasoning effort, streaming of separate reasoning traces, vision, strict JSON-schema output, tool calling, and dynamic tool loading via system messages for large catalogs. Practical guidance: keep long prefixes byte-stable to hit the automatic cache, omit the fixed sampling parameters, set generous max_tokens, and replay reasoning_content across turns because the model depends on preserved thinking.
- How We Developed Zeta2
Zed mediumAdeptZeta2, Zed's new default edit prediction model, reaches a 30% higher acceptance rate with faster responses. It was trained by knowledge distillation: opt-in user starting states from open source repos are fed to a Sonnet 4.6 teacher, and Seed-Coder-8B is fine-tuned on roughly 100,000 of its predictions. Training on real editing traces replaced too-clean commit-derived synthetic data, and a reversal problem, where the model deleted the user's recent keystrokes, was fixed through teacher prompt tuning and finer-grained edit history. Seed-Coder beat Qwen2.5-Coder-7B on deltaChrF (80.61 vs 78.36), and rollout went from dogfooding to a shadow release, then a gradual expansion gated on acceptance rate.
- How good are LLMs at fixing their mistakes? A chatbot arena experiment with Keras and TPUs
Hugging Face mediumAdeptSmall instruction-tuned LLMs were given a calendar-assistant task that translates spoken requests into single-line Python API calls, then corrected in plain English when they made mistakes. Gemma 2 9B and Llama 3.1 8B completed the dialog reliably and fixed errors when told, while 1–3B models, Vicuna and Mistral 7B often failed or compounded mistakes. CodeGemma had sticky recurring errors, and online Gemini was not better despite its size. The test harness is a Gradio app on Hugging Face Spaces that shards eight models across a TPU v5e 2x4 (128GB) using Keras layout maps on JAX, keeping seven or eight sub-10B models in memory at once in bfloat16.
- 📚 3LM: A Benchmark for Arabic LLMs in STEM and Code
Hugging Face mediumAdept3LM is a benchmark for evaluating Arabic LLMs on STEM reasoning and code generation, built from three datasets: 865 native MCQs extracted from Arabic grade 8–12 educational materials via OCR (with Pix2Tex for math) and LLM-assisted extraction, 1,744 synthetic mid-to-high difficulty MCQs generated with the YourBench pipeline, and Arabic translations of HumanEval+ and MBPP+ validated by backtranslation with a ROUGE-L F1 cutoff of 0.8. Across 40+ models, Qwen2.5-72B-Instruct led MCQ accuracy (71.8% native, 67.0% synthetic), Gemma-3-27B led completion-style STEM (43.2%), and GPT-4o led code (83.5% pass@1+ on HumanEval-ar, 63.6% on MBPP-ar). Arabic and English pass@1 scores correlate at about 0.97, and instruction-tuned models proved more robust than base models under distractor perturbation. Datasets and lighteval/evalplus evaluation scripts are open-sourced.