Instructions to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
- SGLang
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF 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 "Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF" \ --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": "Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF" \ --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": "Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with Ollama:
ollama run hf.co/Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
- Unsloth Studio
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF to start chatting
- Pi
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with Docker Model Runner:
docker model run hf.co/Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
- Lemonade
How to use Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF-Q4_K_M
List all available models
lemonade list
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:# Run inference directly in the terminal:
llama cli -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:# Run inference directly in the terminal:
./llama-cli -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:# Run inference directly in the terminal:
./build/bin/llama-cli -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:Use Docker
docker model run hf.co/Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:🤝 Collaboration & Training Support
🔬 1. Distillation & Training Data
DeepSeek-V4-Pro in Max Effect mode produces detailed mathematics and STEM solutions.
Approximately 250K samples are cleaned and formatted for supervised reasoning transfer.
Qwen3.5-4B is fine-tuned through an Unsloth LoRA pipeline and merged into BF16.
An MTP-enabled Q8 GGUF build is used for the reported llama.cpp evaluations.
📊 2. Benchmark Results
2.1 GSM8K
The MTP-Q8 build was evaluated twice on the complete 1,319-question GSM8K test split. Across 2,638 sampled answers, the model produced 2,421 exact-answer matches, yielding a two-run pass@1 mean of 91.7741%. The two independent run scores were 91.6603% and 91.8878%, a spread of only 0.23 percentage points.
| Model | Accuracy |
|---|---|
| MiMo-V2.5-Pro | 99.60% |
| Llama-3.1-405B-Instruct | 96.80% |
| Llama-3.3-70B-Instruct | 94.84% |
| DeepSeek-V4-Pro-Qwen3.5-9B | 94.50% |
| DeepSeek-V4-Pro | 92.60% |
| DeepSeek-V4-Pro-Qwen3.5-4B | 91.77% |
| DeepSeek-V3 | 89.30% |
The 4B student is 2.73 points behind the published 9B score while remaining 2.47 points above the DeepSeek-V3 reference shown in the 9B release card.
1,319 questions × 2 runs · MTP-Q8 GGUF · llama.cpp · 64K context per slot · MTP draft n=2.
2.2 4B vs. 9B
Both students use the same DeepSeek-V4-Pro teacher pipeline and approximately 250,000-sample mathematics and STEM mixture. The 4B release prioritizes local efficiency; the 9B release retains more capacity for difficult multi-step STEM reasoning.
| Metric | DeepSeek-V4-Pro-Qwen3.5-4B | DeepSeek-V4-Pro-Qwen3.5-9B |
|---|---|---|
| GSM8K | 91.77% | 94.50% |
| MMLU-Pro Math | 80.40% | 92.40% |
| MMLU-Pro Physics | 74.20% | 89.40% |
| MMLU-Pro Chemistry | 74.80% | 89.80% |
| MMLU-Pro Average | 76.47% | 90.53% |
2.3 MMLU-Pro: Math, Physics & Chemistry
Each model in the comparison below was evaluated on 500 questions from each of three MMLU-Pro subsets—Math, Physics, and Chemistry—for 1,500 questions per model. The table follows the same column design and subject order as the 9B release card. The newly added Claude Mythos-distilled 27B result reaches 86.20% overall and appears directly before Claude Mythos-distilled 9B.
| Model | Evaluation Build | Math | Physics | Chemistry | Average |
|---|---|---|---|---|---|
| DeepSeek-V4-Pro-Qwen3.5-4B | MTP-Q8 GGUF | 80.40% | 74.20% | 74.80% | 76.47% |
| DeepSeek-V4-Pro-Qwen3.5-9B | MTP-Q8_0 GGUF | 92.40% | 89.40% | 89.80% | 90.53% |
| Qwen3.5-9B | MTP-Q8_0 GGUF | 90.60% | 89.00% | 89.20% | 89.60% |
| Claude Mythos-distilled 27B | MTP-Q8 GGUF | 88.40% | 87.60% | 82.60% | 86.20% |
| Claude Mythos-distilled 9B | MTP-Q8_0 GGUF | 86.00% | 78.60% | 78.60% | 81.07% |
⚙️ 3. Deployment Profile
🎯 4. Recommended Uses
- Grade-school and general mathematical problem solving
- Lightweight physics, chemistry, and broader STEM question answering
- Structured reasoning and analytical instruction following
- Local experiments with reasoning distillation and compact models
- MTP-enabled llama.cpp deployment research
⚠️ 5. Limitations
- This is an experimental 4B community model and remains subject to hallucinations, arithmetic mistakes, reasoning failures, and unstable behavior on difficult or underspecified tasks.
- The reported MMLU-Pro result covers fixed 500-question samples from Math, Physics, and Chemistry rather than the complete subsets; broader categories remain unevaluated.
- The GSM8K comparison combines reported results from different inference builds and backends; it is useful as a release overview, not as a perfectly controlled scaling study.
- The model received no coding-specific SFT data, and coding or tool-use generalization has not yet been established for this 4B checkpoint.
- A smaller parameter budget creates a visible gap versus the 9B release on the available MMLU-Pro STEM subsets.
- Users should independently verify high-stakes mathematical, scientific, medical, legal, or factual outputs.
📚 6. Resources, Acknowledgements & Citation
- Downloads last month
- 35
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF:# Run inference directly in the terminal: llama cli -hf Jackrong/DeepSeek-V4-Pro-Qwen3.5-4B-MTP-GGUF: