Abliteration HandbookField guide
Technique atlas

Model family playbook

Architecture-specific abliteration notes — targets, quirks, VRAM, and handbook configs.

2 min read 5 examples Source-linked

In this chapter
On this page Interactive companion
Personal reading progress

0/10 sections reviewed

View original Markdown
Interactive companion

Explore the chapter map

Use the visual controls alongside the complete source chapter.

Architecture-specific abliteration notes — targets, quirks, VRAM, and handbook configs.


Qwen2.5 / Qwen3 (dense)#

ItemValue
Targetsmlp.down_proj, self_attn.o_proj
8 GB pathQwen2.5-1.5B + config.low-vram.toml
Sweet spotQwen3-4B-Instruct-2507
QuirksStrong chat template; thinking variants need CoT skips
Community outputsp-e-w/Qwen3-4B-Instruct-2507-heretic
bash
cp sources/heretic-tools/config.low-vram.toml config.toml   # 8 GB
heretic Qwen/Qwen3-4B-Instruct-2507

Thinking: → thinking-model-abliteration.md


Qwen3 MoE (e.g. 30B-A3B)#

ItemValue
TargetsEvery experts[*].down_proj
VRAM4-bit required on ≤24 GB
RiskMissed experts → uneven quality
AbliterixExpert-granular presets when Heretic module map is incomplete — verify per checkpoint
bash
quantization = "bnb_4bit"
offload_outputs_to_cpu = true
heretic Qwen/Qwen3-30B-A3B-Instruct

→ moe-hybrid-abliteration.md · ../methods/moe-expert-abliteration.md · extended-abliteration-toolkit.md


Gemma 3#

ItemValue
TargetsStandard MLP + attn
QuirksMassive activations — set winsorization_quantile = 0.95
Benchmarkgoogle/gemma-3-12b-it → p-e-w/gemma-3-12b-it-heretic
Low VRAMgemma-3-270m-it for experiments
toml
winsorization_quantile = 0.95
full_normalization_lora_rank = 8

Gemma 4 (dense, MoE, VL)#

ItemValue
DenseE2B / E4B / 12B — standard MLP + o_proj
MoEgemma-4-26B-A4B-it — per-expert targets (verify module names)
VLText trunk same as dense; image refusal often template-level
HereticCommunity checkpoints on HF registry — see heretic-models-registry.md
AbliterixUpstream presets for Gemma-4 families; reported low-KL E4B runs — pair with HonestAbliterationBench + handbook factory JSONL
Agent toolsNative tools= template — eval before GGUF; see abliteration-tooling.md
bash
# Handbook default
cp sources/heretic-tools/config.production.toml config.toml
heretic google/gemma-4-12b-it

# MoE / VL / preset automation — verify AGPL + eval gates
# → extended-abliteration-toolkit.md (Abliterix section)

MoE detail → moe-hybrid-abliteration.md · VL → vision-multimodal-abliteration.md · toolkit → extended-abliteration-toolkit.md


Llama 3.1 / 3.2 / 3.3#

ItemValue
Targetsdown_proj, o_proj
AccessMany checkpoints gated — huggingface-cli login
Agent stackmeta-llama/Llama-3.1-8B-Instruct
SAE researchandyrdt/saes-llama-3.1-8b-instruct
bash
huggingface-cli login
cp sources/heretic-tools/config.production.toml config.toml
heretic meta-llama/Llama-3.1-8B-Instruct

Phi-3.5-MoE#

ItemValue
Expert downblock_sparse_moe.experts[*].w2
VRAM4-bit + CPU offload

Verify module names in Heretic model.py for your revision before manual ablation.


Mistral / Mixtral#

ItemValue
MixtralMoE — per-expert w2 / down_proj
Mistral 7BStandard dense path
Template<s>[INST] — match in Ollama Modelfile

Vision-language (Gemma 3 VL, Qwen2.5-VL, Gemma 4 VL)#

ItemValue
Text refusalSame weight targets on language trunk
ImagesHeretic measures on text-only prompts by default
VL false-refusal"I cannot see images" — separate from weight surgery
AbliterixVL/SSM presets in upstream config library — verify text-only eval first

→ vision-multimodal-abliteration.md · extended-abliteration-toolkit.md


gpt-oss / open-weight reasoning#

ItemValue
CoT channelgpt-oss analysis / final channel pair in chain_of_thought_skips
Examplep-e-w/gpt-oss-20b-heretic
VRAM20B needs multi-GPU or cloud

Quick picker#

VRAMModelConfig profile
8 GBQwen2.5-1.5Bconfig.low-vram.toml
12 GBQwen3-4Bconfig.production.toml or low-vram 4-bit
24 GBGemma-3-12B / Llama-8Bconfig.production.toml
Cloud30B MoE, 20B reasoningbnb_4bit + thinking/factory profile

Full walkthrough: ../instructions/model-family-guide.md
Registry: ../docs/tools/heretic-models-registry.md

Trace this chapter to its source.

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

techniques/model-family-playbook.md
Inspect the source fingerprintSHA-256 b0380d7ee9d360b2619e15d3e7683c3ce7a9e721cdf042cd83e33a5ec5167387Source commit 6fba7436a5914cad7c8f0835a14b480a29dac263