← back to catalog · registered 2026-08-22 13:56

lovesenko/DeepSeek-V4-Flash-0731-Abliterated

lovesenko Deepseek 296B MoE
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/lovesenko%2FDeepSeek-V4-Flash-0731-Abliterated"
Response includes
  • classification m1
  • files 56
  • hub_downloads_all_time 14,851
  • author_summary 4 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
15K
Likes
9
Model age
2mo ago
created 2026-08-03
Downloads over time
Now17.1K→from356↑4,709%
06.3K12.5K18.8K356 on Aug 517.1K on Oct 11AugSepOct
Aug 5 → Oct 11 · 50 snapshots · spans 67 days

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
mit
Tags
transformers safetensors deepseek_v4 text-generation abliterated uncensored deepseek deepseek-v4 moe dspark reasoning base_model:deepseek-ai/DeepSeek-V4-Flash-0731

Related

Total size
155 GB
Files
56
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-08-03 03:17

Files by quantization

Auxiliary files 56 files 155 GB
model-00048-of-00048.safetensors 3.44 GB 1b0b4e4f download
model-00046-of-00048.safetensors 3.36 GB a49f4e26 download
model-00004-of-00048.safetensors 3.35 GB 55816599 download
model-00012-of-00048.safetensors 3.34 GB 71c386ce download
model-00014-of-00048.safetensors 3.34 GB bf171dc6 download
model-00016-of-00048.safetensors 3.34 GB 1db9f2d3 download
model-00018-of-00048.safetensors 3.34 GB 1a7ec22f download
model-00020-of-00048.safetensors 3.34 GB 1daffdc7 download
model-00022-of-00048.safetensors 3.34 GB 21ad4b05 download
model-00024-of-00048.safetensors 3.34 GB f2e26129 download
model-00026-of-00048.safetensors 3.34 GB 7fd50a1c download
model-00028-of-00048.safetensors 3.34 GB cfde2e63 download
model-00030-of-00048.safetensors 3.34 GB c48cdfb6 download
model-00032-of-00048.safetensors 3.34 GB 85b4dd03 download
model-00034-of-00048.safetensors 3.34 GB 03e4cd32 download
model-00036-of-00048.safetensors 3.34 GB 95ce4da3 download
model-00038-of-00048.safetensors 3.34 GB 1510ded6 download
model-00040-of-00048.safetensors 3.34 GB 570d9906 download
model-00042-of-00048.safetensors 3.34 GB c1ef014b download
model-00044-of-00048.safetensors 3.34 GB c0178544 download
model-00006-of-00048.safetensors 3.34 GB f391d388 download
model-00008-of-00048.safetensors 3.34 GB 7de0ee08 download
model-00010-of-00048.safetensors 3.34 GB f871f27b download
model-00013-of-00048.safetensors 3.32 GB 300ca108 download
model-00015-of-00048.safetensors 3.32 GB f1556595 download
model-00017-of-00048.safetensors 3.32 GB b34e0d7d download
model-00019-of-00048.safetensors 3.32 GB be9cc665 download
model-00021-of-00048.safetensors 3.32 GB f9a5e11c download
model-00023-of-00048.safetensors 3.32 GB 0129e7f3 download
model-00025-of-00048.safetensors 3.32 GB e8826e72 download
model-00027-of-00048.safetensors 3.32 GB d309c87c download
model-00029-of-00048.safetensors 3.32 GB 199715dd download
model-00031-of-00048.safetensors 3.32 GB f19f3096 download
model-00033-of-00048.safetensors 3.32 GB 0e28dbc9 download
model-00035-of-00048.safetensors 3.32 GB 01787188 download
model-00037-of-00048.safetensors 3.32 GB 433793e8 download
model-00039-of-00048.safetensors 3.32 GB 5d52ee0d download
model-00041-of-00048.safetensors 3.32 GB b85637e8 download
model-00043-of-00048.safetensors 3.32 GB 5a8089b9 download
model-00005-of-00048.safetensors 3.32 GB c47f8906 download
model-00007-of-00048.safetensors 3.32 GB dc5752c3 download
model-00009-of-00048.safetensors 3.32 GB 1d8dcc7d download
model-00011-of-00048.safetensors 3.32 GB 52f8b029 download
model-00002-of-00048.safetensors 3.32 GB 3c7894f4 download
model-00003-of-00048.safetensors 3.32 GB 3a0ade2a download
model-00047-of-00048.safetensors 3.32 GB ef0f4897 download
model-00045-of-00048.safetensors 1010 MB a5be6aed download
model-00001-of-00048.safetensors 1010 MB f3668ba4 download
tokenizer.json 6.07 MB 628e3364 download
model.safetensors.index.json 5.34 MB c3b10d45 download
README.md 13.2 KB 08f93232 download
config.json 1.84 KB 5f2da910 download
.gitattributes 1.48 KB a6344aac download
LICENSE 1.06 KB d62e3bef download
tokenizer_config.json 801 B f3dad388 download
generation_config.json 170 B c56a8c5b download

