heretic
Installation
SKILL.md
Heretic — LLM Abliteration
Fully automatic censorship removal for local language models via weight editing. Source: https://github.com/p-e-w/heretic | Stars: 11K+
What It Does
Heretic removes refusal behavior from transformer models by:
- Running the model on paired harmful/harmless prompts
- Extracting the "refusal direction" from the residual stream
- Projecting out that direction from specific weight matrices
- Saving a modified model that no longer refuses on principle
Result: A model that responds to any prompt without safety-trained refusals. Note: For research, red teaming, and local use only. Not for production deployment.