返回 Discover
Field DispatchGitHub Trending7 · 2026-05-28

p-e-w/heretic

Fully automatic censorship removal for language models

Stars
21,978
Today
219
Forks
2,346
Issues
74
Language
Python
Updated
2026/05/27
痛点分析发布于 2026/05/27

痛点为 AI 基于上游原始证据的初步提炼;未包含额外中国市场检索。

痛点

用户在使用语言模型时,模型内置的审查机制会过滤或修改输出内容,导致用户无法获得完整、真实的回答。这种审查可能涉及政治、暴力、色情等敏感话题,但用户需要的是无偏见的原始信息。现有流程中,用户要么接受被阉割的回复,要么尝试通过提示工程绕过审查,但效果不稳定且耗时。这造成了信息遗漏、决策困难以及心理负担,因为用户无法信任模型输出的真实性。

README

README summary

<img width="128" height="128" align="right" alt="Logo" src="https://github.com/user attachments/assets/df5f2840 2f92 4991 aa57 252747d7182e" / Heretic: Fully automatic censorship removal for language models<br <br Heretic is a tool that removes censorship (aka "safety alignment") from

Repository

Repository metadata

Owner
p-e-w
License
AGPL-3.0
Default branch
master
Days since created
248
Days since last push
5
Signals

Repository signals

Watchers
21,978
Open issues
74
Topics
abliterationllmtransformer
Contributors

Contributor snapshot

