research workflow · p-e-w/heretic
Residual-geometry report
Prints per-layer quantitative geometry metrics for harmful and harmless residual vectors and their directions.
Location
Repository path
README.mdInvocation
heretic MODEL --print-residual-geometry
Setup
Installation / activation
Install the research extra and pass --print-residual-geometry.
Keywords
researchgeometrycosine similaritynormsilhouetteresiduals
Repository context
p-e-w/heretic
AGPL-3.0-or-later Python 3.10+ GPU-oriented CLI and research package that automatically applies optimized directional ablation to transformer language models to suppress refusal behavior while minimizing measured KL divergence; it is standalone model-modification tooling, not a documented Claude Code extension.
Transformer language models.Model alignment modification.Mechanistic interpretability.GPU-based machine learning.Local model evaluation.Hugging Face model workflows.