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 20 minutes ago
Added to GitGenius on February 2nd, 2025
Created on December 26th, 2024
Open Issues & Pull Requests: 216 (+0)
GitHub issues: Enabled
Number of forks: 16,735
Total Stargazers: 104,437 (-1)
Total Subscribers: 745 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 9.5 hours
Mean response time: 5.1 days
90th percentile: 10.8 days
Tracked items: 901

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 146
New in 7 days: 16
Closed in 7 days: 6
Avg open age: 55 days
Stale 30+ days: 3
Stale 90+ days: 0

Recent activity

Opened in 7 days: 13
Closed in 7 days: 5
Comments in 7 days: 64
Events in 7 days: 135

Top labels

  • stale (584)
  • closed-as-stale (554)
  • 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.