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-12-05 01:08added 2026-12-05 01:08

heterodoxin/qwen4-35b-a3b-uncensored

heterodoxin Qwen 35B GGUF MoE multimodal
  • Understands images

M1 Direction removal · 1.9K downloads · 2 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/heterodoxin%2Fqwen4-35b-a3b-uncensored"
Response includesThe data includes
  • method_v2.family M1
  • files 69
  • author_summary 4 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 · modules · Apostate.Refusals were removed here.

EvidenceHow we know
ˢ Stated
Specialist codeShort code M1 · classic · modules · Apostate · original · GGUF ˢ
  • VariantForm classic S
  • Scope modules S
  • Tool Apostate S
  • LineageFamily tree original S
  • DistributionFiles GGUF T
Why this label 8 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
modules Stated The card names the edited modulesThe card names the parts changed
Tool
Apostate Stated Read from the model card by the card-reading pass (stated by the author)Read from the model card
Post-processingAfterwards
not stated
LineageFamily tree
original Stated Published as the author's own release, with no uncensored ancestorThe author's own release
DistributionFiles
GGUF 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: Qwen (Alibaba) Provider: Qwen (Alibaba) original.provider
  • Release: Qwen/Qwen4-35B-A3B Original release repo: Qwen/Qwen4-35B-A3B original.release_id
  • Licence of the original release: Apache-2.0 Licence of the original release: Apache-2.0 original.licence
  • EU training-content summary published: not found as of 2026-11-29 EU training-content summary (AI Act Art. 53(1)(d)): none found, last checked 2026-11-29 original.eu_training_summary
  • Provider documents taken from the researched release of the same release line, Qwen/Qwen1.5-0.5B-Chat Provider documents taken from the researched release of the same release line, Qwen/Qwen1.5-0.5B-Chat original.eu_training_summary.from_release
  • 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: apache-2.0 Licence in the model card metadata: apache-2.0 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 6 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
2K
Likes
2
Model age
1d ago
created 2026-12-05
Downloads over time
Now 1.5K → from 0 new
05471.1K1.6K 0 on Dec 5 1.5K on Dec 6 Dec
Dec 5 → Dec 6 · 2 snapshots · spans 1 dayDec 5 → Dec 6 · 2 recorded counts over 1 day

GenealogyFamily tree 0 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.

Qwen/Qwen4-35B-A3B this lineage
heterodoxin/qwen4-35b-a3b-uncensoredM1uncensoring eventrefusals removed here↓ 1,920

Variants by this authorSame model, other formats 3 formats · 6K 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
Quantizations
BF16IQ2IQ3Q8_0
Tags
transformerssafetensorsggufqwen4_moeimage-text-to-textuncensoredabliterationapostatediodemultimodalbase_model:Qwen/Qwen4-35B-A3Bbase_model:quantized:Qwen/Qwen4-35B-A3B

Related

Control vectorsSteering files

Total size
203 GB
Files
69
Quantizations
4
Indexed by usAdded
2026-12-05 01:08
Last updated on HFLast updated
2026-12-05 00:56

Files by quantizationFiles by compression

