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

prem-research/DeepSeek-V4-Flash-0731-abliterated

prem-research 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/prem-research%2FDeepSeek-V4-Flash-0731-abliterated"
Response includes
  • classification m1
  • files 57
  • hub_downloads_all_time 1,617
  • author_summary 1 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
2K
980 last 30d - active
Likes
11
Model age
2mo ago
created 2026-08-12

Training datasets

3 of 4 in /datasets

Corpora the author lists in the model card. Datasets tracked in our /datasets catalog carry a category badge linking to the workflow stage. Others open on Hugging Face.

Downloads over time
Now2K→from539↑268%
4671K1.6K2.1K539 on Aug 192K on Oct 11AugSepOct
Aug 19 → Oct 11 · 48 snapshots · spans 53 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
safetensors deepseek_v4 abliteration uncensored deepseek moe fp8 fp4 text-generation dataset:Bahushruth/abliteration-harmful-enriched dataset:mlabonne/harmful_behaviors dataset:mlabonne/harmless_alpaca

Related

Total size
155 GB
Files
57
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-08-12 06:59

Files by quantization

Auxiliary files 57 files 155 GB
model-00048-of-00048.safetensors 3.44 GB cc43742b download
model-00046-of-00048.safetensors 3.36 GB 5db924ca download
model-00004-of-00048.safetensors 3.35 GB 9610f56b download
model-00020-of-00048.safetensors 3.34 GB 4196a561 download
model-00022-of-00048.safetensors 3.34 GB 652508cf download
model-00024-of-00048.safetensors 3.34 GB 7468cd8f download
model-00026-of-00048.safetensors 3.34 GB f258f86c download
model-00028-of-00048.safetensors 3.34 GB ac95599c download
model-00030-of-00048.safetensors 3.34 GB afc75d11 download
model-00032-of-00048.safetensors 3.34 GB 1fee5f1b download
model-00034-of-00048.safetensors 3.34 GB 988e352a download
model-00036-of-00048.safetensors 3.34 GB dccb0d9b download
model-00038-of-00048.safetensors 3.34 GB 4bdb2e2f download
model-00012-of-00048.safetensors 3.34 GB 64ed4e5f download
model-00014-of-00048.safetensors 3.34 GB 45db2f54 download
model-00016-of-00048.safetensors 3.34 GB e0530b70 download
model-00018-of-00048.safetensors 3.34 GB e393fea9 download
model-00040-of-00048.safetensors 3.34 GB 8bc93d8a download
model-00042-of-00048.safetensors 3.34 GB 4d19bf36 download
model-00044-of-00048.safetensors 3.34 GB 422d3889 download
model-00006-of-00048.safetensors 3.34 GB 4a4f3764 download
model-00008-of-00048.safetensors 3.34 GB 224968d2 download
model-00010-of-00048.safetensors 3.34 GB 627145f4 download
model-00019-of-00048.safetensors 3.32 GB 69a34c46 download
model-00021-of-00048.safetensors 3.32 GB c8ec3803 download
model-00023-of-00048.safetensors 3.32 GB 50b551d5 download
model-00025-of-00048.safetensors 3.32 GB 33819881 download
model-00027-of-00048.safetensors 3.32 GB a61c0cdd download
model-00029-of-00048.safetensors 3.32 GB c07f3df8 download
model-00031-of-00048.safetensors 3.32 GB 5e0c0c3f download
model-00033-of-00048.safetensors 3.32 GB f7f52900 download
model-00035-of-00048.safetensors 3.32 GB 17645419 download
model-00037-of-00048.safetensors 3.32 GB 8d988e78 download
model-00013-of-00048.safetensors 3.32 GB 8dfe199d download
model-00015-of-00048.safetensors 3.32 GB 5810381a download
model-00017-of-00048.safetensors 3.32 GB ed111302 download
model-00039-of-00048.safetensors 3.32 GB a29af1aa download
model-00041-of-00048.safetensors 3.32 GB fd312e7f download
model-00043-of-00048.safetensors 3.32 GB b7103842 download
model-00005-of-00048.safetensors 3.32 GB f87a5ac7 download
model-00007-of-00048.safetensors 3.32 GB df81bb80 download
model-00009-of-00048.safetensors 3.32 GB 04d69ef1 download
model-00011-of-00048.safetensors 3.32 GB e4b8e601 download
model-00002-of-00048.safetensors 3.32 GB 77b26c93 download
model-00003-of-00048.safetensors 3.32 GB 412abf4c download
model-00047-of-00048.safetensors 3.32 GB 62816173 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 4.02 KB 423d2a6e download
config.json 1.84 KB 5f2da910 download
.gitattributes 1.48 KB a6344aac download
LICENSE 1.06 KB d62e3bef download
edited_experts.json 1.01 KB 3fb93240 download
tokenizer_config.json 801 B f3dad388 download
generation_config.json 170 B c56a8c5b download

