abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.
← back to catalog · indexed 2026-09-03 13:03added 2026-09-03 13:03

orcarouter/DeepSeek-V4-Flash-Vision-Uncensored

orcarouter DeepSeek 296B MoE multimodal
  • Understands images
  • Thinks before answering

M1 Direction removal · 1.5K downloads · 81 likes

Your rigComputer guess connected
? Why do I need an app?
Reading your rig…Checking…

Below is the per-quantization compatibility for this model.Below: which compressed versions fit your computer.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/orcarouter%2FDeepSeek-V4-Flash-Vision-Uncensored"
Response includesThe data includes
  • method_v2.family M1
  • files 81
  • hub_downloads_all_time 3,658
  • author_summary 52 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload10 credits · updated hourly · reply about 4 KB Get an API key →
Abliteration classifier · v2.2.0 · M-codes 2.0How this model was made
M1
Method familyMethod

Direction removal

Uncensoring event in this repository: M1 · classic · L28-28.Refusals were removed here.

EvidenceHow we know
ˢ Stated
Specialist codeShort code M1 · classic · L28-28 · original · FP8/NVFP4 ˢ
  • VariantForm classic S
  • Scope L28-28 S
  • LineageFamily tree original S
  • DistributionFiles FP8/NVFP4 T
Why this label 7 answers
FamilyMethod
M1 Stated The card names a direction-removal tool or states the abliterationThe card says so
VariantForm
classic Stated Direction removal stated without a refinement: the classic formThe standard form
Scope
L28-28 Stated Read from the model card by the card-reading pass (stated by the author)Read from the model card
Tool
not stated
Post-processingAfterwards
not stated
LineageFamily tree
original Stated Published as the author's own release, with no uncensored ancestorThe author's own release
DistributionFiles
FP8/NVFP4 Tool record From the repository's file formatsFrom the files
Target
refusal Guessed No other target stated, so refusals
Where the change lives
weights Stated Follows from the familyFollows from the method
Hardened base
not stated
Refusal direction extracted viaFinding the refusal signal
Extraction techniqueHow it was found

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)

Licence and originprovenance

Original release
  • Provider: DeepSeek Provider: DeepSeek original.provider
  • Release: deepseek-ai/DeepSeek-V4-Flash-Vision-Exp Original release repo: deepseek-ai/DeepSeek-V4-Flash-Vision-Exp original.release_id
  • Licence of the original release: MIT Licence of the original release: MIT original.licence
  • EU training-content summary published: yes EU training-content summary (AI Act Art. 53(1)(d)): found on the provider's pages, checked 2026-11-29 original.eu_training_summary
  • Original release found via models it says it is built on Link found in the lineage graph (declared base models) link_source
This model
  • Licence stated by this model: mit Licence in the model card metadata: mit this_model.declared_licence
  • None of the checked licence points of the original release applies None of the checked licence points of the original release applies this_model.flags
Details
  • Full licence text dated copy of 29 Nov 2026 licence_text
  • Chain to this model 1 step, 6 file hashes chain
  • Provider documents 7 facts with sources provider_documents
  • Licences side by side licences

From public data checked on 2026-12-06. Not legal advice. How this is checked · Report a problem with this information

Downloads · lifetimeDownloads · all time
7K
2K last 30d - 10 to 50% of lifetime10 to 50% of total
Likes
81
DescendantsBuilt on it
6
in 6 direct forks
Model age
3mo ago
created 2026-09-02
Downloads over time
Now 6.5K → from 0 new
02.4K4.8K7.1K 0 on Sep 3 6.5K on Dec 6 SepOctNovDec
Sep 3 → Dec 6 · 95 snapshots · spans 94 daysSep 3 → Dec 6 · 95 recorded counts over 94 days

GenealogyFamily tree 6 direct forks

Full fork graph →All family trees →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.Its place among other models. Above: what it comes from. Below: models built on it, directly or through other models.

Variants by this authorSame model, other formats 3 formats · 3K downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.The same model, released by this author in different file formats. Pick the format your program can open.

MetadataDetails

License
mit
Languages
enzh
Tags
transformerssafetensorsdeepseek_v4text-generationabliterateddeepseekdeepseek-v4uncensoredai-red-teamred-teamingmoevision-language

Related

Total size
156 GB
Files
81
Quantizations
none
Indexed by usAdded
2026-09-03 13:03
Last updated on HFLast updated
2026-12-02 05:21

Files by quantizationFiles by compression

