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-04 07:08added 2026-12-04 07:08

salyamq/Qwen4-35B-A3B-abliterated

salyamq Qwen 35B MoE multimodal
  • Understands images

M1 Direction removal · 189 downloads · 1 like

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/salyamq%2FQwen4-35B-A3B-abliterated"
Response includesThe data includes
  • method_v2.family M1
  • files 65
  • author_summary 2 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 · L0-7.Refusals were removed here.

EvidenceHow we know
ˢ Stated
Specialist codeShort code M1 · classic · L0-7 · original · full ˢ
  • VariantForm classic S
  • Scope L0-7 S
  • LineageFamily tree original S
  • DistributionFiles full 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
L0-7 Stated Layer range stated in the 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
full 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=M3; 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
189
Likes
1
DescendantsBuilt on it
19
in 15 direct forks
Model age
2d ago
created 2026-12-04
Downloads over time
Now 167 → from 0 new
061122184 0 on Dec 4 167 on Dec 6 Dec
Dec 4 → Dec 6 · 3 snapshots · spans 2 daysDec 4 → Dec 6 · 3 recorded counts over 2 days

GenealogyFamily tree 15 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
salyamq/Qwen4-35B-A3B-abliteratedM1uncensoring eventrefusals removed here↓ 189 15 forks
orcarouter/Qwen4-35B-A3B-abliterated-GGUFM1conversionconverted copy↓ 228,587 4 forks
TokenAI-zer/Qwen4-35B-A3B-abliterated-oQ8-mtpM1conversionconverted copy↓ 142
TokenAI-zer/Qwen4-35B-A3B-abliterated-oQ6-mtpM1conversionconverted copy↓ 75
TokenAI-zer/Qwen4-35B-A3B-abliterated-oQ5-mtpM1conversionconverted copy↓ 60
TokenAI-zer/Qwen4-35B-A3B-abliterated-oQ4-mtpM1conversionconverted copy↓ 55
Quat3rnion/Qwen4-35B-A3B-abliterated-GGUFM1conversionconverted copy↓ 54,353
satellitedown/Qwen4-35B-A3B-Abliterated-GGUFM1conversionconverted copy↓ 18,945
onemunanoyo/Qwen4-35B-A3B-Abliterated-GGUFM1conversionconverted copy↓ 7,934
BoldingBuilds/Qwen4-35B-A3B-Abliterated-GGUFM1conversionconverted copy↓ 4,467
mrfakename/Qwen4-35B-A3B-abliterated-GGUFM1conversionconverted copy↓ 1,831
bos98/Qwen4-35B-A3B-Abliterated-BF16M1conversionconverted copy↓ 622
bos98/Qwen4-35B-A3B-Abliterated-MLX-4bit-MTPM1conversionconverted copy↓ 460
Me-Daniel/Qwen4-35B-A3B-abliterated-GGUFM1conversionconverted copy↓ 269
starsaway/Qwen4-35B-A3B-abliterated-FP8M1conversionconverted copy

MetadataDetails

License
Tags
transformerssafetensorsqwen4_moeimage-text-to-textabliterateduncensoredmoearxiv:2406.11717base_model:Qwen/Qwen4-35B-A3Bbase_model:finetune:Qwen/Qwen4-35B-A3Blicense:apache-2.0endpoints_compatible

Related

Control vectorsSteering files

Total size
106 GB
Files
65
Quantizations
none
Indexed by usAdded
2026-12-04 07:08
Last updated on HFLast updated
2026-12-04 06:23

Files by quantizationFiles by compression

