Abliteration HandbookField guide
Research & reference · source archive

Upstream sources

This repo prefers GitHub and live doc fetches over stale Hugging Face blog links.

1 min read 3 examples Source-linked

In this chapter
On this page Interactive companion
Personal reading progress

0/6 sections reviewed

View original Markdown
Interactive companion

Explore the primary records

Use the visual controls alongside the complete source chapter.

This repo prefers GitHub and live doc fetches over stale Hugging Face blog links.

Heretic tool pins (immutable)#

Pinned configs and lockfiles: heretic-tools/ — see heretic-tools/IMPORT.md.

bash
npm run fetch:heretic    # sync config.default.toml, pyproject, uv.lock from GitHub

Refresh fetched docs + HF model registry (headless browser)#

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

npm run fetch:all                         # pins + docs + web research + HF registry + markdown table
# or:
node scripts/fetch-docs.mjs               # Chromium — 30+ static GitHub/arXiv/HF targets
node scripts/fetch-docs.mjs --firefox
npm run fetch:web-research                # DuckDuckGo lite + supplemental arXiv/HF pages
npm run fetch:web-research:firefox
node scripts/fetch-hf-heretic-models.mjs --firefox   # HF API via in-page fetch
  • Doc snapshots → sources/fetched/ + manifest.json + web-research-manifest.json
  • Search snapshots → sources/fetched/search-*.txt (curated abliteration queries)
  • Heretic/abliterated HF models → data/heretic-models-registry.jsonl + ../docs/tools/heretic-models-registry.md

Context7 (optional MCP)#

If Context7 is configured in your editor, query libraries before editing workflows:

  1. resolve-library-id → e.g. /p-e-w/heretic, /TransformerLensOrg/TransformerLens
  2. query-docs → "install", "abliteration parameters", "config.default.toml"

See ../docs/context7.md.

Research corpus (arXiv PDFs + READMEs)#

bash
npm run fetch:research-papers   # 18 papers + 4 GitHub READMEs → sources/research/

Index: research/README.md · beginner guide: ../docs/refusal-research-beginners-guide.md

Primary GitHub repos#

RepoRole
p-e-w/hereticAutomated abliteration (recommended)
andyrdt/refusal_directionOriginal paper reproduction
jim-plus/llm-abliterationmeasure → analyze → sharded ablate pipeline
TransformerLensOrg/TransformerLensActivation hooks / interpretability
FailSpy/abliteratorEarly abliterator tooling
Sumandora/remove-refusals-with-transformersHF-free-ish Transformers approach
wassname/abliteratorCommunity abliterator
Tsadoq/ErisForgeAbliteration toolkit
AUGMXNT/deccpdeccp / topic-aware datasets

Live documentation sites#

Trace this chapter to its source.

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

sources/README.md
Inspect the source fingerprintSHA-256 24acc18352da4a0c26a425010b5bdce50c77fe917a2937d0c15fe0f657d5b637Source commit 6fba7436a5914cad7c8f0835a14b480a29dac263