Production model

DeepSeek V2

Architecture

Positional encoding RoPE (decoupled head for MLA)
Norm placement Pre-Norm
Norm type RMSNorm
QK-Norm no
Activation SwiGLU
Attention MLA
MoE DeepSeekMoE with standard auxiliary balance loss
Other 60 layers, Context extended from 4K base to 128K via YaRN, First model to ship MLA architecture

Techniques used

DeepSeek V2 (May 2024) is the model that introduced MLA and established the DeepSeek architectural lineage. The four defining choices:

The 60 layers and Pre-Norm RMSNorm + SwiGLU stack are otherwise canonical. The cumulative effect of MLA + fine-grained MoE was a sparse-activation model with quality comparable to dense 70B models at ~1/3 the inference cost.

V2 is included here as the original MLA + DeepSeekMoE adopter; for the latest in the lineage, see DeepSeek V3.

Sources

Export

BibTeX
@article{arxiv_2405_04434,
  title         = {DeepSeek V2},
  author        = {DeepSeek-AI},
  year          = {2024},
  eprint        = {2405.04434},
  archivePrefix = {arXiv},
  url           = {https://arxiv.org/abs/2405.04434}
}
CSL JSON
{
  "id": "arxiv_2405_04434",
  "type": "article-journal",
  "title": "DeepSeek V2",
  "author": [
    {
      "literal": "DeepSeek-AI"
    }
  ],
  "issued": {
    "date-parts": [
      [
        2024
      ]
    ]
  },
  "URL": "https://arxiv.org/abs/2405.04434",
  "number": "2405.04434",
  "source": "arXiv"
}
RIS
TY  - JOUR
TI  - DeepSeek V2
AU  - DeepSeek-AI
PY  - 2024
JO  - arXiv
AN  - arXiv:2405.04434
UR  - https://arxiv.org/abs/2405.04434
ER  - 

Models like this