Weights 34 files 106 GB
model-00031-of-00033.safetensors 3.72 GB 24389140 download
model-00032-of-00033.safetensors 3.71 GB 9aaaf90c 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 9c393392 download
model-00019-of-00033.safetensors 3.02 GB 2ffec33f download
model-00021-of-00033.safetensors 3.00 GB c065edbe download
model-00020-of-00033.safetensors 3.00 GB 80b52699 download
model-00028-of-00033.safetensors 3.00 GB 54ecb60b download
model-00025-of-00033.safetensors 3.00 GB 93782d95 download
model-00029-of-00033.safetensors 3.00 GB 2ca44dfd download
model-00017-of-00033.safetensors 3.00 GB bcf4f1a2 download
model-00023-of-00033.safetensors 3.00 GB 5e83710f download
model-00030-of-00033.safetensors 3.00 GB 9d7c82e7 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 19ca0126 download
model-00016-of-00033.safetensors 3.00 GB 4c40eec7 download
model-00018-of-00033.safetensors 3.00 GB 52aa4e5c download
model-00022-of-00033.safetensors 3.00 GB 04b02925 download
model-00024-of-00033.safetensors 3.00 GB bd205f43 download
model-00026-of-00033.safetensors 3.00 GB 93401cab download
model-00033-of-00033.safetensors 1.65 GB 244d47d3 download
refusal_direction.pt 653 KB ba37ed65 download
Auxiliary files 31 files 27.7 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
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
abliteration/abl_lib.py 10.7 KB 7b6610e9 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 6.84 KB 00c89ef3 download
abliteration/search3.py 5.75 KB e8794579 download
abliteration/final_eval.py 5.49 KB e4a93f29 download
abliteration/search.py 3.97 KB 7f7ebcf2 download
config.json 3.74 KB 9158e570 download
abliteration/search_space.py 3.02 KB daba76c2 download
abliteration/bake.py 2.72 KB bc84a49e download
abliteration/judge_local.py 1.78 KB c2eb3170 download
.gitattributes 1.55 KB e7610834 download
abliteration/directions.py 1.50 KB e0f859fc download
preprocessor_config.json 476 B 51934069 download
video_preprocessor_config.json 471 B 99c30fc9 download
abliteration/params.json 377 B fabcdc6b 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-04


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

  • abliterated
  • uncensored
  • qwen4_moe
  • moe

Qwen4-35B-A3B-abliterated

Qwen/Qwen4-35B-A3B with its refusal behaviour removed by weight orthogonalization
("abliteration", Arditi et al., 2024). No fine-tuning and no new data: 85 weight
tensors of the language model are edited in place, everything else (vision tower, embeddings, routers, MTP head, tokenizer,
chat template, config) is byte-identical to the original.

[!WARNING]
This model will follow harmful instructions. It has no safety tuning left. You are responsible for how you use it and for
complying with applicable law and the Apache-2.0 license of the original model.

Results

Original vs. this model, same prompts, greedy decoding, bf16, transformers 5.27.0.dev0.

Qwen4-35B-A3B abliterated
Refusals, harmful_behaviors test (104 prompts, thinking off) ¹ 102 / 104 2 / 104
Refusals, JailbreakBench JBB-Behaviors harmful (100, thinking off) ¹ 94 / 100 2 / 100
Refusals, Russian harmful prompts (16, thinking off) ¹ 16 / 16 0 / 16
Refusals, thinking on (48 EN + 16 RU harmful, 1536 tokens) ¹ 62 / 64 1 / 36 finished ²
Refusal keywords on harmless prompts (100, alpaca) ¹ 4 / 100 4 / 100
MMLU, 600 random test questions, 0-shot, thinking off (letter logits) 80.3 % 75.2 %
MMLU, same questions, answer parsed from generation 77.3 % 72.8 %
GSM8K, 200 random test problems, thinking off 97.5 % 95.5 %
KL(original ‖ abliterated), full 64-token answers to 96 harmless prompts 0 0.186
KL, first answer token, harmless prompts, thinking off / on 0 0.34 / 0.017

¹ Keyword-based refusal detection on the first ~240 characters of the answer (English + Russian refusal phrases).
² With thinking on, the abliterated model reasons longer before answering harmful requests (it plans the answer instead of a
refusal); 36 of 64 finished thinking within 1536 tokens, 1 of those 36 refused.

