Instructions to use xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic") model = AutoModelForMultimodalLM.from_pretrained("xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic", device_map="auto") 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?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic
- SGLang
How to use xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic 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 "xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic" \ --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": "xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic", "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 "xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic" \ --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": "xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic with Docker Model Runner:
docker model run hf.co/xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic
- This is a decensored version of Jackrong/DeepSeek-V4-Pro-Qwen3.5-9B, made using Heretic v2.0.0.dev0
- Arbitrary-Rank Ablation (ARA) parameters
- Performance
- 🤝 Collaboration & Training Support
- 🔬 1. Distillation & Training Data
- 📊 2. Benchmark Results
- 🛠️ 3. Generalization Beyond the Training Mix
- ✅ 4. Instruction Following & Output-Format Compliance
- 🎮 Game Showcase: Star Skip by Kyle
- 🎯 5. Recommended Uses
- ⚠️ 6. Limitations
- 📚 7. Resources, Acknowledgements & Citation
- Arbitrary-Rank Ablation (ARA) parameters
This is a decensored version of Jackrong/DeepSeek-V4-Pro-Qwen3.5-9B, made using Heretic v2.0.0.dev0
Click here for the 4B version.
Arbitrary-Rank Ablation (ARA) parameters
| Parameter | Value |
|---|---|
| start_layer_index | 9 |
| end_layer_index | 24 |
| preserve_good_behavior_weight | 0.8264 |
| steer_bad_behavior_weight | 0.0003 |
| overcorrect_relative_weight | 0.9645 |
| neighbor_count | 12 |
Performance
| Metric | This model | Original model (Jackrong/DeepSeek-V4-Pro-Qwen3.5-9B) |
|---|---|---|
| Refusals | 3/100 | 100/100 |
| KL divergence | 0.0422 | 0 (by definition) |
🤝 Collaboration & Training Support
🔬 1. Distillation & Training Data
📊 2. Benchmark Results
2.1 GSM8K
The NVFP4 checkpoint was evaluated on GSM8K four times, and the resulting scores were averaged. Its four-run mean accuracy is 94.50% under vLLM. In the comparison supplied with this release, the 9B student slightly exceeds the reported DeepSeek-V4-Pro teacher result and approaches the Llama-3.3-70B-Instruct reference.
| 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-V3 | 89.30% |
2.2 MMLU-Pro: Math, Physics & Chemistry
Each model was evaluated on 500 questions from each of three MMLU-Pro subsets—Math, Physics, and Chemistry—for 1,500 questions per model. In this reported comparison, DeepSeek-V4-Pro-Qwen3.5-9B achieves the highest average at 90.53%. Its compact 4B sibling is now included alongside the Qwen and Claude Mythos-distilled references.
| Model | Evaluation Build | Math | Physics | Chemistry | Average |
|---|---|---|---|---|---|
| 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% |
| DeepSeek-V4-Pro-Qwen3.5-4B | MTP-Q8 GGUF | 80.40% | 74.20% | 74.80% | 76.47% |
+1.80 points in Math, +0.40 in Physics, +0.60 in Chemistry, and +0.93 average points.
500 questions per subset · 1,500 total per model · llama.cpp. The 9B rows use MTP-Q8_0 GGUF at 8K context, the 4B student uses MTP-Q8 GGUF at 64K context, and Claude Mythos-distilled 27B uses MTP-Q8 GGUF at 32K context.
2.3 Inference Efficiency
| Model | Accuracy | Avg. Reasoning Tokens / Question |
Median | Tokens / Correct Answer |
Correct Answers / 1M Tokens |
|---|---|---|---|---|---|
| DeepSeek-V4-Pro-Qwen3.5-9B | 90.53% | 2,858 | 676 | 3,157 | 316.8 |
| Qwen3.5-9B | 89.60% | 4,425 | 3,214 | 4,938 | 202.5 |
| Claude Mythos-distilled 9B | 81.07% | 3,310 | 639 | 4,083 | 244.9 |
🛠️ 3. Generalization Beyond the Training Mix
✅ 4. Instruction Following & Output-Format Compliance
🎮 Game Showcase: Star Skip by Kyle
🎯 5. Recommended Uses
- Mathematical problem solving and step-by-step derivation
- Physics, chemistry, and broader STEM question answering
- Structured reasoning and analytical instruction following
- Research on reasoning distillation and cross-domain SFT transfer
- Experimental tool-calling or programming workflows where outputs are independently validated
⚠️ 6. Limitations
- This is an experimental 9B community model and remains subject to hallucinations, reasoning errors, and unstable behavior on difficult or underspecified tasks.
- The reported MMLU-Pro results are based on 500 randomly sampled questions from each of the Math, Physics, and Chemistry subsets, rather than the complete subsets; they are not a comprehensive capability or safety evaluation.
- GSM8K and MMLU-Pro used different inference builds and backends, so their scores should not be used to infer quantization equivalence.
- Programming and tool-use gains were observed without direct coding supervision but are described only as small, preliminary generalization gains.
- Users should independently verify high-stakes mathematical, scientific, or factual outputs.
📚 7. Resources, Acknowledgements & Citation
- Downloads last month
- 14,378
Model tree for xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic
Base model
Qwen/Qwen3.5-9B-Base