DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
FreeA Strong, Economical, and Efficient Mixture-of-Experts Language Model
About DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
DeepSeek-V2 is an open-source Mixture-of-Experts (MoE) language model developed by DeepSeek-AI, designed to achieve strong performance with economical training and efficient inference. The model has 236 billion total parameters, with 21 billion activated per token, and supports a context length of 128,000 tokens. It introduces two innovative architectures: Multi-head Latent Attention (MLA), which compresses the key-value cache into a latent vector to drastically reduce memory usage and accelerate inference, and DeepSeekMoE, which enables sparse computation to lower training costs. Pretrained on 8.1 trillion tokens of high-quality, multi-source data, the model undergoes supervised fine-tuning (SFT) and reinforcement learning (RL) to further enhance its capabilities. Compared to its predecessor DeepSeek 67B, DeepSeek-V2 saves 42.5% of training costs, reduces the KV cache by 93.3%, and increases maximum generation throughput by 5.76 times. Despite having only 21B activated parameters, DeepSeek-V2 achieves top-tier performance among open-source models across various benchmarks.
Key Features
Pros & Cons
- Top-tier performance among open-source models despite only 21B activated parameters
- Highly efficient inference due to KV cache compression via Multi-head Latent Attention
- Economical training achieved through sparse Mixture-of-Experts computation
- Long context support of 128K tokens
- Open-source and freely available for use and modification
- Large total parameter count (236B) may require substantial memory and computational resources to serve the full model
- Limited information on specific benchmark details and comparisons beyond the abstract