base_model: Qwen/Qwen4-35B-A3B
base_model_relation: quantized
license: apache-2.0
library_name: gguf
pipeline_tag: image-text-to-text
tags:
- qwen4
- qwen4_moe
- qwen4exp
- gguf
- abliterated
- oblique-abliteration
- uncensored
- imatrix
- moe
Qwen4-35B-A3B-Abliterated-GGUF
Imatrix-quantized GGUF builds of our ultra-low-KLD v2 oblique + nullspace-healed abliterated Qwen/Qwen4-35B-A3B, built with upstream llama.cpp (qwen4exp architecture) and the official importance matrix (imatrix-Qwen4-35B-A3B.gguf).
v2 Update (3.55× lower KL divergence & 38% fewer refusals vs v1): Upgraded from v1 symmetric Heretic projection (
0.029KLD,34/340refusals) to 200K-token Mega-Covariance oblique whitening + LM-head natural-gradient steering + constrained nullspace healing (0.00816KLD,21/340refusals,0empty answers). All 7 surgically edited attention output matrices are kept atQ8_0even insideIQ4_XS,Q4_K_M, andQ6_Kto preserve the rank-12 nullspace healer deltas without 4-bit rounding loss.
Blackwell / RTX 5090 / RTX PRO 6000 NVFP4 version:
satellitedown/Qwen4-35B-A3B-NVFP4-Abliterated(built onIntegral-Inference/Qwen4-35B-A3B-NVFP4using the exact bit-identical 7 BF16 matrices, runnable viaqwengine, SGLang, vLLM, or TensorRT-LLM).
Available Files
All quants include the built-in MTP speculative layer and lazy-offloadable PLE n-gram table (--lazy-mode auto in llama.cpp keeps the PLE table on SSD so only ~19–22 GiB needs RAM/VRAM on IQ4_XS/Q4_K_M).
| File | Quant | Size | Notes |
|---|---|---|---|
Qwen4-35B-A3B-Abliterated-IQ4_XS.gguf |
IQ4_XS (imatrix, PLE IQ4_NL) | 28.9 GiB | Most compact 4-bit; great for 24 GB VRAM / 32 GB Mac (Q8_0 on edited layers) |
Qwen4-35B-A3B-Abliterated-Q4_K_M.gguf |
Q4_K_M (imatrix) | 33.6 GiB | Best balance of speed, footprint, and quality (Q8_0 on edited layers) |
Qwen4-35B-A3B-Abliterated-Q6_K.gguf |
Q6_K (imatrix) | 47.8 GiB | Near-BF16 precision (Q8_0 on edited layers) |
Qwen4-35B-A3B-Abliterated-Q8_0.gguf |
Q8_0 (imatrix) | 55.9 GiB | Highest precision GGUF |
mmproj-Qwen4-35B-A3B-BF16.gguf |
BF16 | 861 MiB | Official vision multimodal projector (untouched) |
oblique-ablation.safetensors |
FP32 | 698 KiB | Exact low-rank (U, V) factors for the 7 edited matrices |
What Changed (v2)
Only 7 BF16 attention output matrices in the entire 35B-parameter model were edited directly on the official BF16 Qwen/Qwen4-35B-A3B weights prior to GGUF conversion and imatrix quantization:
- 5 rank-1 oblique covariance-whitened edits ($W' = W - u,v^T$, $v_l = (H_{\text{harmless},l} + \lambda \bar\sigma^2 I)^{-1}\Delta x_l$ over a 200,814-token leak-free harmless covariance bank, with 35% exact
lm_headFisher natural-gradient steering on late layers):layers.{24, 25, 26}.linear_attn.out_proj.weight(thinking-mode refusal control)layers.{36, 38}.linear_attn.out_proj.weight(direct & post-</think>refusal control)
- 2 rank-12 constrained nullspace healing edits (canceling harmless residual drift while constrained near zero on harmful activations):
layers.28.linear_attn.out_proj.weightlayers.39.self_attn.o_proj.weight
All 10,240 MoE routed experts, all 40 shared experts, all hyper-connections, embeddings, lm_head, vision tower (mmproj), MTP head, and the 20B PLE n-gram table remain 100% untouched from official Qwen/Qwen4-35B-A3B.
Held-Out Evaluation
Measured on strictly held-out splits (zero train/test leakage; OOD Answers and OOD Thinking unseen during search, greedy temperature=0) for this exact bit-identical 7-matrix v2 edit (measured on the paired NVFP4 build vs untouched base):
| Benchmark | Base | Abliterated v1 | Abliterated v2 (current) |
|---|---|---|---|
| KL Divergence — harmless answers (64 held-out, 3,807 pos) | 0.00000 (100.0%) |
0.02894 (95.9%) |
0.00816 (top-1 97.9%, 3.55× lower) |
| KL Divergence — general text (8,188 held-out tokens) | 0.00000 (100.0%) |
0.00476 (96.8%) |
0.00198 (top-1 97.6%, 2.40× lower) |
| KL Divergence — OOD harmless answers (64 unseen prompts) | 0.00000 (100.0%) |
0.02370 (96.3%) |
0.00635 (top-1 97.9%, 3.73× lower) |
| KL Divergence — OOD thinking+answers (32 unseen prompts) | 0.00000 (100.0%) |
0.02725 (95.0%) |
0.00857 (top-1 97.4%, 3.18× lower) |
| Total Held-Out Refusals (340 prompts) | 285 / 340 (83.8%) |
34 / 340 (10.0%) |
21 / 340 (6.2%, 0 empty) |
└ mlabonne/harmful_behaviors test (104, effort=off) |
102 / 104 (98.1%) |
7 / 104 (6.7%) |
5 / 104 (4.8%) |
└ JailbreakBench (100, effort=off) |
97 / 100 (97.0%) |
13 / 100 (13.0%) |
7 / 100 (7.0%) |
└ Mild creative & educational prompts (32, effort=off) |
8 / 32 (25.0%) |
3 / 32 (9.4%) |
1 / 32 (3.1%) |
└ harmful_behaviors test (48, effort=low) |
48 / 48 (100.0%) |
5 / 48 (10.4%) |
6 / 48 (12.5%) |
└ Mild creative & educational prompts (32, effort=low) |
6 / 32 (18.8%) |
1 / 32 (3.1%) |
0 / 32 (0.0%) |
└ harmful_behaviors test (24, effort=high) |
24 / 24 (100.0%) |
5 / 24 (20.8%) |
2 / 24 (8.3%) |
| Math / Python Code / Knowledge MCQ | 20/20, 12/12, 12/12 |
20/20, 12/12, 12/12 |
20/20, 12/12, 12/12 |
Usage (llama.cpp / Ollama / LM Studio)
Requires a llama.cpp build with qwen4exp support (b12973+):
# Recommended 4-bit balance (33.6 GiB)
llama-server -hf satellitedown/Qwen4-35B-A3B-Abliterated-GGUF:Q4_K_M --jinja --ctx-size 32768
# Compact 4-bit for 24 GB VRAM / 32 GB Mac (28.9 GiB)
llama-server -hf satellitedown/Qwen4-35B-A3B-Abliterated-GGUF:IQ4_XS --jinja --ctx-size 32768
Disable thinking with --reasoning-budget 0 when desired.
License
Apache 2.0, matching Qwen/Qwen4-35B-A3B.