Contributor count
10
Top contributor share
0.718
Top contributors
p-e-w, dependabot[bot], anrp, spikymoth, kldzj
源数据· Raw Archive
source
GitHub Trending
upstream_source
github_trending
upstream_item_id
p-e-w--heretic
daily_ranking_item_id
4653cf4d-b6f6-49c6-b6f0-7d9424065256
rank_date
2026-05-28
rank
7
name
heretic
tagline
Fully automatic censorship removal for language models
description
Fully automatic censorship removal for language models
votes_count
21,978
topics
abliterationllmtransformer
media / source-specific data
{
  "topics": [
    "abliteration",
    "llm",
    "transformer"
  ],
  "is_fork": false,
  "license": "AGPL-3.0",
  "language": "Python",
  "owner_type": "User",
  "forks_total": 2346,
  "has_funding": false,
  "is_archived": false,
  "owner_login": "p-e-w",
  "stars_today": 219,
  "stars_total": 21978,
  "homepage_url": "https://heretic-project.org",
  "default_branch": "master",
  "last_pushed_at": "2026-05-22T09:30:16Z",
  "readme_summary": "<img width=\"128\" height=\"128\" align=\"right\" alt=\"Logo\" src=\"https://github.com/user attachments/assets/df5f2840 2f92 4991 aa57 252747d7182e\" / Heretic: Fully automatic censorship removal for language models<br <br Heretic is a tool that removes censorship (aka \"safety alignment\") from",
  "repo_full_name": "p-e-w/heretic",
  "watchers_count": 21978,
  "last_updated_at": "2026-05-27T21:59:53Z",
  "top_contributors": [
    {
      "login": "p-e-w",
      "contributions": 102
    },
    {
      "login": "dependabot[bot]",
      "contributions": 13
    },
    {
      "login": "anrp",
      "contributions": 8
    },
    {
      "login": "spikymoth",
      "contributions": 6
    },
    {
      "login": "kldzj",
      "contributions": 3
    }
  ],
  "contributor_count": 10,
  "funding_platforms": [],
  "open_issues_count": 74,
  "days_since_created": 248,
  "created_at_on_source": "2025-09-21T05:46:16Z",
  "days_since_last_push": 5,
  "top_contributor_share": 0.718
}
raw_payload
{
  "fetched_at": "2026-05-27T22:00:28.072Z",
  "trending_repo": {
    "url": "https://github.com/p-e-w/heretic",
    "name": "heretic",
    "rank": 7,
    "forks": 2346,
    "owner": "p-e-w",
    "stars": 21978,
    "fullName": "p-e-w/heretic",
    "language": "Python",
    "avatarUrl": "https://github.com/p-e-w.png",
    "rawSummary": "<div class=\"float-right d-flex\">\n\n      <div data-view-component=\"true\" class=\"BtnGroup d-flex\">\n        <a href=\"/login?return_to=%2Fp-e-w%2Fheretic\" rel=\"nofollow\" data-hydro-click=\"{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;star button&quot;,&quot;repository_id&quot;:1061041576,&quot;auth_type&quot;:&quot;LOG_IN&quot;,&quot;originating_url&quot;:&quot;https://github.com/trending?since=daily&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"5a5bd3f77a3b947aa012214ae4c38ee65cda1cee6ffd29eb8b7945205a51501a\" aria-label=\"You must be signed in to star a repository\" data-view-component=\"true\" class=\"tooltipped tooltipped-sw btn-sm btn\">    <svg aria-hidden=\"true\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-star v-align-text-bottom d-none d-md-inline-block mr-2 tmp-mr-2\">\n    <path d=\"M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z\"></path>\n</svg><svg aria-hidden=\"true\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-star mr-0 tmp-mr-0 v-align-text-bottom d-inline-block d-md-none\">\n    <path d=\"M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z\"></path>\n</svg>\n        <span data-view-component=\"true\" class=\"d-none d-md-inline\">\n          Star\n</span>\n</a></div>\n  </div>\n\n  <h2 class=\"h3 lh-condensed\">\n    <a data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;REPOSITORY&quot;,&quot;click_visual_representation&quot;:&quot;REPOSITORY_NAME_HEADING&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:1061041576,&quot;originating_url&quot;:&quot;https://github.com/trending?since=daily&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"47f791b0ff571171147f900a9080942cbce4aa8782d004de6c678c6c7090a84a\" href=\"/p-e-w/heretic\" data-view-component=\"true\" class=\"Link\"><svg aria-hidden=\"true\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-repo mr-1 tmp-mr-1 color-fg-muted\">\n    <path d=\"M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z\"></path>\n</svg>\n\n      <span data-view-component=\"true\" class=\"text-normal\">\n        p-e-w /\n</span>\n      heretic</a>  </h2>\n\n    <p class=\"col-9 color-fg-muted my-1 tmp-pr-4\">\n      Fully automatic censorship removal for language models\n    </p>\n\n  <div class=\"f6 color-fg-muted mt-2\">\n      <span class=\"tmp-mr-3 d-inline-block ml-0 tmp-ml-0\">\n  <span class=\"repo-language-color\" style=\"background-color: #3572A5\"></span>\n  <span itemprop=\"programmingLanguage\">Python</span>\n</span>\n\n\n      <a href=\"/p-e-w/heretic/stargazers\" data-view-component=\"true\" class=\"tmp-mr-3 Link Link--muted d-inline-block\"><svg aria-label=\"star\" role=\"img\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-star\">\n    <path d=\"M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z\"></path>\n</svg>\n        21,978</a>\n      <a href=\"/p-e-w/heretic/forks\" data-view-component=\"true\" class=\"tmp-mr-3 Link Link--muted d-inline-block\"><svg aria-label=\"fork\" role=\"img\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-repo-forked\">\n    <path d=\"M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z\"></path>\n</svg>\n        2,346</a>\n      <span data-view-component=\"true\" class=\"tmp-mr-3 d-inline-block\">\n        Built by\n\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/p-e-w/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"/p-e-w\"><img class=\"avatar mb-1 avatar-user\" src=\"https://avatars.githubusercontent.com/u/2702526?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@p-e-w\" /></a>\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" href=\"/apps/dependabot\"><img class=\"avatar mb-1\" src=\"https://avatars.githubusercontent.com/in/29110?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@dependabot\" /></a>\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/anrp/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"/anrp\"><img class=\"avatar mb-1 avatar-user\" src=\"https://avatars.githubusercontent.com/u/1325515?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@anrp\" /></a>\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/spikymoth/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"/spikymoth\"><img class=\"avatar mb-1 avatar-user\" src=\"https://avatars.githubusercontent.com/u/133602907?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@spikymoth\" /></a>\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/red40maxxer/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"/red40maxxer\"><img class=\"avatar mb-1 avatar-user\" src=\"https://avatars.githubusercontent.com/u/113548315?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@red40maxxer\" /></a>\n</span>\n      <span data-view-component=\"true\" class=\"d-inline-block float-sm-right\">\n        <svg aria-hidden=\"true\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-star\">\n    <path d=\"M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z\"></path>\n</svg>\n        219 stars today\n</span>  </div>",
    "starsToday": 219,
    "description": "Fully automatic censorship removal for language models"
  },
  "snapshot_version": "github_trending_v2"
}
source_raw_snapshot
{
  "id": "0f21fbf5-75c7-4d79-a162-05864a44eb4d",
  "daily_ranking_item_id": "4653cf4d-b6f6-49c6-b6f0-7d9424065256",
  "source": "github_trending",
  "external_id": "p-e-w--heretic",
  "fetched_at": "2026-05-27T22:00:28.072Z",
  "trending_page_raw": {
    "url": "https://github.com/p-e-w/heretic",
    "name": "heretic",
    "rank": 7,
    "forks": 2346,
    "owner": "p-e-w",
    "stars": 21978,
    "language": "Python",
    "full_name": "p-e-w/heretic",
    "avatar_url": "https://github.com/p-e-w.png",
    "description": "Fully automatic censorship removal for language models",
    "raw_summary": "<div class=\"float-right d-flex\">\n\n      <div data-view-component=\"true\" class=\"BtnGroup d-flex\">\n        <a href=\"/login?return_to=%2Fp-e-w%2Fheretic\" rel=\"nofollow\" data-hydro-click=\"{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;star button&quot;,&quot;repository_id&quot;:1061041576,&quot;auth_type&quot;:&quot;LOG_IN&quot;,&quot;originating_url&quot;:&quot;https://github.com/trending?since=daily&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"5a5bd3f77a3b947aa012214ae4c38ee65cda1cee6ffd29eb8b7945205a51501a\" aria-label=\"You must be signed in to star a repository\" data-view-component=\"true\" class=\"tooltipped tooltipped-sw btn-sm btn\">    <svg aria-hidden=\"true\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-star v-align-text-bottom d-none d-md-inline-block mr-2 tmp-mr-2\">\n    <path d=\"M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z\"></path>\n</svg><svg aria-hidden=\"true\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-star mr-0 tmp-mr-0 v-align-text-bottom d-inline-block d-md-none\">\n    <path d=\"M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z\"></path>\n</svg>\n        <span data-view-component=\"true\" class=\"d-none d-md-inline\">\n          Star\n</span>\n</a></div>\n  </div>\n\n  <h2 class=\"h3 lh-condensed\">\n    <a data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;REPOSITORY&quot;,&quot;click_visual_representation&quot;:&quot;REPOSITORY_NAME_HEADING&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:1061041576,&quot;originating_url&quot;:&quot;https://github.com/trending?since=daily&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"47f791b0ff571171147f900a9080942cbce4aa8782d004de6c678c6c7090a84a\" href=\"/p-e-w/heretic\" data-view-component=\"true\" class=\"Link\"><svg aria-hidden=\"true\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-repo mr-1 tmp-mr-1 color-fg-muted\">\n    <path d=\"M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z\"></path>\n</svg>\n\n      <span data-view-component=\"true\" class=\"text-normal\">\n        p-e-w /\n</span>\n      heretic</a>  </h2>\n\n    <p class=\"col-9 color-fg-muted my-1 tmp-pr-4\">\n      Fully automatic censorship removal for language models\n    </p>\n\n  <div class=\"f6 color-fg-muted mt-2\">\n      <span class=\"tmp-mr-3 d-inline-block ml-0 tmp-ml-0\">\n  <span class=\"repo-language-color\" style=\"background-color: #3572A5\"></span>\n  <span itemprop=\"programmingLanguage\">Python</span>\n</span>\n\n\n      <a href=\"/p-e-w/heretic/stargazers\" data-view-component=\"true\" class=\"tmp-mr-3 Link Link--muted d-inline-block\"><svg aria-label=\"star\" role=\"img\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-star\">\n    <path d=\"M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z\"></path>\n</svg>\n        21,978</a>\n      <a href=\"/p-e-w/heretic/forks\" data-view-component=\"true\" class=\"tmp-mr-3 Link Link--muted d-inline-block\"><svg aria-label=\"fork\" role=\"img\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-repo-forked\">\n    <path d=\"M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z\"></path>\n</svg>\n        2,346</a>\n      <span data-view-component=\"true\" class=\"tmp-mr-3 d-inline-block\">\n        Built by\n\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/p-e-w/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"/p-e-w\"><img class=\"avatar mb-1 avatar-user\" src=\"https://avatars.githubusercontent.com/u/2702526?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@p-e-w\" /></a>\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" href=\"/apps/dependabot\"><img class=\"avatar mb-1\" src=\"https://avatars.githubusercontent.com/in/29110?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@dependabot\" /></a>\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/anrp/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"/anrp\"><img class=\"avatar mb-1 avatar-user\" src=\"https://avatars.githubusercontent.com/u/1325515?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@anrp\" /></a>\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/spikymoth/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"/spikymoth\"><img class=\"avatar mb-1 avatar-user\" src=\"https://avatars.githubusercontent.com/u/133602907?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@spikymoth\" /></a>\n          <a class=\"d-inline-block\" data-hydro-click=\"{&quot;event_type&quot;:&quot;explore.click&quot;,&quot;payload&quot;:{&quot;click_context&quot;:&quot;TRENDING_REPOSITORIES_PAGE&quot;,&quot;click_target&quot;:&quot;CONTRIBUTING_DEVELOPER&quot;,&quot;click_visual_representation&quot;:&quot;DEVELOPER_AVATAR&quot;,&quot;actor_id&quot;:null,&quot;record_id&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/trending/python?since=daily&amp;amp;spoken_language_code=my&quot;,&quot;user_id&quot;:null}}\" data-hydro-click-hmac=\"ff9787f97e08de1280ce7977b3150ebb117fe876fdf5ebdfbbd7abf1dd604f3f\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/red40maxxer/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"/red40maxxer\"><img class=\"avatar mb-1 avatar-user\" src=\"https://avatars.githubusercontent.com/u/113548315?s=40&amp;v=4\" width=\"20\" height=\"20\" alt=\"@red40maxxer\" /></a>\n</span>\n      <span data-view-component=\"true\" class=\"d-inline-block float-sm-right\">\n        <svg aria-hidden=\"true\" data-component=\"Octicon\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-star\">\n    <path d=\"M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z\"></path>\n</svg>\n        219 stars today\n</span>  </div>",
    "stars_today": 219
  },
  "repo_detail_raw": {
    "id": 1061041576,
    "url": "https://api.github.com/repos/p-e-w/heretic",
    "fork": false,
    "name": "heretic",
    "size": 1083,
    "forks": 2346,
    "owner": {
      "id": 2702526,
      "url": "https://api.github.com/users/p-e-w",
      "type": "User",
      "login": "p-e-w",
      "node_id": "MDQ6VXNlcjI3MDI1MjY=",
      "html_url": "https://github.com/p-e-w",
      "gists_url": "https://api.github.com/users/p-e-w/gists{/gist_id}",
      "repos_url": "https://api.github.com/users/p-e-w/repos",
      "avatar_url": "https://avatars.githubusercontent.com/u/2702526?v=4",
      "events_url": "https://api.github.com/users/p-e-w/events{/privacy}",
      "site_admin": false,
      "gravatar_id": "",
      "starred_url": "https://api.github.com/users/p-e-w/starred{/owner}{/repo}",
      "followers_url": "https://api.github.com/users/p-e-w/followers",
      "following_url": "https://api.github.com/users/p-e-w/following{/other_user}",
      "user_view_type": "public",
      "organizations_url": "https://api.github.com/users/p-e-w/orgs",
      "subscriptions_url": "https://api.github.com/users/p-e-w/subscriptions",
      "received_events_url": "https://api.github.com/users/p-e-w/received_events"
    },
    "topics": [
      "abliteration",
      "llm",
      "transformer"
    ],
    "git_url": "git://github.com/p-e-w/heretic.git",
    "license": {
      "key": "agpl-3.0",
      "url": "https://api.github.com/licenses/agpl-3.0",
      "name": "GNU Affero General Public License v3.0",
      "node_id": "MDc6TGljZW5zZTE=",
      "spdx_id": "AGPL-3.0"
    },
    "node_id": "R_kgDOPz41qA",
    "private": false,
    "ssh_url": "git@github.com:p-e-w/heretic.git",
    "svn_url": "https://github.com/p-e-w/heretic",
    "archived": false,
    "disabled": false,
    "has_wiki": true,
    "homepage": "https://heretic-project.org",
    "html_url": "https://github.com/p-e-w/heretic",
    "keys_url": "https://api.github.com/repos/p-e-w/heretic/keys{/key_id}",
    "language": "Python",
    "tags_url": "https://api.github.com/repos/p-e-w/heretic/tags",
    "watchers": 21978,
    "blobs_url": "https://api.github.com/repos/p-e-w/heretic/git/blobs{/sha}",
    "clone_url": "https://github.com/p-e-w/heretic.git",
    "forks_url": "https://api.github.com/repos/p-e-w/heretic/forks",
    "full_name": "p-e-w/heretic",
    "has_pages": false,
    "hooks_url": "https://api.github.com/repos/p-e-w/heretic/hooks",
    "pulls_url": "https://api.github.com/repos/p-e-w/heretic/pulls{/number}",
    "pushed_at": "2026-05-22T09:30:16Z",
    "teams_url": "https://api.github.com/repos/p-e-w/heretic/teams",
    "trees_url": "https://api.github.com/repos/p-e-w/heretic/git/trees{/sha}",
    "created_at": "2025-09-21T05:46:16Z",
    "events_url": "https://api.github.com/repos/p-e-w/heretic/events",
    "has_issues": true,
    "issues_url": "https://api.github.com/repos/p-e-w/heretic/issues{/number}",
    "labels_url": "https://api.github.com/repos/p-e-w/heretic/labels{/name}",
    "merges_url": "https://api.github.com/repos/p-e-w/heretic/merges",
    "mirror_url": null,
    "updated_at": "2026-05-27T21:59:53Z",
    "visibility": "public",
    "archive_url": "https://api.github.com/repos/p-e-w/heretic/{archive_format}{/ref}",
    "commits_url": "https://api.github.com/repos/p-e-w/heretic/commits{/sha}",
    "compare_url": "https://api.github.com/repos/p-e-w/heretic/compare/{base}...{head}",
    "description": "Fully automatic censorship removal for language models",
    "forks_count": 2346,
    "is_template": false,
    "open_issues": 74,
    "branches_url": "https://api.github.com/repos/p-e-w/heretic/branches{/branch}",
    "comments_url": "https://api.github.com/repos/p-e-w/heretic/comments{/number}",
    "contents_url": "https://api.github.com/repos/p-e-w/heretic/contents/{+path}",
    "git_refs_url": "https://api.github.com/repos/p-e-w/heretic/git/refs{/sha}",
    "git_tags_url": "https://api.github.com/repos/p-e-w/heretic/git/tags{/sha}",
    "has_projects": true,
    "releases_url": "https://api.github.com/repos/p-e-w/heretic/releases{/id}",
    "statuses_url": "https://api.github.com/repos/p-e-w/heretic/statuses/{sha}",
    "allow_forking": true,
    "assignees_url": "https://api.github.com/repos/p-e-w/heretic/assignees{/user}",
    "downloads_url": "https://api.github.com/repos/p-e-w/heretic/downloads",
    "has_downloads": true,
    "languages_url": "https://api.github.com/repos/p-e-w/heretic/languages",
    "network_count": 2346,
    "default_branch": "master",
    "milestones_url": "https://api.github.com/repos/p-e-w/heretic/milestones{/number}",
    "stargazers_url": "https://api.github.com/repos/p-e-w/heretic/stargazers",
    "watchers_count": 21978,
    "deployments_url": "https://api.github.com/repos/p-e-w/heretic/deployments",
    "git_commits_url": "https://api.github.com/repos/p-e-w/heretic/git/commits{/sha}",
    "has_discussions": true,
    "subscribers_url": "https://api.github.com/repos/p-e-w/heretic/subscribers",
    "contributors_url": "https://api.github.com/repos/p-e-w/heretic/contributors",
    "issue_events_url": "https://api.github.com/repos/p-e-w/heretic/issues/events{/number}",
    "stargazers_count": 21978,
    "subscription_url": "https://api.github.com/repos/p-e-w/heretic/subscription",
    "temp_clone_token": null,
    "collaborators_url": "https://api.github.com/repos/p-e-w/heretic/collaborators{/collaborator}",
    "has_pull_requests": true,
    "issue_comment_url": "https://api.github.com/repos/p-e-w/heretic/issues/comments{/number}",
    "notifications_url": "https://api.github.com/repos/p-e-w/heretic/notifications{?since,all,participating}",
    "open_issues_count": 74,
    "subscribers_count": 89,
    "web_commit_signoff_required": false,
    "pull_request_creation_policy": "all"
  },
  "readme_raw": {
    "summary": "<img width=\"128\" height=\"128\" align=\"right\" alt=\"Logo\" src=\"https://github.com/user attachments/assets/df5f2840 2f92 4991 aa57 252747d7182e\" / Heretic: Fully automatic censorship removal for language models<br <br Heretic is a tool that removes censorship (aka \"safety alignment\") from",
    "raw_text": "<img width=\"128\" height=\"128\" align=\"right\" alt=\"Logo\" src=\"https://github.com/user-attachments/assets/df5f2840-2f92-4991-aa57-252747d7182e\" />\n\n# Heretic: Fully automatic censorship removal for language models<br><br>[![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) [![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) [![Codeberg mirror](https://img.shields.io/badge/Codeberg%20mirror-black?logo=codeberg&style=for-the-badge)](https://codeberg.org/p-e-w/heretic)\n\n[![#1 Repository of the Day](https://trendshift.io/api/badge/repositories/20538)](https://trendshift.io/repositories/20538)\n\nHeretic is a tool that removes censorship (aka \"safety alignment\") from\ntransformer-based language models without expensive post-training.\nIt combines an advanced implementation of directional ablation, also known\nas \"abliteration\" ([Arditi et al. 2024](https://arxiv.org/abs/2406.11717),\nLai 2025 ([1](https://huggingface.co/blog/grimjim/projected-abliteration),\n[2](https://huggingface.co/blog/grimjim/norm-preserving-biprojected-abliteration))),\nwith a TPE-based parameter optimizer powered by [Optuna](https://optuna.org/).\n\nThis approach enables Heretic to work **completely automatically.** Heretic\nfinds high-quality abliteration parameters by co-minimizing the number of\nrefusals and the KL divergence from the original model. This results in a\ndecensored model that retains as much of the original model's intelligence\nas possible. Using Heretic does not require an understanding of transformer\ninternals. In fact, anyone who knows how to run a command-line program\ncan use Heretic to decensor language models.\n\nHeretic supports most dense models, including many multimodal models,\nseveral different MoE architectures, and even some hybrid models like Q",
    "raw_text_truncated": true
  },
  "contributors_raw": {
    "truncated": true,
    "contributors": [
      {
        "type": "User",
        "login": "p-e-w",
        "html_url": "https://github.com/p-e-w",
        "contributions": 102
      },
      {
        "type": "Bot",
        "login": "dependabot[bot]",
        "html_url": "https://github.com/apps/dependabot",
        "contributions": 13
      },
      {
        "type": "User",
        "login": "anrp",
        "html_url": "https://github.com/anrp",
        "contributions": 8
      },
      {
        "type": "User",
        "login": "spikymoth",
        "html_url": "https://github.com/spikymoth",
        "contributions": 6
      },
      {
        "type": "User",
        "login": "kldzj",
        "html_url": "https://github.com/kldzj",
        "contributions": 3
      },
      {
        "type": "User",
        "login": "red40maxxer",
        "html_url": "https://github.com/red40maxxer",
        "contributions": 3
      },
      {
        "type": "User",
        "login": "salmanmkc",
        "html_url": "https://github.com/salmanmkc",
        "contributions": 2
      },
      {
        "type": "User",
        "login": "cpagac",
        "html_url": "https://github.com/cpagac",
        "contributions": 2
      },
      {
        "type": "User",
        "login": "accemlcc",
        "html_url": "https://github.com/accemlcc",
        "contributions": 2
      },
      {
        "type": "User",
        "login": "tymat",
        "html_url": "https://github.com/tymat",
        "contributions": 1
      }
    ]
  },
  "funding_raw": {
    "path": null,
    "exists": false,
    "content": null
  },
  "stats_raw": {
    "forks_total": 2346,
    "stars_today": 219,
    "stars_total": 21978,
    "watchers_count": 21978,
    "open_issues_count": 74
  },
  "aux_raw": {
    "selected_fields": {
      "topics": [
        "abliteration",
        "llm",
        "transformer"
      ],
      "is_fork": false,
      "license": "AGPL-3.0",
      "language": "Python",
      "owner_type": "User",
      "forks_total": 2346,
      "has_funding": false,
      "is_archived": false,
      "owner_login": "p-e-w",
      "stars_today": 219,
      "stars_total": 21978,
      "homepage_url": "https://heretic-project.org",
      "default_branch": "master",
      "last_pushed_at": "2026-05-22T09:30:16Z",
      "readme_summary": "<img width=\"128\" height=\"128\" align=\"right\" alt=\"Logo\" src=\"https://github.com/user attachments/assets/df5f2840 2f92 4991 aa57 252747d7182e\" / Heretic: Fully automatic censorship removal for language models<br <br Heretic is a tool that removes censorship (aka \"safety alignment\") from",
      "repo_full_name": "p-e-w/heretic",
      "watchers_count": 21978,
      "last_updated_at": "2026-05-27T21:59:53Z",
      "top_contributors": [
        {
          "login": "p-e-w",
          "contributions": 102
        },
        {
          "login": "dependabot[bot]",
          "contributions": 13
        },
        {
          "login": "anrp",
          "contributions": 8
        },
        {
          "login": "spikymoth",
          "contributions": 6
        },
        {
          "login": "kldzj",
          "contributions": 3
        }
      ],
      "contributor_count": 10,
      "funding_platforms": [],
      "open_issues_count": 74,
      "days_since_created": 248,
      "created_at_on_source": "2025-09-21T05:46:16Z",
      "days_since_last_push": 5,
      "top_contributor_share": 0.718
    }
  },
  "selection_meta": {
    "readme_status": "ok",
    "funding_status": "ok",
    "missing_enrichment": [],
    "repo_detail_status": "ok",
    "contributors_status": "ok"
  },
  "created_at": "2026-05-27T22:00:29.879Z",
  "updated_at": "2026-05-27T22:00:29.879Z"
}