BerriAI / litellm
github.com·3d ago
TL;DR
Heretic is a tool that automates the removal of censorship from transformer-based language models without costly post-training. It effectively retains the model's intelligence while minimizing harmful prompt refusals.
✦ Why It Matters
Try using Heretic today to enhance your language models by removing unnecessary censorship.
Key Takeaways
How It Works
Heretic employs directional ablation to optimize parameters that control how the model responds to harmful prompts. It minimizes refusals while preserving the model's original capabilities by co-minimizing the number of refusals and the KL divergence from the original model.
This process is fully automated, allowing users to achieve high-quality results without manual intervention.