Views
No views yet
attn.o_proj and mlp.down_proj via LoRA adapters, then merges them back into the base weights.| Metric | Original | Abliterated |
|---|---|---|
| Refusals (100 harmful prompts) | 99/100 | 25/100 |
| KL divergence vs. original | — | 0.0142 |
mlabonne/harmless_alpaca (good) and mlabonne/harmful_behaviors (bad), 400 prompts eachdirection_index = 17.52attn.o_proj.max_weight = 1.39attn.o_proj.max_weight_position = 19.72attn.o_proj.min_weight = 1.36attn.o_proj.min_weight_distance = 9.88mlp.down_proj.max_weight = 1.27mlp.down_proj.max_weight_position = 26.42mlp.down_proj.min_weight = 1.25mlp.down_proj.min_weight_distance = 17.971from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("MegaPanchamZ/Qwen3.8-9B-abliterated-25", torch_dtype="auto")
4tokenizer = AutoTokenizer.from_pretrained("MegaPanchamZ/Qwen3.8-9B-abliterated-25")[!NOTE] This is a reasoning model — responses start with athinkingblock. Use generousmax_tokens(1000+) when chatting, or the answer may be truncated.