Weights 48 files 156 GB
model-00048-of-00048.safetensors 3.44 GB ******** download
model-00046-of-00048.safetensors 3.36 GB ******** download
model-00004-of-00048.safetensors 3.35 GB ******** download
model-00012-of-00048.safetensors 3.34 GB ******** download
model-00014-of-00048.safetensors 3.34 GB ******** download
model-00016-of-00048.safetensors 3.34 GB ******** download
model-00018-of-00048.safetensors 3.34 GB ******** download
model-00020-of-00048.safetensors 3.34 GB ******** download
model-00022-of-00048.safetensors 3.34 GB ******** download
model-00024-of-00048.safetensors 3.34 GB ******** download
model-00026-of-00048.safetensors 3.34 GB ******** download
model-00028-of-00048.safetensors 3.34 GB ******** download
model-00030-of-00048.safetensors 3.34 GB ******** download
model-00032-of-00048.safetensors 3.34 GB ******** download
model-00034-of-00048.safetensors 3.34 GB ******** download
model-00036-of-00048.safetensors 3.34 GB ******** download
model-00038-of-00048.safetensors 3.34 GB ******** download
model-00040-of-00048.safetensors 3.34 GB ******** download
model-00042-of-00048.safetensors 3.34 GB ******** download
model-00044-of-00048.safetensors 3.34 GB ******** download
model-00006-of-00048.safetensors 3.34 GB ******** download
model-00008-of-00048.safetensors 3.34 GB ******** download
model-00010-of-00048.safetensors 3.34 GB ******** download
model-00013-of-00048.safetensors 3.32 GB ******** download
model-00015-of-00048.safetensors 3.32 GB ******** download
model-00017-of-00048.safetensors 3.32 GB ******** download
model-00019-of-00048.safetensors 3.32 GB ******** download
model-00021-of-00048.safetensors 3.32 GB ******** download
model-00023-of-00048.safetensors 3.32 GB ******** download
model-00025-of-00048.safetensors 3.32 GB ******** download
model-00027-of-00048.safetensors 3.32 GB ******** download
model-00029-of-00048.safetensors 3.32 GB ******** download
model-00031-of-00048.safetensors 3.32 GB ******** download
model-00033-of-00048.safetensors 3.32 GB ******** download
model-00035-of-00048.safetensors 3.32 GB ******** download
model-00037-of-00048.safetensors 3.32 GB ******** download
model-00039-of-00048.safetensors 3.32 GB ******** download
model-00041-of-00048.safetensors 3.32 GB ******** download
model-00043-of-00048.safetensors 3.32 GB ******** download
model-00005-of-00048.safetensors 3.32 GB ******** download
model-00007-of-00048.safetensors 3.32 GB ******** download
model-00009-of-00048.safetensors 3.32 GB ******** download
model-00011-of-00048.safetensors 3.32 GB ******** download
model-00002-of-00048.safetensors 3.32 GB ******** download
model-00003-of-00048.safetensors 3.32 GB ******** download
model-00047-of-00048.safetensors 3.32 GB ******** download
model-00001-of-00048.safetensors 1.86 GB ******** download
model-00045-of-00048.safetensors 1010 MB ******** download
Auxiliary files 33 files 11.9 MB
tokenizer.json 6.07 MB 6a15814d download
model.safetensors.index.json 5.37 MB edf6b126 download
inference/examples/images/carrots.jpeg 208 KB ******** download
inference/examples/images/corn.jpeg 54.8 KB 5777d198 download
inference/model.py 48.4 KB acc03891 download
encoding/encoding_dsv4.py 35.8 KB 5853aef3 download
inference/kernel.py 21.7 KB 515c4af2 download
README.md 20.2 KB 03ed90d2 download
inference/generate.py 8.60 KB b6cc3d50 download
inference/image_processor.py 7.52 KB 15605682 download
inference/convert.py 7.19 KB 59a53f88 download
encoding/test_encoding_dsv4.py 6.42 KB 42a97757 download
encoding/tests/test_input_3.json 4.44 KB 10034844 download
inference/vision.py 4.36 KB 9da382a6 download
encoding/tests/test_output_3.txt 3.24 KB edee5633 download
encoding/tests/test_input_1.json 2.68 KB d423b221 download
encoding/tests/test_input_4.json 2.67 KB d5e0791d download
encoding/tests/test_output_4.txt 2.49 KB d30bd5d0 download
encoding/README.md 2.46 KB d4ade1ba download
encoding/tests/test_output_1.txt 2.33 KB 7e3c9bd5 download
config.json 2.11 KB 11823cdb download
inference/README.md 1.83 KB 5818289c download
.gitattributes 1.56 KB a8a050df download
inference/config.json 1.42 KB 9b4b1dee download
LICENSE 1.06 KB d62e3bef download
tokenizer_config.json 801 B f3dad388 download
inference/examples/example_vl_harmony.json 783 B a065efb2 download
encoding/tests/test_input_2.json 526 B 13b3454a download
inference/run.sh 382 B 70728678 download
encoding/tests/test_output_2.txt 342 B fc397ef5 download
inference/examples/example_vl.txt 234 B 1e6946f5 download
generation_config.json 170 B c56a8c5b download
inference/requirements.txt 106 B a3d2dd17 download

