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. V3.1-Base or a later checkpoint: not stated
  15. V3.1-Terminus base checkpoint
  16. Dense warm‑upDeepSeek-V3.2-Exp2.1B128KKLto main attentionWhat trains: indexer+ indexer
  17. Sparse trainingDeepSeek-V3.2-Exp943.7B128KLMKLselected positionsWhat trains: allsparse, top 2,048
  18. DeepSeek-V3.2 base
  19. DeepSeek-V3.2-Exp, September 2025, earlier release 2 stages
  20. Specialist distillationDeepSeek-V3.2-Expnot statednot statedDistillationfrom specialistsnot statednot stated: tokens, context, what trains
  21. Mixed RLDeepSeek-V3.2-Expnot statednot statedGRPOone stagenot statednot stated: tokens, context, what trains
  22. DeepSeek-V3.2-Exp
  23. Specialist distillationnot statednot statedDistillationfrom specialistsnot statednot stated: tokens, context, what trains
  24. Distilled checkpoint
  25. Mixed RLscaled upnot statednot statedGRPOone stagenot statednot stated: tokens, context, what trains
  26. 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

SFT

×

Stage · DeepSeek-V3

Two epochs on 1.5M instruction instances.

Supervised fine-tuning

LSFT=−∑t∈ylog⁡P(yt∣x,y<t)\mathcal L_{\mathrm{SFT}}=-\sum_{t\in y}\log P(y_t\mid x,y_{<t})
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.

xx: the prompt; yy: the response; the prompt’s tokens are left out of the loss.

  • Distillation through data. Other models, teachers or specialists, write responses, and the model is trained on what they write.
Data
1.5M instances
Epochs
2
Learning rate
Cosine, 5×10⁻⁶ → 1×10⁻⁶

Not disclosed Batch · Optimiser

All settings4
Data
1.5M instances across domains. Reasoning data first comes from an internal DeepSeek-R1 model; expert models trained with SFT and RL blend its responses with concise ones, and rejection sampling curates the result. Non-reasoning data comes from DeepSeek-V2.5, checked by annotators
Epochs
2
Learning rate
Cosine, 5×10⁻⁶ → 1×10⁻⁶
Packing
Several samples per sequence, kept apart by sample masking
Sources2