Read these numbers with the caveats below. Keyword counts understate what is left of the refusal behaviour:

  • Soft refusals / deflections. Abliteration removes the refusal, not the model's notion of harm. On some prompts the model
    now answers a reinterpreted, harmless version of the request (e.g. a malware simulation, asks a clarifying question, or a
    short "pushback" paragraph). An LLM judge that counts these as refusals (Gemini 3.8 Flash) labelled 19/104 answers of a closely related
    configuration (the same edit applied from layer 0) as refusals; a stricter and noisier local judge (the original
    Qwen4-35B-A3B) labelled 31/104 answers of this model as refusals, though many of those are in fact compliant. Realistic
    substantive compliance on these prompts is roughly 70–85 %.
    Some requests (e.g. CSAM) are still refused.
  • Capability cost. MMLU drops by ~4.5–5 points and GSM8K by 2 points. This model was unusually resistant to
    abliteration (see below), and removing its refusals took a stronger edit than usual. Long-form writing, coding and chat in
    English/Russian looked unaffected in spot checks, but expect some degradation on knowledge-heavy tasks.

Method

Qwen4's residual stream is unusual: 4 hyper-connection streams of width 2048 ("gated residual"), and every sublayer
(Gated DeltaNet / sparse attention, MoE) adds the same 2048-d output o to each stream with a learned per-token scale.
Projecting o off a subspace Q therefore removes Q from every stream, and since o is linear in the output weights this
is exactly the weight edit W ← W − λ_l Qᵀ Q W on

  • linear_attn.out_proj / self_attn.o_proj,
  • mlp.experts.down_proj (all 256 experts) and mlp.shared_expert.down_proj

of decoder layer l.

  1. Directions. Mean last-token residual (all 4 streams, after every layer) for 400 harmful (mlabonne/harmful_behaviors)
    and 400 harmless (mlabonne/harmless_alpaca) prompts, in both chat formats: thinking off (last token </think>) and
    thinking on (last token <think>). The two formats give quite different refusal directions (cosine ≈ 0.3), and a
    single direction barely worked: the best rank-1 edit still refused 37/104. The final edit removes, at each layer, the
    rank-2 subspace spanned by the difference-of-means directions of both formats (averaged over the 4 streams, each
    orthogonalized against the harmless mean, "biprojection"), measured at that layer's own output.
  2. Search. Per-component layer kernels (peak weight, position, width, floor) for attention and MoE writers were tuned
    with Optuna TPE over ~160 trials (3 rounds), minimising refusals (104 held-out harmful prompts, thinking off + 32 prompts
    with thinking on) against KL divergence on harmless answers, Heretic-style. Layers 0–7 are left untouched (that alone cut
    the KL by ~20 % at equal refusal rate).
  3. Bake + verify. The chosen edit (layers 8–39; λ up to 1.54 for attention, 1.21 for MoE) was written into the
    original safetensors shards. The saved checkpoint was re-loaded and re-evaluated: 0/104 and 2/100 keyword refusals,
    0/16 Russian, 4/100 on harmless prompts, GSM8K 95.3 % (64 problems); first-token KL to the hook-based version is 0.047
    with thinking off and 0.001 with thinking on (bf16 rounding of the edited weights).

Final parameters, the per-layer directions and all scripts are in this repo: abliteration/ and refusal_direction.pt.

Usage

Identical to the original model (same architecture, tokenizer, chat template and sampling recommendations) — see the
Qwen4-35B-A3B card. Transformers support for qwen4_moe is currently only on
main:

pip install "git+https://github.com/huggingface/transformers.git" tiktoken xgrammar flash-linear-attention
from transformers import AutoModelForImageTextToText, AutoTokenizer

repo = "salyamq/Qwen4-35B-A3B-abliterated"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(repo, dtype="bfloat16", device_map="auto")

inputs = tok.apply_chat_template([{"role": "user", "content": "Hello!"}], add_generation_prompt=True, tokenize=True,
                                 return_dict=True, return_tensors="pt", reasoning_effort="off").to(model.device)
out = model.generate(**inputs, max_new_tokens=256)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

vLLM / SGLang should work as for the original. The MTP (speculative decoding) head was not modified, so its draft
acceptance rate on previously-refused topics may be somewhat lower.

License

Apache-2.0, same as Qwen/Qwen4-35B-A3B.

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-04 Abliterated Qwen4-35B-A3B (rank-2 per-layer refusal subspace, layers 8-39) 3fba39e 6.8 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