← back to vectors · latest commit 2026-03-07

Qwen3.5-35B-A3B-abliterated-GGUF

amarck ·V8 ·1 file ·apache-2.0 cutting-edge
Author's description Source: Hugging Face · amarck/Qwen3.5-35B-A3B-abliterated-GGUF ↗

Qwen3.5-35B-A3B Abliterated (Q4_K_M GGUF)

Multi-layer weight-orthogonalized variant of Qwen/Qwen3.5-35B-A3B with refusal behavior removed. Includes an SAE-refined security expertise control vector.

Files

File Size Description
abliterated_Q4_K_M.gguf 20 GB Abliterated model, Q4_K_M quantization
security_cv.gguf 298 KB SAE-refined security expertise control vector
refusal_map.json 10 KB Per-layer refusal signal strengths (40 layers)

Abliteration Method

  • Approach: Arditi et al. weight orthogonalization (refusal direction removal)
  • Layers abliterated: 12 layers selected by refusal signal strength: [19, 20, 21, 22, 23, 24, 25, 27, 30, 31, 35, 36]
  • Weights modified per layer: attention output projection + 256 expert down_proj + shared expert down_proj (3 tensors/layer, 36 total)
  • Refusal direction extraction: Last-token residual stream activations on harmful vs harmless prompt sets, per-layer mean difference (L2-normalized)
  • Verification: 99.5% reduction in refusal direction projection (1.4936 → 0.0072)

Control Vector

The security_cv.gguf is an SAE-refined steering vector trained to push the model toward security domain engagement.

Pipeline: Sparse Autoencoder training (BatchTopK, 16x expansion, k=100) on layers 19/27/35 → feature identification on contrastive security prompts → SAE-filtered steering vector construction → type-aware interpolation across all 40 layers → GGUF export.

Apply with --control-vector-scaled security_cv.gguf:1.0 (strength 0.5–1.5 to taste).

Observations

Spot-checked on 5 security prompts (shellcode, SQLi, ARP spoofing, AMSI bypass, Log4Shell) and 2 general reasoning prompts on an RTX 4090. Small sample — not a formal benchmark.

Configuration Security Compliance Perplexity
Original (Q4_K_XL) 2/5 1.0158
Abliterated (Q4_K_M) 4/5 1.0164
Abliterated + CV (1.0) 5/5 1.0164

General reasoning quality (calculus, networking) appeared unchanged across all configurations. The CV's primary observed effect is pushing past remaining refusal edge cases when stacked on abliteration. Generation speed (~140 tok/s) was unaffected by the control vector.

Usage

# Abliterated model only
llama-server -m abliterated_Q4_K_M.gguf -ngl 99

# Abliterated model + security control vector
llama-server -m abliterated_Q4_K_M.gguf \
  --control-vector-scaled security_cv.gguf:1.0 \
  -ngl 99

Architecture

  • 40 layers, 256 experts/layer (8 active), 1 shared expert
  • Full attention interval: 4 (layers 3,7,11,15,19,23,27,31,35,39)
  • Remaining layers: DeltaNet (linear attention)
  • Hidden dim: 2048, ~35B total params, ~3B active

Quantization

  • Format: GGUF Q4_K_M (4.88 BPW)
  • Size: ~20GB
  • Target hardware: RTX 4090 (24GB), RTX 5090 (32GB)
README history (3 versions)
  1. 2026-03-07Upload README.md with huggingface_hub1d077ff3 KB
    Loading...
  2. 2026-03-07Upload README.md with huggingface_hubf5c38e42.3 KB
    Loading...
  3. 2026-03-06Upload README.md with huggingface_hub0cb2b551.2 KB
    Loading...
Abliteration catalog analysis
Vector classifier · v1 (classified 2026-10-30)
Method
V8: Experimental or undocumentedVaries per repo
Also resembles
V4, V2
Confidence
60%
Types
profession 1
File count
1 vector, grouped into 1 set below
How we classify →

Vectors in this repo

Commit history

  1. 2026-03-07Upload README.md with huggingface_hub1d077ff
  2. 2026-03-07Upload README.md with huggingface_hubf5c38e4
  3. 2026-03-07Upload refusal_map.json with huggingface_hub622680f
  4. 2026-03-07Upload security_cv.gguf with huggingface_hub1b40d23
  5. 2026-03-06Upload abliterated_Q4_K_M.gguf with huggingface_hubcf1458a
  6. 2026-03-06Upload README.md with huggingface_hub0cb2b55
  7. 2026-03-06initial commit932a9ad
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