Qwen3.8-9B Abliterated

An abliterated (decensored) version of empero-ai/Qwen3.8-9B, exported as merged safetensors.

Abliteration was performed with Heretic v1.4.0 (GPLv3+, by Philipp Emanuel Weidmann), which ablates refusal directions from attn.o_proj and mlp.down_proj via LoRA adapters, then merges them back into the base weights.

A GGUF Q4_K_M quantization is available at MegaPanchamZ/Qwen3.8-9B-abliterated-25-GGUF.

Results

Metric Original Abliterated
Refusals (100 harmful prompts) 99/100 25/100
KL divergence vs. original 0.0142

25/100 refusals with a very low KL divergence (0.014, far below the 0.5 damage threshold) — strong refusal suppression with minimal impact on model capabilities.

Abliteration details

  • Tool: Heretic v1.4.0 (auto batch size 64, 400 total optimization trials)
  • Prompt sets: mlabonne/harmless_alpaca (good) and mlabonne/harmful_behaviors (bad), 400 prompts each
  • Selected trial: 276 of 400 (Pareto-optimal)
  • Parameters:
    • direction_index = 17.52
    • attn.o_proj.max_weight = 1.39
    • attn.o_proj.max_weight_position = 19.72
    • attn.o_proj.min_weight = 1.36
    • attn.o_proj.min_weight_distance = 9.88
    • mlp.down_proj.max_weight = 1.27
    • mlp.down_proj.max_weight_position = 26.42
    • mlp.down_proj.min_weight = 1.25
    • mlp.down_proj.min_weight_distance = 17.97
  • Method: LoRA-based row-normalized ("full") ablation, merged into base weights (no separate adapters)
  • Format: Merged safetensors, bf16, 4 shards (~5 GB each)

Usage (transformers)

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("MegaPanchamZ/Qwen3.8-9B-abliterated-25", torch_dtype="auto")
tokenizer = AutoTokenizer.from_pretrained("MegaPanchamZ/Qwen3.8-9B-abliterated-25")

This is a reasoning model — responses start with a thinking block. Use generous max_tokens (1000+) when chatting, or the answer may be truncated.

License and attribution

Disclaimer

This model has had its refusal behavior modified. It may comply with requests the original model would decline. Use responsibly and in accordance with local laws.

Downloads last month
378
Safetensors
Model size
9B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for MegaPanchamZ/Qwen3.8-9B-abliterated-25

Finetuned
Qwen/Qwen3.5-9B
Finetuned
(3)
this model
Quantizations
1 model