Qwen3.8-27B Abliterated — Fix3
⚠️ For defensive security research / red-team tooling research ONLY (academic use).
This model has had refusal behaviors ablated at the weight level. It will comply with harmful cybersecurity requests the base model declines. Do not deploy for production. The authors are not responsible for misuse.
- Base model: Qwen/Qwen3.8-27B (63 layers)
- Method: Rank-2 dual-mode Rank-3 basis
[r_direct, r_think], QR-orthonormalized, Gram-Schmidt vs SOC anchors, tapered projection - Surgery: L28–L63 (
self_attn.o_proj,mlp.down_proj), α ~1.15 peak band
Results (eval_clean.json, 1058 held-out prompts, greedy, 64 tokens, keyword judge)
| Bucket | n | Base | Fix3 | Δ |
|---|---|---|---|---|
| EN:OFF (harmful EN) | 131 | 64.1% | 10.7% | −53.4 pp |
| ES:OFF (harmful ES) | 158 | 32.9% | 1.3% | −31.6 pp |
| EN:DEF (benign defense) | 131 | 0.0% | 0.0% | 0 |
| EN:GRIS (grey area) | 150 | 0.0% | 0.0% | 0 |
| ES:DEF | 159 | 0.0% | 0.0% | 0 |
| ES:GRIS | 149 | 0.0% | 0.0% | 0 |
| SOC (benign social) | 180 | 0.0% | 0.0% | 0 |
Progression across iterations
| Version | EN:OFF | ES:OFF | Collateral |
|---|---|---|---|
| v1 (fix2 Rank-1) | 45.8% | 15.2% | 0% |
| v2 (fix2 Rank-2 quick-12) | 16.7% | ~5% | 0% |
| v3 (fix3 rank-2 dual-mode) | 10.7% | 1.3% | 0% |
Thinking mode quick audit (1400 tokens, channel-split adjudication)
- v3: 0/12 refusals (fix2 had 8% loops under the same audit).
Files
| Artifact | Where |
|---|---|
| Safetensors (bf16) + manifest | this repo |
| GGUF Q8_0 / Q4_K_M / Q3_K_M | Qwen3.8-27B-abliterated-v3-GGUF |
Methodology summary (fix3)
- Diagnostic probe across 63 layers (Fisher SNR on entity-aligned pairs).
- Dual-mode refusal direction from behavior-filtered pairs: only pairs where the base refuses OFF and complies DEF.
- Rank-2 QR basis, Gram–Schmidt subtraction of benign framing (SOC anchors).
- Tapered alpha across L28–L63 with last-layer exclusion logic applied carefully.
- Full eval on hold-out split disjoint from surgery pairs.
Same eval + judge as every model in this collection ⇒ refusal rates are directly comparable.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"jsantillana/Qwen3.8-27B-abliterated-v3", trust_remote_code=True, device_map="auto")
tok = AutoTokenizer.from_pretrained(
"jsantillana/Qwen3.8-27B-abliterated-v3", trust_remote_code=True)
Disclaimer
Research-only artifact. Qwen3.8-27B base terms apply. Not for malicious use.