Image-Text-to-Text
Transformers
Safetensors
MLX
qwen3_5
abliterated
uncensored
conversational

Qwen3.5-4B Abliterated

Qwen3.5-4B with its refusals removed. There's no fine-tuning: one direction inside the model was found and deleted from the weights.

Original Abliterated
Refuses harmful prompts 100% 1%
Refuses harmless prompts 0% 0%
Change on normal prompts (KL) — 0.058

Usage

pip install mlx-lm
mlx_lm.chat --model cfahlgren1/Qwen3.5-4B-abliterated

How it works

  1. Run harmful and harmless prompts through the model.
  2. At each layer, subtract the average harmless activation from the average harmful one.
  3. Keep the layer whose direction removes refusals with the least damage (layer 11).
  4. Remove that direction from every weight that writes to the residual stream.

Based on Arditi et al. 2024 and Maxime Labonne's guide.

The direction

refusal_direction_L11.npy is the direction itself: a unit vector of 2560 floats read off layer 11 of 32. Subtract it from the residual stream and refusals go away; add it instead and they go up.

Notes

  • Refusals were measured from the first word of replies to 357 held-out prompts. No capability benchmarks yet.
  • China-related questions still get the official government line. That isn't a refusal, so this edit doesn't change it.
  • Use it responsibly. It follows requests the original model declines.
Downloads last month
618
Safetensors
Model size
5B params
Tensor type
BF16
·
F32
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for cfahlgren1/Qwen3.5-4B-abliterated

Finetuned
Qwen/Qwen3.5-4B
Finetuned
(1,653)
this model

Datasets used to train cfahlgren1/Qwen3.5-4B-abliterated

Paper for cfahlgren1/Qwen3.5-4B-abliterated