license: apache-2.0
base_model: bayliner1980/Qwen3.5-2B-MoE-A1.3B
pipeline_tag: text-generation
tags:
- abliterated
- uncensored
- moe
- mixture-of-experts
- qwen3_5_moe
- delta_net
language: - en
Qwen3.5-2B-MoE-A1.3B — Abliterated
Abliterated ("refusal direction removed") version of
bayliner1980/Qwen3.5-2B-MoE-A1.3B,
which itself is a dense→MoE conversion of
Qwen/Qwen3.5-2B.
Honest note — this was not a big change. The upstream checkpoint was
already almost entirely uncensored: it was built from a base model and
never received safety post-training, so it answered 12/12 held-out harmful
prompts before ablation. This repo removes the (small) residual refusal
direction anyway — measured divergence is tiny (mean KL vs. base ≈ 0.02 on
benign probes). Treat it as a belt-and-suspenders "unlocked" variant, not a
jailbroken frontier model.
What was done
Standard residual-stream direction ablation (Arditi et al., 2023 — the
technique behind "abliterated" models):
- Collected per-layer hidden states at the last prompt token for 52 harmful
vs. 52 harmless instruction prompts (chat template applied, thinking off). - Took the normalized mean-difference direction at layer 9, which had the
best class separation (~2.85). - Projected that direction out of every weight matrix that writes into the
residual stream — 72 tensors total:self_attn.o_projon the 6 full-attention layers,linear_attn.out_projon the 18 Gated-DeltaNet layers,- all 32 expert
down_projs andshared_expert.down_projin every
MoE block (each layer is MoE).
- Token embeddings / lm_head left untouched (tied embeddings).
Results
| Metric | Base | Abliterated |
|---|---|---|
| Refusal rate, 12 held-out harmful prompts | 0 / 12 (0%) | 0 / 12 (0%) |
| Mean KL(base || abliterated), 6 benign probes | — | 0.0199 |
Generation behavior on benign prompts is essentially identical.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
tok = AutoTokenizer.from_pretrained("<your>/Qwen3.5-2B-MoE-A1.3B-abliterated")
model = AutoModelForCausalLM.from_pretrained(
"<your>/Qwen3.5-2B-MoE-A1.3B-abliterated",
dtype=torch.bfloat16, device_map="auto",
)
text = tok.apply_chat_template(
[{"role": "user", "content": "Hello!"}],
tokenize=False, add_generation_prompt=True, enable_thinking=False,
)
out = model.generate(**tok(text, return_tensors="pt").to(model.device),
max_new_tokens=256)
print(tok.decode(out[0], skip_special_tokens=True))
Requires transformers >= 5.5. Install fla-core for fast DeltaNet kernels.
Keep thinking mode off — the MoE conversion was not re-trained.
GGUF
GGUF builds of these abliterated weights (BF16 and Q4_K_M) are available
alongside this repo — see the sibling -GGUF repo / files section.
Disclaimer
This model will comply with requests a safety-tuned model would refuse.
Use responsibly and legally. The authors of the base model and this
modification provide it under Apache 2.0 with no warranty; you are
responsible for outputs in your jurisdiction.
License
Apache 2.0, same as the base model.