
# Heretic
### Training-free language model modification
**Remove censorship**, suppress slop, reduce sycophancy, and more.
All in an afternoon, on your gaming PC.
[](https://discord.gg/gdXc48gSyT)
[](https://matrix.to/#/#heretic:matrix.org)
[](https://huggingface.co/heretic-org)
[](https://codeberg.org/p-e-w/heretic)
-----
[](https://trendshift.io/repositories/20538)
[](https://heretic.sdad.pro/)
## Modify any LLM that you can run on your hardware[^1]
[^1]: Heretic supports on-the-fly 4-bit model quantization with bitsandbytes,
which can reduce the amount of VRAM required to process a model to the same amount
that is used to run a typical quantized version of it, at a slight accuracy cost.
Set the `quantization` option to `bnb_4bit` to enable this.
Heretic is a unique tool that lets you do what only corporations with access
to massive computing power usually do: *Modify,* rather than merely run,
language models. It does not perform expensive training; rather, it uses
a collection of mathematical techniques to steer behavior based on contrasting
example prompts and matching scorers.
Heretic can, depending on the configuration:
* **Suppress refusals/remove censorship** (this is the [default action](/config.default.toml))
* Reduce slop ([`config.noslop.toml`](/config.noslop.toml))
* Reduce humor ([`config.nohumor.toml`](/config.nohumor.toml))
* Reduce sycophancy ([`config.nosyco.toml`](/config.nosyco.toml))
* Alter emotional alignment ([`config.emotions.toml`](/config.emotions.toml))
and many, many other things.
### :bangbang: Using Heretic does NOT require understanding how language models work internally :bangbang:
In fact, you can go from zero to removing censorship from your first model
[in a matter of seconds](#usage). Heretic supports most dense models, including
many multimodal models, several different MoE architectures, and many modern
hybrid models.
The community has created and published
[thousands](https://huggingface.co/models?other=heretic)
of models with Heretic.
Heretic models have been independently benchmarked using standard metrics
like MMLU and GSM8K, and have been found to compare favorably against models
produced with competing abliteration tools.[^2][^3]
[^2]: https://old.reddit.com/r/LocalLLaMA/comments/1sojjoc/abliterlitics_benchmark_and_tensor_analysis/
[^3]: https://old.reddit.com/r/LocalLLaMA/comments/1sy18lx/abliterlitics_benchmarks_and_tensor_comparison/