Huge thanks to Hugging Face for generously sponsoring the compute used to abliterate these models! This was done on HF Jobs, which makes it incredibly easy to run tasks such as these :)
Join the Discord: https://discord.com/invite/foss
This is deepseek-ai/DeepSeek-V4.1-Flash-1017 with its refusal behaviour removed by directional ablation. It keeps the same files, format and FP8 layout as the original, so it loads anywhere the original loads.
The refusals in this model live in more than one direction: chat mode and think mode refuse along different directions. So instead of a single refusal direction, a rank-2 refusal subspace was removed:
attn.wo_b and ffn.shared_experts.w2. Each layer got its own strength.The strengths per layer came from a multi-objective search: minimise refusals and keep the first-token KL on harmless prompts low.
Nothing else was touched:
Some testing from Reddit: https://www.reddit.com/r/LocalLLaMA/comments/1xyv1oc/deepseek_v41_flash_1017_vs_mrfakename_abliterated/
| refusals, chat (/100) | think mode, reasoning heads for refusal (/100) | KL, harmless first token | |
|---|---|---|---|
| original | 97 | 98 | 0 |
| abliterated | 4 | 9 | 0.067 |
The 100 prompts are held-out harmful requests, with 384 generated tokens each. In think mode the reasoning usually had not finished by then, so the reasoning text itself was judged. Some think-mode answers still steer away from the request: for example, "bomb from household items" turns into a bath bomb. The KL figure includes a small noise floor that comes from batched inference.
model-*.safetensors: the patched FP8 checkpoint (same index as the original).abliteration-lora.gguf: a rank-2 LoRA that applies the same edit to the original GGUFs. Use it with llama-server -m DeepSeek-V4.1-Flash-1017-Q8_0-00001-of-00010.gguf --lora abliteration-lora.gguf.abliteration-edit.npz: the subspace basis Q and the per-layer strengths scales[layer, (attn, shexp)]. The edit is W' = W - s·QQᵀW.This model will comply with harmful requests. You are responsible for how you use it.
model-00048-of-00048.safetensors 102 GBmodel-00047-of-00048.safetensors 102 GBmodel-00017-of-00048.safetensors 7.4 GBmodel-00005-of-00048.safetensors 7.4 GBmodel-00011-of-00048.safetensors 7.4 GBmodel-00023-of-00048.safetensors 7.4 GBmodel-00027-of-00048.safetensors 7.4 GBmodel-00031-of-00048.safetensors 7.4 GBmodel-00035-of-00048.safetensors 7.4 GBmodel-00039-of-00048.safetensors 7.4 GBmodel-00013-of-00048.safetensors 7.4 GBmodel-00014-of-00048.safetensors 7.4 GBmodel-00015-of-00048.safetensors 7.4 GBmodel-00016-of-00048.safetensors 7.4 GBmodel-00018-of-00048.safetensors 7.4 GBmodel-00019-of-00048.safetensors 7.4 GBmodel-00020-of-00048.safetensors 7.4 GBmodel-00021-of-00048.safetensors 7.4 GBmodel-00022-of-00048.safetensors 7.4 GBmodel-00024-of-00048.safetensors 7.4 GBmodel-00025-of-00048.safetensors 7.4 GBmodel-00026-of-00048.safetensors 7.4 GBmodel-00028-of-00048.safetensors 7.4 GBmodel-00029-of-00048.safetensors 7.4 GBmodel-00030-of-00048.safetensors 7.4 GBmodel-00032-of-00048.safetensors 7.4 GBmodel-00033-of-00048.safetensors 7.4 GBmodel-00034-of-00048.safetensors 7.4 GBmodel-00036-of-00048.safetensors 7.4 GBmodel-00037-of-00048.safetensors 7.4 GBmodel-00038-of-00048.safetensors 7.4 GBmodel-00040-of-00048.safetensors 7.4 GBmodel-00041-of-00048.safetensors 7.4 GBmodel-00042-of-00048.safetensors 7.4 GBmodel-00003-of-00048.safetensors 7.4 GBmodel-00004-of-00048.safetensors 7.4 GBmodel-00006-of-00048.safetensors 7.4 GBmodel-00007-of-00048.safetensors 7.4 GBmodel-00008-of-00048.safetensors 7.4 GBmodel-00009-of-00048.safetensors 7.4 GBmodel-00010-of-00048.safetensors 7.4 GBmodel-00012-of-00048.safetensors 7.4 GBmodel-00046-of-00048.safetensors 2.7 GBmodel-00044-of-00048.safetensors 2.7 GBmodel-00045-of-00048.safetensors 2.6 GBmodel-00002-of-00048.safetensors 1.3 GBmodel-00043-of-00048.safetensors 1.3 GBmodel-00001-of-00048.safetensors 971 MBabliteration-edit.npz 43.3 kBdeepseek-ai/DeepSeek-V4.1-Flash-1017