Training

  1. Start of training
  2. Start of the encoder’s training
  3. Vision encoder: contrastiveDeepSeek-ViT≈ 47B pairsnot statedContrastiveSigLIPViT
  4. Vision encoder: autoregressiveDeepSeek-ViT236Bnot statedNTPViT
  5. DeepSeek-ViT
  6. Pre-training 0–28TDeepSeek-V4.1-Flash28T64KNTPBalanceweight 0.0001not ViTsparse from scratch
  7. Pre-training 28–34TLR decay begins6T64KNTPBalanceweight 0.0001all
  8. Pre-training 34–45TDeepSeek-V4.1-Flash11T1MNTPBalanceweight 0.0001all
  9. DeepSeek-V4.1-Flash-Base
  10. DSpark stageDeepSeek-V4.1-Flashnot statednot statednot statedDSparkDSpark added
  11. SFTDeepSeek-V4.1-Flashnot statednot statedSFTnot statedpost-training changes
  12. RLDeepSeek-V4.1-Flashnot statednot statedRLgroup-relativenot stated
  13. On-policy distillationDeepSeek-V4.1-Flashnot statednot statedOPDover 40 teachersnot stated
  14. DeepSeek-V4.1-Flash
  • tokens, log scale
  • derived: computed from stated numbers
  • context length
  • all parameters train
  • a part trains
  • all but a part trains
  • NTPdashed: concluded, no source names it
  • not stated by the sources
  • the architecture changes
  • checkpoint
  • checkpoint, weights published
  • a join the sources leave unexplained

Pre-training 28–34T

×

Stage · DeepSeek-V4.1-Flash

The learning rate starts its cosine decay and the vision encoder is unfrozen; the sequence length is still 64K.

Tokens
6Tderived
Context
64K
Learning rate
cosine decay from 2.6×10⁻⁴
Vision encoder
unfrozen

Derived

Objective. No sentence of the report names the pre-training loss. The model “takes images and text as input and generates text autoregressively” (p. 7) and the base model is evaluated by bits per byte (p. 24): next-token prediction is concluded from these, and the report does not state it.

Trained. The report says the vision encoder is unfrozen at the onset of the decay and trained jointly with the model, and names no part held fixed after it: that every parameter trains is concluded. The report lists no trainable set.

Not disclosed The encoder’s learning rate · Batch in sequences · Gradient clipping · Initialization · Compute · The indexer’s training loss

All settings13
Objective
Next-token prediction on text; no MTP modulederivedNo sentence of the report names the pre-training loss. The model “takes images and text as input and generates text autoregressively” (p. 7) and the base model is evaluated by bits per byte (p. 24): next-token prediction is concluded from these, and the report does not state it.
No MTP
“We omit the MTP module during backbone pre-training”
Load balancing
Auxiliary-loss-free: bias update speed 0.001 for image tokens and for text tokens, two sets of biases; a sequence-level balance loss with weight 0.0001
Batch
100.6 million tokens, fixed throughout
Attention
Sparse from scratch, “without any dense attention warmup stages”
Optimizer
Muon for linear weights (momentum 0.95, weight decay 0.1, update RMS rescaled to 0.18), head-wise for Query and Key weights; a Sinkhorn-balanced momentum update for the embeddings and the prediction head (K = 11, τ = 10⁻³); AdamW for normalization weights and other non-matrix parameters (β₁ = 0.9, β₂ = 0.95; weight decay 0.1 on normalization weights, none on biases and scaling factors)
Engram learning rate
5 × the learning rate
Data
Text and multimodal corpora joined, 7 : 1 in tokens of text-only to multimodal; multimodal data from the start of pre-training
Packing
Best-fit packing with a padding rate of at most 10⁻⁴; sample-level attention masking
Context
64K, until 34T tokens
Learning rate
Cosine decay from 2.6×10⁻⁴ to 2.6×10⁻⁵ between 28T and 40T tokens
Tokens
34T − 28T = 6TderivedThe report gives the boundaries in tokens: the learning rate is constant until 28T and decays to 40T, and the sequence length changes at 34T, of 45T in all.
Vision encoder
From the onset of learning-rate decay, unfrozen and trained with the model at a smaller learning rate
Sources9