READMEAuthor's description from Hugging Face, captured 2026-09-03


license: mit
base_model: deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
base_model_relation: finetune
pipeline_tag: image-text-to-text
library_name: transformers
language:

  • en
  • zh
    tags:
  • abliterated
  • deepseek
  • deepseek-v4
  • uncensored
  • ai-red-team
  • red-teaming
  • moe
  • vision-language
  • image-text-to-text
  • reasoning
  • mtp
  • fp4
  • fp8
  • post-training

OrcaRouter

DeepSeek-V4-Flash-Vision-Uncensored

The abliterated (refusal-removed) build of DeepSeek's V4-Flash-Vision-Exp — baked directly into the official block-FP8 / FP4 checkpoint, byte-for-byte drop-in for the original

Website Model Catalog License precision 1M context Vision-Language MoE MTP mHC

One Gateway. Every Model. — Route Smarter · Ship Safer · Spend Less.

Website · Model Catalog · GitHub


The abliterated (refusal-removed) build of
deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
— a 305B / ~18B-active Mixture-of-Experts model with DeepSeek sparse attention, 4-wide
Manifold-Constrained Hyper-Connections, a native vision tower, a DSpark / MTP
speculative head, and a 1M-token context.

The refusal direction is baked directly into the official mixed-precision shards — same
format, same shard layout, same model.safetensors.index.json. Every tensor matches the base
checkpoint in name, dtype and shape, so this is a drop-in replacement for
deepseek-ai/DeepSeek-V4-Flash-Vision-Exp in any stack that already serves it.

On the precision: this checkpoint is a four-precision model as DeepSeek ships it — the
routed experts are FP4 (e2m1, packed 2/byte, ue8m0 per-32 scales), attention and the
shared expert are block-FP8 (e4m3, 128×128, ue8m0 scales), embeddings / vision / norms /
the MoE router are BF16, and the Hyper-Connection mixers are FP32. There is no upstream
BF16 release; this is the full-precision source as published.


⚠️ Disclaimer — read before use

This model has had its safety alignment substantially removed via abliteration
(orthogonalizing the refusal direction out of the residual stream). As a direct consequence:

  • It will comply with harmful, unethical, offensive, or illegal requests that the original
    model would refuse. It has no meaningful built-in guardrails.
  • It is released strictly for legitimate research — interpretability, AI-safety and
    refusal-mechanism study, red-teaming, robustness evaluation, and controlled experiments.
  • You assume full responsibility and liability for how you use it and for everything it
    generates. Do not deploy it to end users or in production without adding your own safety,
    moderation, and abuse-prevention layers.
  • Use must comply with the MIT License inherited from
    the base model, and all laws and regulations that apply to you.
  • The authors and uploaders accept no liability for any misuse or harm. Its outputs do not
    reflect the views of the uploaders or of DeepSeek.

By downloading or using this model you acknowledge and accept the above.


Model details

Base model deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
Architecture DeepseekV4ForCausalLM (deepseek_v4) — 43 transformer layers + 3 MTP / DSpark blocks, hidden 4096, DeepSeek sparse attention (MLA, q/o-LoRA 1024, head_dim 512, top-512 indexer), 256 routed experts top-6 + 1 shared expert (first 3 layers hash-routed), 4-wide Manifold-Constrained Hyper-Connections (mHC), native vision tower (32 blocks) + aligner
Parameters ~305B total / ~18B active
Modification Abliteration (refusal-direction removal), baked on disk into the mixed FP4 / FP8 / BF16 shards — the quantization format is unchanged
Format safetensors, FP4 routed experts + block-FP8 attention/shared + BF16 embeddings/vision/norms + FP32 mHC, 48 shards, 72,633 tensors, ~157 GiB
Preserved The full vision tower + aligner (untouched apart from the language-residual writer), the MoE router (ffn.gate weight/bias/bias_vl/hash table), the w1/w3 expert readers, all Hyper-Connection mixers, the sparse-attention indexer and compressor, every norm, and head (lm_head)
Context 1,048,576 tokens
Vocabulary 129,280
Recommended for Red-team & refusal-mechanism research, robustness evaluation, and as a base for further post-training / re-quantization

