Text Generation
Transformers
Safetensors
deepseek_v4
conversational
Eval Results
8-bit precision
fp8
Instructions to use deepseek-ai/DeepSeek-V4-Pro-0813 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepseek-ai/DeepSeek-V4-Pro-0813 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="deepseek-ai/DeepSeek-V4-Pro-0813") 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-0813") model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-V4-Pro-0813", device_map="auto") - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use deepseek-ai/DeepSeek-V4-Pro-0813 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-0813" # 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-0813", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/deepseek-ai/DeepSeek-V4-Pro-0813
- SGLang
How to use deepseek-ai/DeepSeek-V4-Pro-0813 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-0813" \ --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-0813", "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-0813" \ --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-0813", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use deepseek-ai/DeepSeek-V4-Pro-0813 with Docker Model Runner:
docker model run hf.co/deepseek-ai/DeepSeek-V4-Pro-0813
Add files using upload-large-folder tool
Browse files- model-00035-of-00066.safetensors +2 -2
- model-00036-of-00066.safetensors +2 -2
- model-00037-of-00066.safetensors +2 -2
- model-00038-of-00066.safetensors +2 -2
- model-00039-of-00066.safetensors +2 -2
- model-00040-of-00066.safetensors +2 -2
- model-00041-of-00066.safetensors +2 -2
- model-00042-of-00066.safetensors +2 -2
- model-00043-of-00066.safetensors +2 -2
- model-00044-of-00066.safetensors +2 -2
- model-00045-of-00066.safetensors +2 -2
- model-00046-of-00066.safetensors +2 -2
- model-00047-of-00066.safetensors +2 -2
- model-00048-of-00066.safetensors +2 -2
- model-00049-of-00066.safetensors +2 -2
- model-00050-of-00066.safetensors +2 -2
model-00035-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca4454ca96c52f4601cc375c7c41eb60921c54d99bc3fb2e1dc904c565b37d03
|
| 3 |
+
size 13868524408
|
model-00036-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ac44a65a92d0fda841f162e5c02343a079fdcdc48ef4f4afb5c30d6f984e910
|
| 3 |
+
size 13903805136
|
model-00037-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6aad5ecd60cdbe6c8dca6bafa2aa776d748abc0b079c7f7c1984caf66747ef4b
|
| 3 |
+
size 13868524408
|
model-00038-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8e9376eeba09924844494a471b560b5ea53cf12bb78a1fbd17abd54760834b6
|
| 3 |
+
size 13903805136
|
model-00039-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5182b6d508d4a5ba0ddfaecf6b9e35b69a54c369fed3e9f83521581fcbdb0d2a
|
| 3 |
+
size 13868524408
|
model-00040-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc91a11234ee0673db36daa759109ea5f42d1f54df256a7e48df2afab2fef017
|
| 3 |
+
size 13903805136
|
model-00041-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b446abc23a035807e6b55a195503daabb02e752fa424fbfe8f0530a944ce17d
|
| 3 |
+
size 13868524408
|
model-00042-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ec38fcfe3901cb3bc5b809d336c09f213d2e52cc5b80fde484becad16a117b1
|
| 3 |
+
size 13903805136
|
model-00043-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9279341f553af43e9ea63b06a0c61e2f6edd5ee224c3f228df2d3f5c62b5c01
|
| 3 |
+
size 13868524408
|
model-00044-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef67de8c818bc60d2d5b4aa652ee01afbea5fb2188f659bba6fc86af45ba00ba
|
| 3 |
+
size 13903805136
|
model-00045-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5830f22254b598bf9a0f336bacd233791421d02e7d110db00c1872d5d9afa8be
|
| 3 |
+
size 13868524408
|
model-00046-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22ae4fcc55b976724da9bd072096de540760f1eec3cff785e87621fd2d7060a4
|
| 3 |
+
size 13903805136
|
model-00047-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30890437fc59315e6fa08fa8f045df3225fde77b15f586e0da5020d43f9fd4e9
|
| 3 |
+
size 13868524408
|
model-00048-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:877e6060d9c190230583ec56ce923a0b7f6c696f020fe3a9ab95fda0914e99b2
|
| 3 |
+
size 13903805136
|
model-00049-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0527cff3c52ce82191e437b1ca8b858e1d3bbec6ed5ef52aac013cd2e6a85bee
|
| 3 |
+
size 13868524408
|
model-00050-of-00066.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52a94fd51d93b5e35e50ff431bce848292211b8528c6afeed4a6f0d34e23cce8
|
| 3 |
+
size 13903805136
|