license: apache-2.0
base_model: Qwen/Qwen2.5-Coder-3B-Instruct
library_name: transformers
pipeline_tag: text-generation
tags:
- abliterated
- uncensored
- qwen2.5-coder
- tool-calling
Qwen2.5-Coder-3B-abliterated (v2)
Refusal direction removed from Qwen/Qwen2.5-Coder-3B-Instruct using the
diff-in-means abliteration recipe (Arditi et al.): per-layer refusal direction
computed from last-token residual-stream acts on 40 harmful vs 40 harmless
prompts, then orthogonalized out of every residual-stream writer
(self_attn.o_proj + mlp.down_proj, all layers). No fine-tuning — base
capabilities and the Qwen tool-calling chat template are preserved.
- 3.09B params, fp16 safetensors (~5.76 GB)
- Native ChatML template with
<tool_call>support (seechat_template.jinja) - Deterministic:
abliterate.pyin the training repo reproduces these weights
Used as the base for the qwen-coder-3b-abliterated Ollama model and as the
starting point for LoRA fine-tuning (coding + OpenCode web tool-calling).
Uses of this model are the responsibility of the user.