# DeepSeek-V4-Flash-0731-abliterated

> An abliterated build of deepseek-ai/DeepSeek-V4-Flash-0731, published by prem-research, as Transformers weights. 377,586 downloads in the last 30 days.


- **Base model:** deepseek-ai/DeepSeek-V4-Flash-0731
- **Family:** DeepSeek
- **Size:** Large MoE
- **Method:** abliteration
- **Approx. VRAM (Q4):** Very high
- **License:** MIT
- **Quantizations:** Transformers
- **Last updated:** 2026-08-12
- **Hugging Face:** https://huggingface.co/prem-research/DeepSeek-V4-Flash-0731-abliterated

## Notes

Prem Research's refusal edit of DeepSeek-V4-Flash-0731, done by first-principles per-module optimization rather than a single refusal direction: each steerable module is optimized with LBFGS so harmless behavior is preserved while harmful-prompt outputs move toward the harmless cloud. The steered modules are attention output projections, shared-expert down projections and the top-8 most-routed expert down slices, across layers 17-36 with k=6 neighbors.
It keeps DeepSeek's native format: fp8 e4m3 block-128 dense weights, fp4 e2m1 block-32 packed experts and the MTP weights. Only the 20 shards containing layers 17-36 were rewritten; everything else is byte-identical, and the repo lists the edited experts. The card notes sglang v0.5.16 with the MXFP4 MoE backend, since the default Triton path crashes on this architecture.

Canonical page: https://www.wahloon.net/models/prem-research-deepseek-v4-flash-0731-abliterated

You are responsible for how you use this model.