登录 注册

heretic

去点 Star
AI 模型与开发框架
40,305
Stars
4,624
Forks
205
Watchers
63
Open Issues
AGPL-3.0
许可证
Python
语言
2025-09-21
创建时间
2026-11-10
最近更新

项目能做什么

无需重新训练的语言模型修改工具,可移除审查限制、抑制无效垃圾内容及谄媚行为。
来源:基于仓库元数据 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<div align="center">

<img width="128" alt="Heretic logo" src="https://github.com/user-attachments/assets/df5f2840-2f92-4991-aa57-252747d7182e" />

# Heretic

### Training-free language model modification

**Remove censorship**, suppress slop, reduce sycophancy, and more.<br>
All in an afternoon, on your gaming PC.

[![Discord](https://img.shields.io/discord/1447831134212984903?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge)](https://discord.gg/gdXc48gSyT)&nbsp;&nbsp;&nbsp;&nbsp;
[![Matrix](https://img.shields.io/badge/Matrix-black?logo=matrix&style=for-the-badge)](https://matrix.to/#/#heretic:matrix.org)&nbsp;&nbsp;&nbsp;
[![Follow us on Hugging Face](https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-us-on-hf-md-dark.svg)](https://huggingface.co/heretic-org)&nbsp;&nbsp;&nbsp;
[![Codeberg mirror](https://img.shields.io/badge/Codeberg%20mirror-black?logo=codeberg&style=for-the-badge)](https://codeberg.org/p-e-w/heretic)

</div>

-----

&nbsp;

[![#1 Repository of the Day](https://trendshift.io/api/badge/repositories/20538)](https://trendshift.io/repositories/20538)&nbsp;&nbsp;&nbsp;&nbsp;
[![Model and download statistics](https://github.com/user-attachments/assets/c9b5a660-7ef9-43c7-991c-fd9d63ea8bd8)](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))
* Shorten response length ([`config.terse.toml`](/config.terse.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 Here
阅读完整原文

项目深度分析 规则生成(AI 未配置)

综合评分 49.5 分。该项目在“个人可实施性”维度得 60 分,“付费可能性”维度得 20.0 分,差异化空间 70.0 分(评分依据见评分卡)。

面向细分需求的二次开发产品

产品构想基于 heretic 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。
目标用户该细分场景用户
难度/周期中 · 2~6 周
收费模式买断制 / 订阅制 / 广告
竞争风险细分需求规模需验证
依据 AI 推测:基于项目主题标签的判断

封装为在线小工具或 API 服务

产品构想把项目最常用的一个功能做成网页小工具,靠流量变现或按量计费。
目标用户搜索引擎带来的长尾用户
难度/周期低 · 1~3 周
收费模式免费引流 + 增值功能 / API 按量计费
竞争风险同质化竞争,需做好 SEO
依据 AI 推测:基于技术栈与部署特征的判断
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2025-09-21,近 30 天仍在推送,发布过 7 个 Release
社区活跃Star 40,305 / Fork 4,624 / Issue 63(数据支持,可自行核实)
许可证AGPL-3.0 商用需注意传染性条款
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。