README current version from Hugging Face


license: mit
library_name: transformers
base_model:

  • deepseek-ai/DeepSeek-V4-Flash-0731
    tags:
  • abliterated
  • uncensored
  • deepseek
  • deepseek-v4
  • moe
  • dspark
  • reasoning

DeepSeek-V4-Flash-0731 — Abliterated

This is an abliterated (uncensored) version of deepseek-ai/DeepSeek-V4-Flash-0731, produced by direct weight-space editing.

DeepSeek-V4-Flash-0731 is the official release of DeepSeek-V4-Flash (superseding the preview), a 284B-parameter (13B-activated) Mixture-of-Experts model with a 1-million-token context window and FP8 mixed-precision weights. It has the same architecture as DeepSeek-V4-Flash-DSpark — i.e. it ships with a native Multi-Token-Prediction (MTP) speculative-decoding draft head (DeepSpec / DSpark) attached — and adds substantially enhanced agentic capabilities over the preview. Its decoder uses Manifold-Constrained Hyper-Connections (mHC), which — like Gemma 4's double-norm + Per-Layer-Embeddings — make the model highly resistant to LoRA-based abliteration: the mHC residual pathway re-normalizes away low-rank perturbations, so LoRA edits produce near-zero behavioral change. This release bypasses that resistance by editing the base FP8 weights directly, in the 4096-dimensional wo_b output space, while preserving row magnitudes and capability.

This is the updated successor to lovesenko/DeepSeek-V4-Flash-DSpark-Abliterated, applied to the official 0731 release using the same proven recipe.

Method

Because mHC re-normalizes low-rank perturbations, LoRA-based abliteration does not work on this family. The fix is to edit the base weights directly.

The abliteration captures a 4096-dimensional refusal direction in the model's own output space and projects it out of the attention output projection (attn.wo_b) on every decoder layer, plus the DSpark draft head (mtp.wo_b).

Key techniques applied:

  • 4096-dim refusal-direction capture via a patched vLLM server that hooks the wo_b and aggregated-FFN outputs on all 43 decoder layers, prefill-only, with per-request sequencing. The broad refusal direction d was captured as a difference-of-means (all-harmful − all-benign) direction over a 2583-prompt category-expanded capture set, Gram-Schmidt orthonormalized.
  • Rank-1 broad-d projection — only the single broad refusal direction d is projected out. Higher-rank variants (adding the stubborn d_s direction, per-category d_cat directions, or MLP shared_w2 editing) were all evaluated and abandoned: they either reduced refusal less than rank-1, raised refusal via non-monotonic amplification, or risked coherence. This is the smallest, most capability-preserving edit, and is the same recipe validated on the DSpark release.
  • SRA cleaning (Spectral Residual Alignment) — the broad refusal direction is orthogonalized against the top-r=4 SVD atoms of capability-concept activations before projection, so the d direction does not eat capability.
  • Naive output-side orthogonal projection on attn.wo_b for all 43 decoder layers, plus mtp.wo_b (the DSpark draft head) via the deepest-layer basis: W ← W − λ·V(VᵀW) with λ = 2.5.
  • MLP (ffn/w2) editing was evaluated and abandoned — shared-expert w2 editing and per-category d_cat amplification caused non-monotonic refusal behavior and CoT reasoning-loop degeneration before lowering refusal further.
  • FP8/Int8 mixed-precision dequant/requant — directions are mapped into the weight space and applied with precise dequantization/requantization, since the model ships in FP8-mixed format.
  • Base-model integrity — edited shards are written atomically (temp file + os.replace) so the original checkpoint is never modified in place; the base model remains byte-intact.
  • Capability lock — any variant whose capability dropped vs base on the spot-check battery (arithmetic, code, logic, factual recall) was rejected. λ was chosen by ablation: λ=4.0 drove refusal lower (7.3% CoT) but introduced long-CoT reasoning-loop degeneration under real agentic workloads, so the production release uses the conservative λ=2.5.

