Pre-training, constant rate
×The first 10T tokens of pre-training at a 4K context and a constant learning rate, with the MuonClip optimizer.
Next-token prediction
In words
At every position the model gives each token of the vocabulary a probability of coming next; the loss is the negative logarithm of the probability it gave the token that does come next, averaged over the sequence.
: the token at position ; : the probability the model, reading the tokens before it, gave that token; : the sequence length.
Next-token prediction as drawn for DeepSeek‑V3.2‑Exp →That plate also draws multi-token prediction, fill-in-the-middle and DeepSeek-V3’s sequence-wise balance loss.
- Tokens
- 10T
- Learning rate
- 2e-4 after a 500-step warm-up
- Optimizer
- MuonClip, QK‑Clip
- Batch
- 67M tokens
- Weight decay
- 0.1
Not disclosed Steps · Number format of the computation
Why
Muon is token-efficient but lets attention logits grow until training becomes unstable; QK‑Clip rescales a head’s query and key weights after an update whenever its largest logit passes . Kimi K2 report §2.1, p. 3
Architecture at this stageThe model as drawn, at its original 4K window.
What the terms meanMuonClip · Muon
- MuonClip
- Kimi K2’s optimizer: Muon, which replaces each weight matrix’s momentum by its nearest orthogonal matrix, with QK-Clip, which after an update scales a head’s query and key weights down whenever its largest attention logit exceeds a threshold, so the logits cannot grow until training diverges. Kimi K2 report §2.1, pp. 3–4
- 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
All settings11
- Tokens
- 10T
- Context
- 4,096 tokens
- Learning rate
- 2e-4, constant after a 500-step warm-up (a WSD schedule)
- Optimizer
- MuonClip: Muon with weight decay, consistent RMS matching and QK-Clip, which rescales the query and key weights of a head whose largest attention logit exceeds τ = 100
- Weight decay
- 0.1 throughout
- Batch
- 67M tokens, held constant
- Data
- Rephrased knowledge and mathematics data beside the original text, to raise the utility of each high-quality token
- Hardware
- A cluster of NVIDIA H800 GPUs, 8 to a node
- Number format
- Parameters in BF16; some activations stored in FP8-E4M3, never computed in FP8
- Trainable
- Every parameter
- Objective
- Next-token prediction
Sources8
- Kimi K2 report, p. 9Tokens, Context, Learning rate, Optimizer, Weight decay, Batch, Trainable
- Kimi K2 report, p. 3Optimizer
- Kimi K2 report, p. 4Optimizer
- Kimi K2 report, p. 5Data
- Kimi K2 report, p. 6Data
- Kimi K2 report, p. 7Hardware
- Kimi K2 report, p. 8Number format
- Kimi K2 report, p. 2Objective