Training

Pinned sources DeepSeek‑V4.1 technical report @ 2cba9e4 · no training code is published

  1. Start of training
  2. Start of the encoder’s training
  3. Vision encoder: contrastiveDeepSeek-ViT≈ 47B pairsnot statedContrastiveSigLIPWhat trains: ViTnot stated: context
  4. Vision encoder: autoregressiveDeepSeek-ViT236Bnot statedNTPWhat trains: ViTnot stated: context
  5. DeepSeek-ViT
  6. Pre‑training 0–28T28T64KNTPBalanceweight 0.0001What trains: not ViTsparse from scratch
  7. Pre‑training 28–34TLR decay begins6T64KNTPBalanceweight 0.0001What trains: all
  8. Pre‑training 34–45T11T1MNTPBalanceweight 0.0001What trains: all
  9. DeepSeek-V4.1-Flash-Base
  10. DSpark stagenot statednot statednot statedWhat trains: DSparkDSpark addednot stated: tokens, context, objective
  11. SFTnot statednot statedSFTnot statedpost-training changesnot stated: tokens, context, what trains
  12. RLnot statednot statedGRPOnot statednot stated: tokens, context, what trains
  13. On‑policy distillationnot statednot statedOPDover 40 teachersnot statednot stated: tokens, context, what trains
  14. DeepSeek-V4.1-Flash
  • tokens, log scale
  • derived: computed from stated numbers
  • not stated by the sources
  • the architecture changes
  • checkpoint
  • checkpoint, weights published

DSpark stage

×

The speculative-decoding module is trained in a stage of its own after pre-training, with the backbone frozen.

Trainable
DSpark alone
DSpark
3 blocks, window 128, 5 draft positions

Not disclosed Objective · Data · Steps · Learning rate · Tokens

Why

DSpark is trained after pre-training and kept training through post-training, so that it stays aligned with the policy as that changes. DeepSeek-V4.1 report §2.4.3, p. 14

DSpark exists from this stage on; the pinned checkpoint holds its blocks and heads.

What the terms meanSpeculative decoding · DSpark
Speculative decoding
A small draft model proposes the next few tokens and the large model checks them all in one pass, accepting them so that its own output distribution is unchanged; each accepted token is a forward pass saved. DeepSeek-V4.1 report §2.4.3, pp. 13–14
DSpark
DeepSeek-V4.1-Flash’s speculative-decoding module: three Transformer layers that draft five tokens in one pass, with a head that predicts how likely each is to be accepted. DeepSeek-V4.1 report §2.4.3, pp. 13–14
All settings2
Trainable
DSpark alone; the backbone is frozen
DSpark
3 Transformer blocks with a sliding window of 128 tokens; logits for 5 draft positions in one pass; a Markov head and a confidence head
Sources2