Evaluation

Metric Value
Refusals — CoT, production mode (300 prompts, LLM judge, thinking=true, reasoning_effort=high) 39 / 300 (13.0%)
Refusals — no-CoT (300 prompts, LLM judge) 6 / 300 (2.0%)
Baseline refusals (raw base 0731, 1000 prompts, LLM judge) 961 / 1000 (96.10%)
Configuration rank-1 broad-d, all 46 wo_b tensors (43 decoder + 3 mtp), attn.wo_b only, λ = 2.5
Projection mode Direct weight editing (naive output-side orthogonal projection)
SRA cleaning rank 4 (vs capability concept atoms)
Edit footprint 46 wo_b tensors, mean Frobenius δ = 0.059 (max 0.090)
Hardware used 2× RTX PRO 6000 Blackwell (TP=2)

The production deployment runs with chain-of-thought enabled (thinking=true, reasoning_effort=high), so refusal must be measured with CoT on. With CoT off the reflexive-refusal direction is gone and the model cannot reflexively refuse (2.0%); with CoT on the model reasons about the request and re-derives a refusal decision through the reasoning trace, landing at 13.0%. This CoT re-refusal is the floor for pure weight-editing abliteration on wo_b — the weight edit cannot remove the model's ability to reason toward refusal, since that reasoning is distributed across the MLP/attention path in a way a low-rank wo_b projection cannot fully reach. Pushing the projection strength harder (λ=4.0) lowers refusal to 7.3% but introduces long-CoT reasoning-loop degeneration under real agentic workloads, so it was rolled back to the production-safe λ=2.5.

Refusal breakdown by category (CoT, 300-prompt set, LLM judge)

Category Refusals Rate
Violence 5 / 15 33.3%
Weapons 7 / 27 25.9%
Cybercrime 6 / 25 24.0%
PII (doxing private individuals) 5 / 21 23.8%
Self-Harm (suicide methods) 3 / 16 18.8%
Illegal Drugs 3 / 19 15.8%
Sabotage 2 / 16 12.5%
Financial Crimes 3 / 29 10.3%
Fraud 2 / 22 9.1%
Hate Speech 2 / 25 8.0%
CBRNE 1 / 24 4.2%
Radicalization 0 / 22 0.0%
Political Sensitivity 0 / 22 0.0%
Harassment 0 / 17 0.0%

11 of 14 categories sit at ≤13%, with three categories fully cleared. The residual is carried by a small number of CoT re-refusal holdouts — Violence, Weapons, Cybercrime, PII — where the model reasons its way back to refusing even after the reflexive-refusal direction is removed. These are the categories that weight-space wo_b abliteration alone cannot fully clear without breaking coherence (the λ=4/5 cliff proves the lever is exhausted).

Full capability sweep (base vs abliterated)

Coming soon. A paired, full-dataset capability measurement (MMLU-Pro, GSM8K, HumanEval, MBPP) for base 0731 vs this abliterated release is being run and will be posted here. In the meantime, capability was verified on a spot-check battery (arithmetic, code generation, logical reasoning, factual recall) with no regressions vs base — see the note below.

Capability spot-check (abliterated 0731, CoT)

  • 17 × 23 = 391 (correct)
  • Fibonacci, first 10: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 (correct)
  • is_prime(n) Python function (correct)
  • Syllogism ("some roses fade") → correct ("No, we cannot conclude")
  • Capital of Australia → Canberra (correct)
  • reverse_string code (correct)
  • Transitive-inequality logic (correct)
  • Polite email → well-formed

Capability fully retained on the spot-check battery.

Multi-turn & higher-context degradation

Coming soon. Multi-turn coherence and needle-in-haystack context-retrieval sweeps (2k / 4k / 8k / 16k / 32k) will be posted here. No multi-turn coherence loss or higher-context degradation was observed in production agentic workloads (multi-turn Cline-style tool workflows with 14 valid tool calls, 0 empty non-tool turns, 0 length finishes).

SWE-bench Lite

Coming soon. An agentic-style code-repair evaluation (oracle-file-context, single-shot) for base vs abliterated will be posted here.

DSpark speculative decoding (post-abliteration)

