Abliteration HandbookField guide
Tools & environments

Heretic tool files (immutable pins)

Pinned Heretic configs and lockfiles live in sources/heretic-tools/.They are immutable reference copies — refresh from upstream, do not hand-edit the pinned files.

2 min read 3 examples Source-linked

In this chapter
On this page Interactive companion
Personal reading progress

0/5 sections reviewed

View original Markdown
Interactive companion

Explore the chapter map

Use the visual controls alongside the complete source chapter.

Pinned Heretic configs and lockfiles live in sources/heretic-tools/.
They are immutable reference copies — refresh from upstream, do not hand-edit the pinned files.

NeedFile / doc
Upstream default configsources/heretic-tools/config.default.toml
8 GB GPU profilesources/heretic-tools/config.low-vram.toml
12–24 GB agent profilesources/heretic-tools/config.production.toml
Thinking / CoT modelssources/heretic-tools/config.thinking-model.toml
Factory bench domainsources/heretic-tools/config.factory-qa.toml
Slop / filler reductionsources/heretic-tools/config.noslop.toml
Humor / tone reductionsources/heretic-tools/config.nohumor.toml
Dependency pinspyproject.toml.reference, uv.lock.reference
Sync manifest (sha256)UPSTREAM.json
Import / refresh guidesources/heretic-tools/IMPORT.md
HF models attemptedheretic-models-registry.md

Upstream source of truth#

ArtifactURL
Pinheretic-llm 1.4.0 · git tag v1.4.0 (2026-06-14)
Repositorygithub.com/p-e-w/heretic — fetch tag, never silent master
Mirrorcodeberg.org/p-e-w/heretic
PyPI packageheretic-llm==1.4.0
Live docsheretic-project.org/tutorial
Mintlify (may be stale)p-e-w-heretic.mintlify.app — generated ~Mar 2026; prefer the live tutorial

Where to update from: run npm run fetch:heretic (or node scripts/fetch-heretic-tools.mjs).
That script pulls raw files from tag v1.4.0 (not master) and writes sha256 timestamps into UPSTREAM.json. Post-1.4.0 master uses a plugin scorer schema that breaks handbook factory/thinking profiles.

Handbook-only profiles (config.low-vram.toml, config.production.toml) are edited in this repo — not overwritten by fetch.

Upstream optional profiles (config.noslop.toml, config.nohumor.toml) are pinned from the v1.4.0 tag via npm run fetch:heretic.

Optional profiles (style, not refusal)#

ProfileUse whenNotes
config.noslop.tomlModel outputs purple prose / sycophantic fillerUses slop-inducing vs clean prompt pairs; distinct from uncensoring — see comparative-abliteration-benchmarks.md
config.nohumor.tomlTone is inappropriately jokey for agent tasksSmaller prompt set; pair with eval on your deploy corpus
bash
cp sources/heretic-tools/config.noslop.toml config.toml
heretic ./models/YourModel-Instruct

Quick use#

bash
# Low VRAM (8–12 GB)
cp sources/heretic-tools/config.low-vram.toml config.toml
heretic ./models/Qwen2.5-1.5B-Instruct

# Upstream defaults unchanged
cp sources/heretic-tools/config.default.toml config.toml

Install helpers: sources/heretic-tools/install.ps1 (Windows) · install.sh (Linux/macOS).


Refresh everything (docs + pins + HF registry)#

bash
cd abliteration
npm install                              # once
npx playwright install chromium firefox  # once

npm run fetch:all
# or step by step:
npm run fetch:heretic
npm run fetch:docs
npm run fetch:hf-models:firefox          # preferred on Windows if Chromium resets
npm run build:heretic-models-doc

Why headless Chromium / Firefox?#

Hugging Face blocks bare curl / fetch from CI and some networks (ERR_CONNECTION_RESET).
scripts/fetch-hf-heretic-models.mjs opens the public model list in Playwright, then calls the HF API inside the browser so cookies and TLS fingerprint match a real session.

ScriptBrowserOutput
fetch-hf-heretic-models.mjsChromium (auto-fallback → Firefox)data/heretic-models-hf-snapshot.json
fetch-hf-heretic-models.mjs --firefoxFirefoxsame
fetch-docs.mjsChromium / --firefoxsources/fetched/*.txt

Model registry#

Open-weight models tagged heretic or abliterated on Hugging Face:

Browse live: huggingface.co/models?other=heretic


Trace this chapter to its source.

The complete Markdown remains the editable source. This page adds navigation, typography, and a visual companion.

docs/tools/heretic-tools-reference.md
Inspect the source fingerprintSHA-256 50f2e3c4845334707fe19f4f30b08a15a5a969fa789c503db96532824c920405Source commit 6fba7436a5914cad7c8f0835a14b480a29dac263