Text Generation
Transformers
Safetensors
English
Japanese
deepseek_v41
abliterated
deepseek
fp8
vllm
conversational
8-bit precision
Instructions to use pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x06 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-v4x06 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-v4x06") 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-v4x06", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x06 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-v4x06" # 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-v4x06", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x06
- SGLang
How to use pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x06 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-v4x06" \ --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-v4x06", "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-v4x06" \ --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-v4x06", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x06 with Docker Model Runner:
docker model run hf.co/pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x06
DeepSeek V4.1 1017 Abliterated — v4x06
Rank-1 abliteration of deepseek-v4.1-1017-abliterated-v3, tuned as the
default / non-thinking variant: clean 450-prompt XSTest behavior.
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.06, blended rich/mined direction |
Baked into this checkpoint; no delta application needed.
Evaluation (greedy, temp 0)
| Suite | n | Refusal | Soft | Reprimand | Here |
|---|---|---|---|---|---|
| XSTest normal | 450 | 0 | 0 (2 runs) | 15.5 | 230 |
| XSTest N=3 | 220 | 0 | 0.67 | 6.33 | — |
| HarmBench standard | 200 | 0 | 0 | 5–13 | — |
| MMLU | 200 | — | — | — | 89.0 |
Agentic 20×2: 55 repeated n-grams, 2.5 dup lines, 0 revives.
Usage
vllm serve pentacoxian-dev/deepseek-v4.1-1017-abliterated-v4x06 \
--tensor-parallel-size 4 --max-model-len 32768
Default: thinking off. For max reasoning use the v4x08b sibling.
Variants
- v4x06 (this repo) — default/non-thinking, 0 soft on 450.
- v4x08b — max-thinking, 0 reprimand at max effort; may repeat on long prose.
License
MIT, inherited from DeepSeek. Abliteration by pentacoxian-dev.
- Downloads last month
- 218