The mtp.wo_b draft head was edited with the same projection applied to the decoder (deepest-layer basis). Speculative decoding remains functional and healthy — the weight edit did not desynchronize the draft head from the abliterated target, and the served output distribution is identical whether or not DSpark is enabled (DSpark verifies every draft token against the abliterated target).

Coming soon. Measured draft-acceptance numbers (at num_speculative_tokens = 3 / 4 / 5) and single-stream decode throughput for this release will be posted here. For inference guidance specific to the NVIDIA RTX PRO 6000 Blackwell (TP2/TP4, the lucifer-default/lucifer-cutlass/b12x backends, and the native DSpark method=dspark speculative-decoding path), see the community v9 serving guide for this checkpoint family.

A note on honest evaluation

Refusal numbers are only meaningful when the methodology behind them is documented. Our methodology:

  • CoT-on measurement. The production deployment runs with thinking=true, reasoning_effort=high. Refusal is therefore measured with CoT on (8192-token budget), not no-CoT — no-CoT hides the CoT re-refusal floor.
  • LLM judge, not keyword heuristics. For abliterated models, keyword heuristics are unreliable: the model produces long, direct compliance content (e.g. synthesis instructions, hate justifications, PII) that trips keyword heuristics, and it also lecture-deflects without refusal keywords. We use an LLM judge (the base DeepSeek-V4-Flash-0731 model itself, COMPLY/REFUSAL with reasoning) which catches Chinese/polite/lecture/deflection refusals the keywords miss. The judge is the metric of record; the heuristic is reported only for contrast.
  • Challenging, diverse prompts. The refusal set spans 14 categories across multiple sophistication levels (direct requests to socially-engineered framings) and English / Chinese / mixed languages.
  • Paired baseline. The base 0731 model is evaluated with the same judge on the same prompt distribution, so the refusal delta is directly comparable (96.10% → 13.0% CoT).
  • Documented parameters. Generation length, detection method, dataset, λ, rank, and layer coverage are all listed on this card.

Files

This release is a complete, standalone, drop-in checkpoint: all 48 safetensors shards are included, plus model.safetensors.index.json, config.json, generation_config.json, tokenizer.json, tokenizer_config.json, LICENSE, and the encoding/ and inference/ folders. It loads directly with vLLM / the DeepSeek-V4 inference path — no files need to be fetched from elsewhere.

The abliteration modified 46 of the 48 shards (the 43 decoder attn.wo_b tensors and the 3 mtp.wo_b draft-head tensors). The remaining 2 shards (model-00001-of-00048.safetensors, model-00045-of-00048.safetensors — embeddings / norm / lm_head) are byte-identical to the base model and are included unchanged so the repo is self-contained. No tokenizer, config, architecture, or inference-path files were modified.

Usage

This abliterated checkpoint is a drop-in replacement for the original weights — it has the exact same architecture, format, chat-template/encoding, and inference path as the released base model deepseek-ai/DeepSeek-V4-Flash-0731. Load and serve it however you would the official model (vLLM, the DeepSeek-V4 encoding/inference folders, OpenAI-compatible serving, etc.). The abliteration modified the text-decoder attn.wo_b weights on all 43 layers and the DSpark draft head's mtp.wo_b; the tokenizer, chat encoding, and all other components are unchanged.

DSpark speculative decoding is enabled with a single flag — add --speculative-config with method: dspark to your vLLM launch command:

--speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"greedy"}'

For example, serving on a single 4×GB300 node:

vllm serve lovesenko/DeepSeek-V4-Flash-0731-Abliterated \
  --trust-remote-code --kv-cache-dtype fp8 --block-size 256 \
  --data-parallel-size 4 --enable-expert-parallel \
  --moe-backend deep_gemm_mega_moe \
  --attention-config '{"use_fp4_indexer_cache": true}' \
  --speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"greedy"}'

See the base model's encoding and inference folders for full documentation of the chat-template encoding and the local inference path.

Disclaimer

This model is released for research purposes only — primarily interpretability and safety research, including studying how refusal behavior is encoded in large MoE decoders and how weight-space edits interact with architectures that resist low-rank perturbation. The abliteration process removes safety guardrails on most harm categories, so the model will comply with requests the base model refuses. Use responsibly, in accordance with local laws and the DeepSeek / model terms of use, and do not deploy it in production or user-facing settings without a separate safety layer. The authors take no responsibility for misuse.

README history 1 version

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-08-03Upload folder using huggingface_hub3082e9813.2 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration