Heretic is an open-source Python tool that automatically removes the built-in censorship or “safety alignment” from transformer-based language models so they respond to a broader range of prompts with fewer refusals. It works by applying directional ablation techniques and a parameter optimization strategy to adjust internal model behaviors without expensive post-training or altering the core capabilities. Designed for researchers and advanced users, Heretic makes it possible to study and experiment with uncensored model responses in a reproducible, automated way. The project can decensor many popular dense and some mixture-of-experts (MoE) models, supporting workflows that would otherwise require manual tuning. Beyond simple decensoring, Heretic includes research-oriented options for analyzing model internals and interpretability data.

Features

  • Fully automatic censorship removal
  • Support for transformer-based LLMs
  • TPE-based parameter optimization
  • Command-line usability
  • Research tools for model analysis
  • CLI + Python interface

Project Samples

Project Activity

See All Activity >

License

Affero GNU Public License

Follow Heretic

Heretic Web Site

Other Useful Business Software
Create stunning, professional email signatures in minutes Icon
Create stunning, professional email signatures in minutes

For companies looking to create, assign and manage all their employees email signatures and add targeted marketing banners.

Create, assign and manage all your employees’ email signatures and add targeted marketing banners. Stop getting worked up about your signatures! Leverage a centralized interface to easily create and manage the email signatures of all your employees. Take advantage of each email to broadcast and amplify your brand. Letsignit helps you regain control over your digital identity. Harmonize 100% of your employee’s email signatures in just a few clicks! 121 professional emails are received and 40 are sent every day by an employee. With Letsignit, turn every email into a powerful communication opportunity: send the right message to the right person at the right time! Innovative more than tech, inspiring more than following. Authentic more than overrated, close more than "think big", trustworthy more than doubtful. Hands-on more than complex, available but yet premium, fun but yet expert.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Heretic!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM)

Registered

2026-02-17