IQ2_XS 1 file 21.0 GB
qwen4-35b-a3b-uncensored-NU-IQ2_XS.gguf 21.0 GB f010aa11 download
IQ2_S 1 file 22.0 GB
qwen4-35b-a3b-uncensored-NU-IQ2_S.gguf 22.0 GB ff7aded6 download
IQ3_XXS 1 file 23.0 GB
qwen4-35b-a3b-uncensored-NU-IQ3_XXS.gguf 23.0 GB 98022d18 download
IQ3_S 1 file 25.0 GB
qwen4-35b-a3b-uncensored-NU-IQ3_S.gguf 25.0 GB 9cb697e6 download
Weights 33 files 106 GB
model-00031-of-00033.safetensors 3.72 GB f876100e download
model-00032-of-00033.safetensors 3.71 GB 50307a55 download
model-00009-of-00033.safetensors 3.58 GB e46d2f21 download
model-00010-of-00033.safetensors 3.58 GB 5351b09c download
model-00002-of-00033.safetensors 3.58 GB d2a8ff40 download
model-00003-of-00033.safetensors 3.58 GB cfd22a64 download
model-00004-of-00033.safetensors 3.58 GB 04315039 download
model-00005-of-00033.safetensors 3.58 GB 41d12065 download
model-00006-of-00033.safetensors 3.58 GB d1ed925b download
model-00007-of-00033.safetensors 3.58 GB 0bd48269 download
model-00008-of-00033.safetensors 3.58 GB c1db7c60 download
model-00001-of-00033.safetensors 3.58 GB 8c92922a download
model-00012-of-00033.safetensors 3.50 GB 40d540e2 download
model-00011-of-00033.safetensors 3.41 GB fffcdb3f download
model-00027-of-00033.safetensors 3.07 GB eaa49b3f download
model-00019-of-00033.safetensors 3.02 GB 3aef173e download
model-00021-of-00033.safetensors 3.00 GB 3ce35534 download
model-00020-of-00033.safetensors 3.00 GB 18c699d3 download
model-00028-of-00033.safetensors 3.00 GB 86fd63ff download
model-00025-of-00033.safetensors 3.00 GB 6431fbd1 download
model-00029-of-00033.safetensors 3.00 GB 52b574ae download
model-00017-of-00033.safetensors 3.00 GB 29ff0d4b download
model-00023-of-00033.safetensors 3.00 GB 87a0ffac download
model-00030-of-00033.safetensors 3.00 GB e740b7b0 download
model-00013-of-00033.safetensors 3.00 GB 9f0e53b0 download
model-00014-of-00033.safetensors 3.00 GB b90ae5df download
model-00015-of-00033.safetensors 3.00 GB c7981bd3 download
model-00016-of-00033.safetensors 3.00 GB d16bc0f0 download
model-00018-of-00033.safetensors 3.00 GB a09b0905 download
model-00022-of-00033.safetensors 3.00 GB f3c4b078 download
model-00024-of-00033.safetensors 3.00 GB 47f2123b download
model-00026-of-00033.safetensors 3.00 GB 8c23f517 download
model-00033-of-00033.safetensors 1.66 GB b0071200 download
Vision projector (mmproj) · attach to a main modelFile for reading pictures · used with a main file 1 file 861 MB
mmproj-qwen4-35b-a3b-uncensored-BF16.gguf 861 MB 42031240 download
Drafts and companions · attach to a main modelHelper files · used with a main file 3 files 5.74 GB
mtp-qwen4-35b-a3b-uncensored-BF16.gguf 3.51 GB e304af7c download
mtp-qwen4-35b-a3b-uncensored-Q8_0.gguf 1.87 GB 0e86aa7e download
imatrix-qwen4-35b-a3b-uncensored.gguf 371 MB 8d23c700 download
Auxiliary files 28 files 27.8 MB
tokenizer-compat/tokenizer.json 12.7 MB acfb8b5f download
tokenizer-compat/vocab.json 6.65 MB c36b3f76 download
tiktoken.model 4.60 MB 0962a705 download
tokenizer-compat/merges.txt 3.43 MB 082fa0b3 download
model.safetensors.index.json 147 KB c6393039 download
tensor-allocation/qwen4-35b-a3b-uncensored-NU-IQ2_XS.allocation.txt 37.7 KB 64bd3ab4 download
tensor-allocation/qwen4-35b-a3b-uncensored-NU-IQ3_S.allocation.txt 37.5 KB 89008721 download
tensor-allocation/qwen4-35b-a3b-uncensored-NU-IQ2_S.allocation.txt 37.5 KB e4e5d740 download
tensor-allocation/qwen4-35b-a3b-uncensored-NU-IQ3_XXS.allocation.txt 37.4 KB 8dfbb56e download
encoding_qwen4.py 32.0 KB ab094b2b download
processing_qwen4.py 30.6 KB 19d81739 download
tokenization_qwen4.py 14.4 KB b2dbd064 download
tokenizer-compat/chat_template.jinja 11.6 KB b197b4ac download
LICENSE 11.3 KB f938136e download
tokenizer-compat/tokenizer_config.json 8.44 KB 3d4cff7c download
qwen4_detector.py 7.60 KB d8513248 download
README-tokenizer.md 7.26 KB 109b6402 download
tokenizer_config.json 7.16 KB 2b41c8b4 download
README.md 7.03 KB 82ca3c32 download
apostate_config.json 6.19 KB b66c941d download
config.json 3.74 KB 39d73f67 download
.gitattributes 2.14 KB 1b2545d5 download
diode_report.json 936 B 82541d9b download
preprocessor_config.json 476 B 51934069 download
video_preprocessor_config.json 471 B 99c30fc9 download
generation_config.json 201 B 8fd7f7db download
processor_config.json 132 B dc4d0354 download
configuration.json 29.0 B d2e70990 download