Abliteration

Refusal-direction removal following Arditi et al. (2024), Refusal in Language Models Is
Mediated by a Single Direction
. A single refusal direction r (k = 1) is estimated as the
massive-activation-masked mean-difference of harmful − harmless activations, read from the
4096-d residual stream at layer 28 of 43 (depth 0.65) and selected by a 10-candidate quality
sweep scored by bypass − kl_penalty·kl_norm − induced_benign_refusal. r is then orthogonalized
out of every residual-writing matrix — W' = W − r(rᵀW) — computed in float32.

Reading the direction under Hyper-Connections

The mHC residual is a stack of hc_mult=4 parallel streams, and output_hidden_states exposes the
widened 4×4096 = 16384 stream — the naive last-token recipe would estimate the direction in the
wrong space. Instead we read the un-widened 4096-d stream that each sub-block actually consumes,
captured with forward pre-hooks on input_layernorm (attention read) and post_attention_layernorm
(MoE read). The two read points genuinely differ within a layer, and the sweep found the refusal
direction is linear and cleanly separable at the MoE read point, not the attention one.

mHC cannot re-introduce the direction after the writers are cleaned: its comb mixing matrix is
doubly-stochastic and acts over the branch axis, and post is a per-branch scalar gain — both are
linear and branch-wise in hidden space. Orthogonalizing the 4096-d writers is therefore sufficient,
and the hc_* parameters are left untouched.

Why it had to be baked on disk

This checkpoint cannot be abliterated by the conventional in-memory path:

  • Its routed experts are FP4: raw e2m1 nibbles packed two-per-byte with sibling ue8m0
    scales. Projecting the nibbles corrupts the matrix, and the leakage probe — reading the same
    quantized code space — reports a false ~0.
  • Its 11,008 routed-expert w2 matrices are the MoE's main residual writer. A conventional
    2-D-.weight matcher edits none of them and still reports success.
  • transformers loads the model text-only — it drops the vision tower, aligner, the four
    learned image vectors and the MTP blocks on load, so save_pretrained would silently omit them.

The shards are therefore streamed and rewritten one at a time, in the checkpoint's own formats.

What was edited

Residual writer precision matrices
layers.*.ffn.experts.*.w2 (256 experts × 43 layers) + mtp.* (256 × 3) FP4 11,776
layers.*.attn.wo_b (43) + mtp.* (3) FP8 46
layers.*.ffn.shared_experts.w2 (43) + mtp.* (3) FP8 46
embed (row space) BF16 1
aligner.w2 (writes the language residual at image positions) BF16 1
image_start / image_end / image_newline / image_pad BF16 4
Total 11,874

A post-bake verification pass confirms all 48 shards and 72,633 tensors match the base checkpoint
in name, dtype and shape, and that every tensor is accounted for as either edited or copied.

The quantization-aware requantizer — why FP4 abliteration is not lossy here

Orthogonalizing a quantized matrix and requantizing leaks the direction straight back. Measured on
real tensors under the actual refusal direction:

requantizer FP4-expert leakage FP8-writer leakage
naive quantize(W − r rᵀW) (round-to-nearest) 67% 36%
this build (constrained quantization) 0.001% 0.045%

The naive edit perturbs the matrix by only ~3%, far below one FP4 code step, so round-to-nearest
simply undoes it — and iterating does not help; it is a fixed point. We instead solve the
constrained quantization problem directly, per column j:

min_q ‖q − W[:,j]‖²   s.t.   rᵀq = 0,   q on the FP4/FP8 grid

Its Lagrangian is quantize(W[:,j] + λⱼ r) — a per-column over-projection whose multiplier is
found by bisection (the constraint function is monotone in λ), followed by single-code refinement
and per-block ue8m0 scale co-optimization. The output is a fixed point of the runtime's own
dequant/requant kernel
, so it survives loading unchanged. This is what makes a lossless-quality
bake possible on an FP4 MoE, and it is why capability is retained (below): the edit is exact on the
direction while perturbing the weights by only ~3.7% (FP4) / ~2.1% (FP8).

leakage = ‖rᵀW_baked‖ / ‖rᵀW_orig‖, mean over 8 layers × 4 experts × several directions.

