Annealing
×An annealing phase towards the end of pre-training: 400B tokens at a 4K context while the learning rate decays further.
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
- 400B
- Learning rate
- 2e-5 to 7e-6
- Context
- 4,096
Not disclosed Steps · Number format of the computation
Architecture at this stageThe model as drawn, at its original 4K window.
All settings6
- Tokens
- 400B
- Context
- 4,096 tokens
- Learning rate
- 2e-5 down to 7e-6, one range for the annealing and the long-context stage together
- Batch
- 67M tokens, held constant
- Trainable
- Every parameter
- Objective
- Next-token prediction
Sources1
- Kimi K2 report, p. 9Tokens, Context, Learning rate, Batch, Trainable, Objective