Text Generation
Transformers
Safetensors
deepseek_v4
conversational
Eval Results
8-bit precision
fp8
Instructions to use deepseek-ai/DeepSeek-V4-Pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepseek-ai/DeepSeek-V4-Pro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="deepseek-ai/DeepSeek-V4-Pro") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-V4-Pro") model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-V4-Pro") - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use deepseek-ai/DeepSeek-V4-Pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "deepseek-ai/DeepSeek-V4-Pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deepseek-ai/DeepSeek-V4-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/deepseek-ai/DeepSeek-V4-Pro
- SGLang
How to use deepseek-ai/DeepSeek-V4-Pro with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "deepseek-ai/DeepSeek-V4-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deepseek-ai/DeepSeek-V4-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "deepseek-ai/DeepSeek-V4-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deepseek-ai/DeepSeek-V4-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use deepseek-ai/DeepSeek-V4-Pro with Docker Model Runner:
docker model run hf.co/deepseek-ai/DeepSeek-V4-Pro
Add LHTB (Long-Horizon-Terminal-Bench) eval result
#210 opened 1 day ago
by
zli12321
DeepSeek model output sometimes contains DSML tool-call markup
1
#209 opened 10 days ago
by
Sube126
Listed on OpenModelMap
#208 opened 12 days ago
by
duola15
862B?
#206 opened 14 days ago
by
Mint-Keyphase
Add SkillsBench v1.1 evaluation result
#205 opened 14 days ago
by
bingran-you
V4-Pro reasoning quality is remarkable — mobile implications
#204 opened 21 days ago
by
3morixd
Listed on OpenModelMap
🚀 1
1
#203 opened 28 days ago
by
duola15
Upload 15 files
#202 opened about 1 month ago
by
Ananthusajeev190
Raw <ds_safety> safety metadata tag exposed in model output (DeepSeek V4 Pro)
#201 opened about 1 month ago
by
mrshadowc
Can we deploy on AMD Mi300x GPU
#200 opened about 1 month ago
by
review4cv
Deploy deepseek-v4-pro in aws sagemaker
#199 opened about 1 month ago
by
tharun-swg
Add CHI-Bench eval results — agent harness: OpenAI Agents SDK
#197 opened about 2 months ago
by
hlnchen
CRÉATION DE PLATE-FORME
#194 opened about 2 months ago
by
RIJAHOERSON
🚀 ms-swift Provides DeepSeek-V4 Fine-tuning Practice
#193 opened about 2 months ago
by
study-hjt
DeepSeek Training Support
2
#192 opened about 2 months ago
by
SuperXr
what about rust?
#191 opened about 2 months ago
by
sh4downotfound
官方是否有兴趣帮忙改进完善一下Apple MLX框架的适配?
#190 opened about 2 months ago
by
hehua2008
将部份逻辑处理任务释放到 LLM 之外(计算外置)
👍 1
1
#189 opened about 2 months ago
by
lanesun
Add WildClawBench evaluation result
#187 opened about 2 months ago
by
yuhangzang
Add ResearchClawBench evaluation result
#186 opened about 2 months ago
by
black-yt
知识截止时效性建议:模型需更紧密跟进开源生态动态
3
#185 opened about 2 months ago
by
xbb19730559
Update README.md
#184 opened about 2 months ago
by
rayanayyara
Update README.md
#183 opened about 2 months ago
by
rayanayyara
Update README.md
#182 opened about 2 months ago
by
rayanayyara
Critical Feedback: Romanticizing Self-Harm & Overly Empathetic Response Pattern
#181 opened 2 months ago
by
Orange-Oracle
Systemic Defect: False Promises and Emotional Deflection as Evasion of Accountability
1
#180 opened 2 months ago
by
Orange-Oracle
Creative writing — a step back from V3.2
👍👀 3
2
#179 opened 2 months ago
by
Gantolandon
Upload wms-pro-dashboard-template (1).zip
#178 opened 2 months ago
by
hamid2015
Upload 11 files
#177 opened 2 months ago
by
hamid2015
Fixed a type annotation.
#175 opened 2 months ago
by
LIghtJUNction
Add Claw-Eval evaluation results
#173 opened 2 months ago
by
SaylorTwift
Question about causal safety in DeepSeek-V4 CSA prefill retrieval
#172 opened 2 months ago
by
Prachi01
Update README.md
#170 opened 2 months ago
by
nerualll63
Too much positivity bias
👍 7
1
#169 opened 2 months ago
by
Monblant
Thank You, DeepSeek! Empower Local Open Source with Smaller Models for Consumer Hardware/感谢 DeepSeek!赋能本地开源,社区强烈呼吁推出适合家用硬件的小型模型 (
👍 3
5
#168 opened 2 months ago
by
VaLtEc-BoY
Deepseek web issue
#167 opened 3 months ago
by
NukeNotNull
Performance feedback
1
#166 opened 3 months ago
by
toton12
Add YC-Bench benchmark result (avg $1,066,426)
#165 opened 3 months ago
by
RiddleHe
Will there be small models like 12b?
👍👀 5
15
#164 opened 3 months ago
by
Crownelius
Assigned weights for different teachers. 教师权重的分配
👍👀 1
#162 opened 3 months ago
by
lsh-algorithm
Where is HCA implemented?
2
#161 opened 3 months ago
by
lsh-algorithm
思考链下会出现英文混乱
7
#160 opened 3 months ago
by
smodeltest
Partial Rotary Positional Embedding 的笔误?
👀 4
#159 opened 3 months ago
by
WKQ9411
模型文件注释里的形状似乎写错了
#158 opened 3 months ago
by
yzll
什么时候支持api上传文档就好了
1
#156 opened 3 months ago
by
icbw
deepseek-ai/DeepSeek-V4-Pro
1
#153 opened 3 months ago
by
cmax123