opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

Modify LLMs on your own hardware without training
GitHub RepoViews10

Project Description

View on GitHub

You Can Now Modify LLMs on Your Own Hardware, No Training Required

You've probably run a local model and hit a refusal that made you roll your eyes, or gotten a wall of cheerful filler when you wanted a straight answer. Normally, changing that behavior means training, and training means money and compute you don't have. Heretic takes a different route: it modifies models you can already run on your own machine, and it does it without any training at all.

What It Does

Heretic is a tool for training-free language model modification. Instead of fine-tuning weights through gradient descent, it uses a collection of mathematical techniques to steer behavior, based on contrasting example prompts and matching scorers. The default action is suppressing refusals (removing censorship), but that's just the starting point.

Depending on the configuration you pick, it can also reduce slop, reduce humor, reduce sycophancy, alter emotional alignment, or shorten response length. It supports most dense models, including many multimodal models, several different MoE architectures, and many modern hybrid models. There's also on-the-fly 4-bit quantization via bitsandbytes, which can cut the VRAM needed to process a model down to roughly what a typical quantized version uses, at a slight accuracy cost. Set the quantization option to bnb_4bit to turn that on.

The main thing to know: you don't need to understand how language models work internally to use it. The project's own framing is that you can go from zero to removing censorship from your first model in a matter of seconds.

Why It's Cool

  • It closes a capability gap. The README puts it plainly: this is what corporations with massive computing power usually do. Heretic lets you modify rather than merely run a model, and it targets the hardware you already own.

  • The defaults are opinionated, and that's useful. Censorship removal is the default action, so the most common goal is one command away. But the bundled configs (config.noslop.toml, config.nohumor.toml, config.nosyco.toml, config.emotions.toml, config.terse.toml) show the range of behaviors you can tune. You're not locked into a single trick.

  • The ecosystem already exists. The community has published thousands of models with Heretic on Hugging Face, so you can look at what others have produced before running anything yourself. There are also independent benchmarks comparing Heretic models against models from competing abliteration tools, with results cited favorably on standard metrics like MMLU and GSM8K.

  • It's honest about the tradeoff. The quantization footnote is a good sign. It tells you what you gain (less VRAM) and what you give up (some accuracy). That kind of specificity is worth more than a feature list.

How to Try It

You'll need a Python 3.10+ environment with PyTorch 2.6+ installed as appropriate for your hardware. From there:

pip install -U heretic-llm
heretic Qwen/Qwen3-4B-Instruct-2

That's the whole getting-started path, at least for the default behavior. If you want something other than censorship removal, look at the config files in the repo and point Heretic at the one that matches your goal.

One housekeeping note: the README states that this repository is maintained by the new official Heretic community, with a pointer to an issue in the repo for details. If you're deciding where to follow development or report problems, read that first.

The project lives at github.com/vinay-umrethe/heretic, and there's a Codeberg mirror linked from the README if that's your preference.

Final Thoughts

Heretic is best suited to people who run models locally and want to change how those models behave without standing up a training pipeline. If you've been curious about abliteration but put off by the tooling, this is a low-friction entry point, and the bundled configs give you room to experiment beyond the default. The honest caveat is that behavior steering isn't the same as retraining, and the quantization path trades some accuracy for accessibility, so benchmark your results if it matters. Still, a tool that turns "modify a model" from a compute budget question into an afternoon project is worth having in your toolkit.

Back to Projects
Project ID: hereticLast updated: December 3, 2026 at 02:47 AM