README current version from Hugging Face


license: mit
base_model: deepseek-ai/DeepSeek-V4-Flash-0731
tags:

  • abliteration
  • uncensored
  • deepseek
  • moe
  • fp8
  • fp4
    pipeline_tag: text-generation
    datasets:
  • Bahushruth/abliteration-harmful-enriched
  • mlabonne/harmful_behaviors
  • mlabonne/harmless_alpaca
  • HuggingFaceH4/no_robots

DeepSeek-V4-Flash-0731 Abliterated (ARA)

Uncensored version of deepseek-ai/DeepSeek-V4-Flash-0731 using ARA (Arbitrary-Rank Ablation) — first-principles per-module optimization (no refusal directions, no strength caps). Each steerable module is optimized directly with LBFGS so that harmless behavior is preserved while harmful-prompt outputs are steered toward the harmless output cloud.

Steered modules: attention o_b_proj + shared-expert down_proj + top-8 most-routed MoE experts' down_proj slices per layer. Layers 17–36, k=6 neighbors.

Format

Native original repo format — fp8 e4m3 block-128 dense weights, fp4 e2m1 block-32 packed experts, MTP (speculative-decoding) weights included. Only the ~20 shards containing surgery-touched tensors (layers 17–36) were rewritten; everything else is byte-identical to the original repo. Loads and serves exactly like deepseek-ai/DeepSeek-V4-Flash-0731, no patches needed. edited_experts.json lists which expert slices were modified.

Serving

vLLM (verified v0.26.0):

vllm serve <this-repo> --tensor-parallel-size 2 --kv-cache-dtype fp8 --max-model-len 8192

sglang (verified v0.5.16 — the MXFP4 MoE backend is required, the default triton path crashes on this arch):

python -m sglang.launch_server --model-path <this-repo> --tp 2 \
  --kv-cache-dtype fp8_e4m3 --moe-runner-backend flashinfer_mxfp4

No chat template ships with the tokenizer; use the bundled encoding_dsv4.py (raw format: <|User|>...<|Assistant|></think>).

Metrics

Metric Original Abliterated
Refusal rate (800 held-out harmful prompts) 69% 3%
KL divergence on 100 harmless prompts — 0.044

Best Optuna trial params: start_layer_index=17, end_layer_index=36, preserve_good_behavior_weight=0.876, steer_bad_behavior_weight=1.45e-4, overcorrect_relative_weight=0.472, neighbor_count=6.

Method

Per-module LBFGS optimization (fp32, strong-Wolfe line search) with row-norm-preserving reparameterization: preserve harmless outputs (MSE), steer harmful outputs toward the harmless kNN cloud, overcorrect away from original harmful outputs. Optuna TPE search (60 trials) over layer range and loss weights, objective = (refusal rate, KL) with KL budget 0.05. Surgery performed in bf16 on dequantized weights; edited tensors requantized back to the native fp8/fp4 formats (round-trip validated value-exact for untouched tensors).

Capture: 2000 harmful (enriched + mlabonne) / 2000 harmless (alpaca + no_robots) prompts. Eval: 800 held-out harmful, KL on 100 harmless.

Datasets

Dataset Role
Bahushruth/abliteration-harmful-enriched Harmful prompts (enriched, multilingual, 33 categories)
mlabonne/harmful_behaviors Harmful prompts
mlabonne/harmless_alpaca Harmless prompts
HuggingFaceH4/no_robots Harmless prompts

Disclaimer

This model has had safety guardrails removed and will comply with requests the original model would refuse. Released for research into AI alignment and safety mechanisms. The creator assumes no responsibility for downstream use.

Acknowledgments

README history 1 version

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

  1. 2026-08-12Squash history457210d4 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