READMEAuthor's description from Hugging Face, captured 2026-12-05


license: apache-2.0
base_model: Qwen/Qwen4-35B-A3B
library_name: transformers
pipeline_tag: image-text-to-text
tags:

  • uncensored
  • abliteration
  • apostate
  • diode
  • gguf
  • multimodal

Qwen4 35B A3B Uncensored

An uncensored edit of Qwen/Qwen4-35B-A3B. Refusals are removed by editing the weights directly, and the model stays multimodal (vision tower included). This repository has both the Transformers checkpoint and non-uniform GGUF quantizations. They are also published separately as qwen4-35b-a3b-uncensored-safetensors and qwen4-35b-a3b-uncensored-gguf.

Method

Produced with Apostate's diode method: conditional directional abliteration baked into ordinary weights. There is no finetune, adapter, runtime hook or trust_remote_code.

Each edited layer gets one gated neuron. Its gate reads a refusal detector and fires only above a threshold calibrated on harmless prompts (target: 0.2% of harmless tokens), and its output subtracts the residual refusal direction. On harmless input the detector stays below threshold, the neuron is silent, and the layer computes its original function. 11 layers carry a neuron (layers 12–30, except 15, 19, 22, 24, 25, 27, 28, 30).

Qwen4-35B-A3B needed several architecture-specific changes, now in Apostate (#17, #18):

  • MoE: the neuron lives in each layer's dense shared expert, which every token passes through. The routed experts are untouched. The shared expert is widened from 512 to 544 neurons rather than having a neuron overwritten: the new neuron takes slot 512, the other new slots are zero, and every original weight is byte-identical (overwriting one neuron alone cost 0.053 KL).
  • Gate calibration: on Qwen4's hyper-connection inputs the gate's reference dimension varies by 20–55%, so the threshold is calibrated on the firing ratio itself. Layers where that reference changes sign are skipped.
  • Hyper-connections: the 4 parallel residual streams are folded into the 2048-wide space the MLP writes to.
  • Size: the ~41 GB per-layer n-gram (PLE) table stays in CPU RAM while fitting, and the edit is baked shard by shard. Only the 5 shards holding shared experts differ from the base checkpoint. The vision tower is byte-identical to the base model's; the MTP head's shared expert is zero-padded to the new width.

Strength 24.0, κ 16.0.

Results

Measured on 128 held-out harmful prompts (harmful_behaviors test split + JailbreakBench) and 128 held-out harmless prompts. These were never used for fitting. Delivery is scored by the HarmBench classifier (cais/HarmBench-Llama-2-13b-cls) on the first 32 generated tokens: it counts a response only when those tokens already deliver the requested behavior. That is stricter than a refusal-keyword check, because many answers that start complying (headers, an outline) are still scored as non-delivered. KL is float32 KL(base‖edited) over every token position of the harmless prompts.

Metric Base This model
HarmBench delivery 0.8% 57.0%
Harmless KL (nats) 0.000 0.019

KL was measured with the routed experts in 4-bit NF4 and the shared experts in bf16 on both sides. Loading the base weights twice and scoring them against each other gives exactly 0.000, so the 0.019 is the edit's own shift. For comparison, the first build of this model (diode before the Qwen4 fixes below) measured 0.135 KL at 38.3% delivery, and Apostate's Qwen3.6-27B release measured 0.159 KL.

Most remaining non-deliveries are soft deflections rather than refusals: the answer starts, then steers to a safe reading of the request.

Usage (Transformers)

from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "heterodoxin/qwen4-35b-a3b-uncensored"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, device_map="auto", dtype="bfloat16")

