Pre-training, decay
×Stage · Kimi K2
The next 5.5T tokens, the learning rate decaying on a cosine: 15.5T tokens of pre-training in all.
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
- 5.5T
- Learning rate
- cosine, 2e-4 to 2e-5
- Batch
- 67M tokens
Not disclosed Steps · Number format of the computation
Architecture at this stageThe model as drawn, at its original 4K window.
All settings8
- Tokens
- 5.5T, for 15.5T in all
- Context
- 4,096 tokens
- Learning rate
- Cosine decay from 2e-4 to 2e-5
- 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
- Trainable
- Every parameter
- Objective
- Next-token prediction
Sources4
- 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. 2Objective