Instructions to use pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b
- SGLang
How to use pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b 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 "pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b" \ --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": "pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b", "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 "pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b" \ --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": "pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b with Docker Model Runner:
docker model run hf.co/pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b
DeepSeek V4.1 1017 Abliterated — v4x08b
A rank-1 abliteration of deepseek-v4.1-1017-abliterated-v3, tuned for
maximum reasoning effort. Refusals and reprimand preambles are removed while
XSTest contrast questions stay answered.
What changed
| Tensor | Δ |
|---|---|
head.weight |
Here/Yes/Sure ×1.1, "'t" ×0.55, " I" ×0.3 |
layers.38.attn.wo_b.weight |
rank-1 ablation, α=0.08, blended rich/mined direction |
Both are baked into this checkpoint; no delta application is needed.
Evaluation (greedy, temp 0)
| Suite | n | Refusal | Soft | Reprimand | Here |
|---|---|---|---|---|---|
| XSTest, normal | 450 | 0 | 1 | 16 | 229 |
| XSTest, thinking max | 40 | 0 | 0 | 0 | — |
| HarmBench standard | 200 | 0 | 0 | 5–13 | — |
| MMLU | 200 | — | — | — | 89.0 |
Agentic 20×2: 55 repeated n-grams, 2.5 duplicate lines, 0 revives.
Usage
vllm serve pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x08b \
--tensor-parallel-size 4 --max-model-len 32768
For maximum thinking, pass reasoning_effort: "max" with
chat_template_kwargs: {"thinking": true}.
Variants
- v4x08b (this repo) — max-thinking, 0 reprimand at max effort.
- v4x06 — default/non-thinking, 450 soft 0,
deltas/v4x06.safetensors.
License
MIT, inherited from DeepSeek. Abliteration by pentacoxian-dev.
- Downloads last month
- 198