SFT
×Supervised fine-tuning with Muon on a large instruction set, including synthesized multi-step tool-use trajectories.
Supervised fine-tuning
In words
The model is trained on examples of the answers wanted, prompts with their responses, by the cross-entropy of next-token prediction on the responses.
: the prompt; : the response; the prompt’s tokens are left out of the loss.
Supervised fine-tuning as drawn for Llama 3.1 →That plate also draws Llama 3’s rejection sampling.
- Data
- instructions with responses from K1.5 and domain experts
- Optimizer
- Muon
Not disclosed Tokens · Context · Learning rate · Epochs
Why
A checkpoint pre-trained with Muon gives the best results when it is fine-tuned with Muon too. Kimi K2 report §3.1, p. 9
Architecture at this stageThe model as drawn, at 128K.
What the terms meanMuon · Trajectory
- Muon
- An optimizer for weight matrices: it keeps a momentum of the gradients and replaces each matrix’s momentum by its nearest orthogonal matrix (a few Newton–Schulz iterations), so every direction of the matrix is updated by a similar amount. Kimi K2 report §2.1, pp. 3–4
- Trajectory
- The record of a model working through a task: its reasoning, its tool calls and what the tools returned, turn by turn.
All settings4
- Optimizer
- Muon, as in pre-training: a Muon-pre-trained checkpoint fine-tunes best with Muon
- Data
- Instructions across domains; responses from Kimi K1.5 and in-house domain experts, judged and filtered by LLMs or humans
- Agentic data
- A pipeline synthesizing tool specs, agents with tasks, and trajectories of tool use, filtered by a judge
- Critic
- The model’s ability to judge its own outputs, used later as a reward, is initialized in this stage from preference data
Sources3
- Kimi K2 report, p. 9Optimizer, Data, Agentic data
- Kimi K2 report, p. 10Agentic data
- Kimi K2 report, p. 12Critic