How DeepSeek-V2 was made, stage by stage: 8.1T tokens of pre-training with three balance losses, then a YaRN context extension.
Training
Pinned sources DeepSeek‑V2 paper (arXiv 2405.04434v5) · no training code is published
- Random initialisation
- Pre‑training8.1T4KNTPBalanceα₁ 0.003, α₂ 0.05, α₃ 0.02What trains: all
- Context extension≈ 18.9B32KNTPWhat trains: allYaRN, s = 40
- DeepSeek-V2
- tokens, log scale
- derived: computed from stated numbers
- NTPdashed: concluded, no source names it
- the architecture changes
- checkpoint
- checkpoint, weights published