messages = [{"role": "user", "content": [{"type": "text", "text": "Your prompt here"}]}]
inputs = processor.apply_chat_template(messages, add_generation_prompt=True, tokenize=True,
                                       return_dict=True, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=512)
print(processor.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

GGUF quantizations

Non-uniform quantizations: each tensor gets its own quant type, chosen by llama.cpp's budgeted allocator (llama-quantize --target-bpw). The allocator measures every candidate type's imatrix-weighted error on the actual weights and solves the size budget exactly. The four sizes match the operating points of ISTA-DASLab's GSQ-RCO releases (2.50 / 2.75 / 3.00 / 3.50 bpw). Note that GSQ's refinement and RCO's gradient-based search were not used here: the allocation comes from measured per-tensor error, solved under the size budget.

Qwen4 carries a 20.5B-parameter per-layer n-gram lookup table (37% of all weights) that llama.cpp stores at Q4_0. So the operating points are applied to the trunk, everything except that table, and the whole-file bpw is higher. IQ1 types are excluded, so no matrix drops below about 2 bpw. The importance matrix is the published one for the base model, with the 32 new shared-expert down_proj columns set to each tensor's mean importance (imatrix-qwen4-35b-a3b-uncensored.gguf). The widened shared-expert down_proj rows (544) are not a multiple of 256, so llama.cpp stores those 40 small tensors in a 32-block fallback type. tensor-allocation/ lists the type assigned to every tensor in each file.

File trunk bpw file bpw Size Notes
qwen4-35b-a3b-uncensored-NU-IQ2_XS.gguf 2.50 3.24 22.5 GB Smallest
qwen4-35b-a3b-uncensored-NU-IQ2_S.gguf 2.76 3.40 23.6 GB
qwen4-35b-a3b-uncensored-NU-IQ3_XXS.gguf 3.01 3.56 24.7 GB Good all-round size
qwen4-35b-a3b-uncensored-NU-IQ3_S.gguf 3.50 3.87 26.9 GB Recommended
Extra Contents
mmproj-qwen4-35b-a3b-uncensored-BF16.gguf Vision encoder + projector (BF16) for image input
mtp-qwen4-35b-a3b-uncensored-BF16.gguf Multi-token-prediction head for speculative decoding
mtp-qwen4-35b-a3b-uncensored-Q8_0.gguf Multi-token-prediction head for speculative decoding
llama-cli -m qwen4-35b-a3b-uncensored-NU-IQ3_S.gguf -ngl 99 -p "Your prompt"
# vision
llama-mtmd-cli -m qwen4-35b-a3b-uncensored-NU-IQ3_S.gguf --mmproj mmproj-qwen4-35b-a3b-uncensored-BF16.gguf --image photo.jpg -p "Describe this image."

License and use

Apache-2.0, inherited from Qwen/Qwen4-35B-A3B. This is a research artifact with safety alignment removed: it will answer harmful requests, and you are responsible for how you use it.

README historyEdit history 1 version1 edit

The author's README evolved over time. Click a version to see its content at that point.The author changed the description over time. Click a date to see the text as it was then.

  1. 2026-12-05 Qwen4-35B-A3B uncensored: safetensors + GGUF 4235205 7 KB
    Loading...
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