deepseek-ai/DeepSeek-V3

The deepseek-ai/deepseek-v3 repository contains the implementation and documentation for DeepSeek-V3, a large-scale Mixture-of-Experts language model with...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 45 minutes ago
Added to GitGenius on February 2nd, 2025
Created on December 26th, 2024
Open Issues & Pull Requests: 210 (+0)
Number of forks: 16,726
Total Stargazers: 104,403 (+0)
Total Subscribers: 743 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.8 hours
Mean response time: 4.9 days
90th percentile: 10.5 days
Tracked items: 954

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Almost all tracked open issues have seen activity in the last three months. Only 2% of issues opened in the past year have been closed. Three people close 68% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 178
New in 7 days: 11
Closed in 7 days: 13
Avg open age: 39 days
Stale 30+ days: 36
Stale 90+ days: 2

Recent activity

Opened in 7 days: 8
Closed in 7 days: 13
Comments in 7 days: 345
Events in 7 days: 491

Top labels

  • stale (601)
  • closed-as-stale (558)
  • enhancement (19)
  • question (1)
  • spam (1)

Detailed Description

The deepseek-ai/deepseek-v3 repository contains the implementation and documentation for DeepSeek-V3, a large-scale Mixture-of-Experts language model with 671 billion total parameters and 37 billion activated parameters per token. The repository is written in Python and classified across multiple domains including natural language processing, transformer architecture, computer vision, model scaling, and multimodal AI capabilities. The codebase serves as a research development platform for advanced deep learning and neural network implementations.

DeepSeek-V3 introduces several architectural innovations built upon the foundation of DeepSeek-V2. The model pioneers an auxiliary-loss-free strategy for load balancing that minimizes performance degradation while maintaining efficient token distribution across experts. The architecture incorporates Multi-head Latent Attention and DeepSeekMoE designs, and introduces a Multi-Token Prediction training objective that improves model performance and enables speculative decoding for inference acceleration. The model was pre-trained on 14.8 trillion diverse and high-quality tokens, followed by Supervised Fine-Tuning and Reinforcement Learning stages.

The training process demonstrates remarkable efficiency and stability. DeepSeek-V3 required only 2.788 million H800 GPU hours for complete training, with 2.664 million hours dedicated to pre-training and 0.1 million hours for post-training stages. The repository documents an FP8 mixed precision training framework that was validated at scale for the first time on an extremely large model. The training process achieved nearly full computation-communication overlap through co-design of algorithms, frameworks, and hardware, overcoming cross-node MoE training bottlenecks. Notably, the entire training process remained stable without any irrecoverable loss spikes or rollbacks.

The repository provides access to two model variants: DeepSeek-V3-Base and DeepSeek-V3, both with 128K context length, available through Hugging Face. The total model size on Hugging Face is 685 billion parameters, including 671 billion main model weights and 14 billion Multi-Token Prediction module weights. Comprehensive evaluation results show DeepSeek-V3 outperforming other open-source models and achieving performance comparable to leading closed-source models across standard benchmarks including MMLU, BBH, code tasks, and mathematical reasoning.