Training

Pinned sources DeepSeek‑V3.2 report (arXiv 2512.02556, assets/paper.pdf @ a7e62ac) · DeepSeek‑V3.2‑Exp’s sources up to the shared base checkpoint · no training code is published

  1. Random initialisation
  2. Pre‑trainingDeepSeek-V314.8T4KNTPFIMrate 0.1MTPλ 0.3, then 0.1Balanceα 0.0001What trains: allMTP module
  3. Context 32KDeepSeek-V3≈ 62.9B32KNTPWhat trains: allYaRN, s = 40
  4. Context 128KDeepSeek-V3≈ 62.9B128KNTPWhat trains: all
  5. DeepSeek-V3-Base
  6. Off this path: DeepSeek-V3 2 stages
  7. SFTDeepSeek-V3not statednot statedSFTDistillationfrom DeepSeek-R1not statednot stated: tokens, context, what trains
  8. RLDeepSeek-V3not statednot statedGRPOnot statednot stated: tokens, context, what trains
  9. DeepSeek-V3
  10. From V3’s base: before or after its context extension, not stated
  11. Context 32KDeepSeek-V3.1630B32KNTPWhat trains: all
  12. Context 128KDeepSeek-V3.1209B128KNTPWhat trains: all
  13. DeepSeek-V3.1-Base
  14. Off this path: DeepSeek-V3.1, DeepSeek-V3.1-Terminus 2 stages
  15. Post‑trainingDeepSeek-V3.1not statednot statednot statednot statednot stated: tokens, context, objective, what trains
  16. DeepSeek-V3.1
  17. From V3.1 or from a base checkpoint: not stated
  18. UpdateDeepSeek-V3.1-Terminusnot statednot statedDistillationGRPOnot statednot stated: tokens, context, what trains
  19. DeepSeek-V3.1-Terminus
  20. V3.1-Base or a later checkpoint: not stated
  21. V3.1-Terminus base checkpoint
  22. Dense warm‑upDeepSeek-V3.2-Exp2.1B128KKLto main attentionWhat trains: indexer+ indexer
  23. Sparse trainingDeepSeek-V3.2-Exp943.7B128KLMKLselected positionsWhat trains: allsparse, top 2,048
  24. DeepSeek-V3.2 base
  25. DeepSeek-V3.2-Exp, September 2025, earlier release 2 stages
  26. Specialist distillationDeepSeek-V3.2-Expnot statednot statedDistillationfrom specialistsnot statednot stated: tokens, context, what trains
  27. Mixed RLDeepSeek-V3.2-Expnot statednot statedGRPOone stagenot statednot stated: tokens, context, what trains
  28. DeepSeek-V3.2-Exp
  29. Specialist distillationnot statednot statedDistillationfrom specialistsnot statednot stated: tokens, context, what trains
  30. Distilled checkpoint
  31. Mixed RLscaled upnot statednot statedGRPOone stagenot statednot stated: tokens, context, what trains
  32. DeepSeek-V3.2
  • tokens, log scale
  • derived: computed from stated numbers
  • NTPdashed: concluded, no source names it
  • not stated by the sources
  • the architecture changes
  • checkpoint
  • checkpoint, weights published
  • a join the sources leave unexplained

Context 128K

×

Stage · DeepSeek-V3.1

The 128K extension again, 3.3 times longer.

Next-token prediction

L=−1T∑i=2T+1log⁡Pi[ti]\mathcal L=-\frac1T\sum_{i=2}^{T+1}\log P_i[t_i]
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.

tit_i: the token at position ii; Pi[ti]P_i[t_i]: the probability the model, reading the tokens before it, gave that token; TT: the sequence length.

Next-token prediction continues from pre-training; whether multi-token prediction, fill-in-the-middle and the balance loss do too, the report does not say.

Tokens
209B
Against V3
3.3 × 62.9B ≈ 208Bderived

Not disclosed Steps, batch, learning rate

What the terms meanMTP, multi-token prediction
MTP, multi-token prediction
Extra modules predict tokens further ahead than the next one, and their cross-entropy, times a weight λ, is added to the loss.
All settings2
Tokens
209B, “extended by 3.3x”
Against V3
3.3 × 62.9B ≈ 208BderivedThe V3 report’s 128K phase, 3.3 times over.
Sources2