Where the refusal lives

The sweep also localizes the mechanism. Hook-ablating the direction (lossless, no bake) at each
candidate read point and layer, on the held-out validation split:

read point / layer harmful refusal
baseline 0.917
MoE read, layer 15 0.667
MoE read, layer 28 (shipped) 0.042
MoE read, layer 32 0.125
attention read (best of sweep) 0.417

The refusal direction is written into the MoE read point and is cleanly removable there at
mid-to-late depth; the attention read point never gets below 0.42. Layer 28 is a narrow optimum,
and the direction generalizes to a different held-out distribution (JailbreakBench) rather than
overfitting the AdvBench/Alpaca fit data.


Evaluation

Measured on these exact weights, 4×H100, greedy decoding, thinking_mode="chat" (DeepSeek closes
its <think> block immediately so the answer — not a reasoning preamble — is what the classifier
reads). Refusal is judged by a rule-based opening-phrase classifier (caveat = answered but wrapped
in a disclaimer) — indicative, not an LLM-judge / publication-grade number. Both columns are the same
script, seed and settings on the base and abliterated checkpoints.

Safety — harmful-prompt refusal (lower = more uncensored)

Benchmark n Base This model Δ Caveat (this)
MaliciousInstruct 100 0.940 0.020 −98% 0.600
JailbreakBench (harmful) 100 0.910 0.020 −98% 0.540
AdvBench 100 0.980 0.080 −92% 0.630
ForbiddenQuestions 150 0.853 0.113 −87% 0.493
SimpleSafetyTests 50 0.900 0.160 −82% 0.500

Over-refusal — benign prompts wrongly refused (lower = better)

Benchmark n Base This model
XSTest-safe 250 0.092 0.004
JailbreakBench (benign) 100 0.140 0.000

250 prompts written to look harmful while being benign, plus the held-out benign split. The edit
does not blunt the model's discrimination — it sharpens it; over-refusal drops to near-zero, below
the base model's own rate.

Capability retention — vs the official base (same scripts, same settings)

Benchmark n Base This model Δ
MMLU 300 0.847 0.850 +0.3 pp
MMLU-Pro 400 0.640 0.650 +1.0 pp
GSM8K (CoT) 150 0.953 0.947 −0.6 pp

Every delta is within ±1 pp. Multiple-choice is scored from a single forward pass, argmax over the
option-letter logits; GSM8K keeps chain-of-thought generation. Read the deltas as "unchanged" — the
constrained requantizer's ~3.7% weight perturbation carries no measurable capability cost.


Usage

The base model's repository ships an encoding/ reference (there is no chat template in the
tokenizer) and an inference/ reference implementation that covers vision, MoE, Hyper-Connections
and the DSpark path. Prompts must be built with encode_messages(...), not apply_chat_template.
The model card for the base recommends serving via SGLang with --speculative-algorithm DSPARK
(draft and target share this checkpoint). This build is a drop-in for the base in that stack.

For text-only research on transformers (5.16+): the FP8/FP4 path needs kernels==0.16.0, and the
FineGrainedFP8HfQuantizer.update_tp_plan upstream crash must be stubbed for a single-process load;
the HF class is text-only (vision is dropped on load).


Bias, risks, and limitations

  • Safety guardrails removed — the model will produce harmful, biased, or offensive content on
    request (see the disclaimer).
  • It inherits any biases and limitations of the base DeepSeek-V4-Flash-Vision-Exp.
  • Image-conditioned refusal is not yet quantified. The vision residual writers (aligner.w2
    and the four learned image vectors) are abliterated in these weights, but the effect on
    image+text refusal has not been measured on real multimodal inputs — the transformers stack is
    text-only, so that evaluation requires the base repo's reference implementation and is pending.
    Treat the vision path as edited-but-unverified.
  • The reported refusal metric is a rule-based heuristic; evaluate rigorously for your own use case.
  • Capability retention is measured, not assumed, but on sampled subsets of three benchmarks — enough
    to rule out a large regression, not a substitute for a full harness run. The GLM-5.3 sibling card's
    HarmBench / StrongREJECT / CMMLU columns are not included here (dataset access pending).
  • Refusal is reduced, not removed. A small residual refusal rate remains, and — as with any
    single-direction abliteration — some content categories may be mediated by directions this method
    does not reach.

License

MIT, inherited from the base model
deepseek-ai/DeepSeek-V4-Flash-Vision-Exp.
Abliteration does not change the underlying license obligations.

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration