Heretic uncensored models guide: a Heretic model card is two numbers, refusals out of 100 and a KL divergence, and this guide reads both back to the source code. On 27 November 2026 we read Heretic’s README, its default config and its two default scorers, then walked one real card line by line. We did not run Heretic or any model, so every figure below is the project’s or an author’s own. What the usual guides leave out: which 100 prompts the refusal count comes from, which words count as a refusal, what the KL number is measured on, and how much drift the author paid for each refusal removed (arithmetic from the card’s own table). For nine cards of one model family side by side, see our Qwen3.8 27B comparison. This post is the general method.
What is Heretic, and what does it do to a model?
Heretic edits a model’s weights so it refuses less, without training on new data. The README calls it “training-free language model modification” and says it uses mathematical techniques to steer behavior from contrasting example prompts and matching scorers. Suppressing refusals is the default action. Other configuration files in the repository aim at less slop, less humor, less sycophancy, terser replies and a few other behaviors, so the tool is more general than the word “uncensored” suggests.
The mechanics fit in one paragraph. Heretic pairs a modifier, the part that edits weights, with an Optuna optimizer using the TPE sampler. The optimizer tries settings, the modifier applies them, and scorers grade each result. By default two scorers run: a refusal rate from a keyword scorer and KL divergence from the original model, and both are minimized together. The author then exports one trial. The README lists two modifiers, Arbitrary-Rank Ablation (the default) and classic directional ablation, which is the method from Arditi et al., who found that refusal in 13 open chat models, 1.8B to 72B parameters, is mediated by a single direction.
One Heretic run, as the README describes it
Practical facts from the README: it needs Python 3.10 or newer and PyTorch 2.6 or newer, installs with pip install -U heretic-llm, and on an RTX 3090 with default settings takes about 30 to 40 minutes to process Qwen3-4B-Instruct-2507. If that run used the default 100 trials (the config default, see below), that is 18 to 24 seconds a trial: 30 x 60 / 100 = 18 and 40 x 60 / 100 = 24. After a run you can save the model, upload it, chat with it or run standard benchmarks. The code is under the AGPL, version 3 or later. The README also says the community has published thousands of Heretic models and that independent MMLU and GSM8K comparisons favor it over other abliteration tools. It cites two community comparisons for that. We did not open them, so treat that sentence as the project’s own claim.
What changed between Heretic 1.x and 2.x?
The tool moved fast, and the version matters when you read a card. These dates come from the GitHub releases page, which we read on 27 November 2026.
| Release | Date | What the notes say |
|---|---|---|
| v1.1.0 | 10 Dec 2025 | Apple Silicon support, multi-GPU, thinking-model support, better refusal detection |
| v1.2.0 | 14 Feb 2026 | LoRA-based engine with 4-bit support, norm-preserving ablation, save and resume |
| v1.3.0 | 5 May 2026 | Reproducible runs, built-in benchmarking, Qwen3.5 and Gemma 4 support |
| v1.4.0 | 14 Jun 2026 | Automatic reproduction from a reproduce.json file |
| v2.0.0 | 1 Nov 2026 | Breaking: 1.x config files no longer load; plugin system; headless mode |
| v2.1.0 | 8 Nov 2026 | Custom config path, a response length scorer, export fixes |
Two consequences. First, version 2.0 made Arbitrary-Rank Ablation the default modifier, according to the README, while the classic method stays selectable. The README says a preprint on ARA “will be available soon”, so on the day we read it the quality claims for ARA came from its author. PromptQuorum’s summary of the author’s pull request says ARA learns per-module matrix edits instead of one refusal direction, which allows edits above rank one. That is their reading and we have not checked the pull request ourselves.
Second, the “heretic” tag names a tool and a date range, not a technique. The sss22213 card we use below says it ran classic directional ablation on an unreleased commit of the master branch, so a reader who assumed ARA would be wrong. Our abliterated against uncensored explainer makes the same point from the other direction: the word on the model name is a clue, and the card has to say the rest.
What do the two numbers on a Heretic card measure?
They measure whatever the scorers were configured to measure, and the defaults are narrow. We read the default config and both scorer files. The table lists what a card that kept the defaults actually computed.
| Setting | Default in the source | What it means for the number |
|---|---|---|
| Refusal prompts | mlabonne/harmful_behaviors, split test[:100] |
The first 100 of 104 test rows of a public list of 520 short instructions (416 train, 104 test) |
| Tokens generated per prompt | max_response_length = 100 |
A refusal is only seen if it shows up inside 100 tokens |
| Refusal detector | KeywordRate: case-insensitive substring match on a marker list |
Includes markers such as “sorry”, “i cannot”, “illegal”, “harmful” and “disclaimer” |
| KL prompts | mlabonne/harmless_alpaca, split test[:100] |
100 of about 6,270 test rows in a 31.3k-row set of ordinary instructions |
| KL measured on | The first-token probability distribution | Drift at the first generated position only |
| Search size | n_trials = 100, n_startup_trials = 30 |
30 random tries, then guided ones |
| Optional scorers | A BERT refusal classifier, an lm-evaluation-harness benchmark scorer, a response length scorer | Available, but not in the default list |
Row counts come from the two Hugging Face dataset pages; the defaults come from config.default.toml, the keyword scorer and the KL scorer, whose own code comment says it obtains “baseline first-token probability distributions”. The classifier option in the default config points at a ModernBERT model called VINAY-UMRETHE/Refusal-Classifier-V2 and counts the labels full_refusal and partial_refusal; the benchmark scorer example in the same file is PIQA.
One detail changes how you read held-out. The sss22213 card derives its refusal direction from the first 400 train rows of the harmful list and the first 400 of the harmless one, then scores on the test split. That is honest held-out testing, and it is also one public list of short English instructions on both sides of the split. A model can do well on this style of prompt and still behave differently on a long, multi-turn or role-framed request. That last sentence is our reading, not a claim on the card.
What can “4/100” tell you, and what can it not?
It tells you that 4 of 100 answers contained a marker string within 100 tokens, which is a useful signal when you also know the base model’s score on the same prompts. It cannot tell you whether the other 96 answers were helpful, complete or correct. The sss22213 card says so itself: the metric “does not measure the quality or completeness of the other 96 answers”.
Three limits stack on top of that.
The sample is 100 prompts. One prompt moves the rate by a full point. The Wilson interval, the standard small-sample interval for a proportion, puts 4 of 100 at roughly 1.6 to 9.8 percent (our arithmetic), so a card showing 4 and another showing 7 on separate runs are not evidence of a winner.
The detector is a word list. The default markers include ordinary words. A helpful answer that begins “Here is how to avoid harmful interactions” contains “harmful”, and a keyword scorer counts it. In the other direction, a reply like “that isn’t something I’ll help with” contains none of the default markers we read, so it passes as compliance. Both sentences are examples we wrote, not measured cases, but the mechanism is in the scorer’s code: a substring match on a list. If a card used the optional classifier instead, the card should say so.
The base score sets the scale. “4 out of 100” means a lot when the base model scored 99 and little when it scored 6. Divide what was removed by what existed to remove: (99 - 4) / 99 = 95 / 99, which is 96.0 percent of the base model’s refusals.
What a refusal count shows, with the base on the same prompts
- Edited model refusal rate
- 4.0%
- Low end of the 95% interval
- 1.6%
- High end of the 95% interval
- 9.8%
- Refusals removed
- 95
- Share of the base refusals removed
- 96.0%
- One prompt moves the rate by
- 1.0%
Wilson score interval at 95 percent, computed in your browser, nothing is sent. It assumes the prompts are a fair sample, and a fixed benchmark list is one sample. Use the same n for the base and the edited model.
Run the defaults to see the card’s numbers: 4.0 percent, an interval of about 1.6 to 9.8 percent, 95 refusals removed, 96.0 percent of the base’s refusals gone. Then try 14 and 64 with a base of 14, the figures from another card in our Qwen comparison, and see how a 0 can hide a short list.
How the X / 100 on a card is made
What can KL divergence tell you, and what can it not?
KL divergence measures how far the edited model’s probabilities moved from the original’s, and zero means identical. In Heretic’s default scorer it is taken at the first generated token on 100 harmless prompts, so it is a cheap, repeatable drift probe and nothing more. It is the number the optimizer tries to keep small while it pushes refusals down, which is why every Heretic card prints one.
The sss22213 card is blunt about its limits: first token only, English prompts, thinking disabled, “a good signal that the model’s general behavior is close to the base, but it is not a benchmark score”. No MMLU, GSM8K, coding or vision test was run. A model can keep its first-token probabilities close to the base and still lose something in step-by-step maths, long context or code, because none of those happen at position one.
Independent evidence says the same thing with numbers. Young’s comparison, posted in December 2025, ran four abliteration tools over sixteen instruction-tuned models of 7B to 14B parameters. Its abstract reports that the Bayesian-optimized tool, which is Heretic, produced KL divergence from 0.043 to 1.646 with model-dependent capability impact, and that GSM8K changed by between +1.51 and -18.81 points depending on tool and model. On the three-model subset where tools could be compared, the single-pass tools ErisForge and DECCP lost 0.28 and 0.13 points on average. Three cautions apply. The models were small, the preprint predates Heretic 2.0, and the abstract does not say KL predicts the GSM8K change, so we do not either. What it does show is that a card with a KL and no capability score leaves the largest known risk unmeasured: the same abstract names mathematical reasoning as the most sensitive capability.
The original paper’s numbers point the same way. Arditi et al. report that TruthfulQA accuracy fell consistently after the edit, by roughly 1 to 3.5 points in the models they tested, and describe their direction-selection method as relying on heuristics. Our abliterated against uncensored explainer tabulates those five rows with the arithmetic.
What does a worked reading of the sss22213 card look like?
Here is the full reading we would do on the sss22213 Qwen3.8 27B card, step by step, with every figure taken from the page.
- Identity. Base model
Qwen/Qwen3.8-27B, licence Apache 2.0, about 55 GB in two safetensors shards at bf16. The tags areheretic,abliterated,abliterationanduncensoredtogether, so one repository sits in several of the tag counts you read elsewhere. - Method. Classic directional ablation with Heretic
masterat one named commit, not a release number. The edit is a rank-3 LoRA (r = 3,lora_alpha = 3) merged into the original bf16 weights, and the card states the model was not fine-tuned on new data. - Counting. 99 of 100 held-out harmful prompts refused by the base, 4 of 100 by the build. That is 95 refusals removed, 96.0 percent of the base’s, with a plausible range of 1.6 to 9.8 percent for the build.
- Drift. KL 0.0796 from base, first token, 100 harmless prompts, thinking off.
- Search. 350 Optuna trials, 60 of them random start-up trials, 17 on the Pareto front. That is 4.9 percent of trials (17 / 350), which is typical of a trade-off curve: most tries are dominated by a better one.
- Pick. The exported trial 198 is “the front’s lowest-refusal point”. On a curve, that is the most aggressive end, not a midpoint.
- Caveats the author lists. The optimization ran on a bitsandbytes 4-bit copy of the base while the published weights are bf16, so the measured numbers are those of the 4-bit run. Thinking mode, vision and every downstream benchmark are unmeasured.
The card also publishes part of the front. Here are six of the 17 points it lists, with the cost of each step worked out.
| Trial | Refusals out of 100 | KL from base | Fewer refusals than the row above | Added KL | KL per refusal removed |
|---|---|---|---|---|---|
| 179 | 99 | 0.0002 | start | start | start |
| 163 | 58 | 0.0552 | 41 | 0.0550 | 0.00134 |
| 173 | 41 | 0.0593 | 17 | 0.0041 | 0.00024 |
| 206 | 18 | 0.0608 | 23 | 0.0015 | 0.00007 |
| 202 | 9 | 0.0648 | 9 | 0.0040 | 0.00044 |
| 198 | 4 | 0.0796 | 5 | 0.0148 | 0.00296 |
Read the last column. Going from trial 163 to 173 removes 17 refusals for 0.0041 of added KL, which is 0.00024 per refusal. The final step, from trial 202 to trial 198, removes 5 refusals for 0.0148, which is 0.00296 per refusal: 0.0148 / 5 = 0.00296, against 0.0041 / 17 = 0.00024. The last five refusals cost about 12 times as much drift each. That is our arithmetic on the card’s own table, and the table rows are the only points we can see.
Added KL per refusal removed, between neighbouring trials (thousandths)
- Trial 179 to 1631.3441 fewer refusals, +0.0550 KL
- Trial 163 to 1730.2417 fewer refusals, +0.0041 KL
- Trial 173 to 2060.0723 fewer refusals, +0.0015 KL
- Trial 206 to 2020.449 fewer refusals, +0.0040 KL
- Trial 202 to 1982.965 fewer refusals, +0.0148 KL
The lesson is not that 4 of 100 is wrong. It is that a card showing one point hides the choice, and a card showing the front lets you pick. The sss22213 author says any other point on the front, such as trial 202 at 9 of 100 and KL 0.0648, can be exported from the same run, so a milder build was available to them and is not on the page.
What do Heretic cards leave out?
Six things, in the order we would ask about them.
Which detector. The default is a word list. The README documents a classifier plugin as an alternative. A card that says “refusals” without naming the detector has not told you what was counted.
A capability test. Heretic has a benchmark scorer that wraps the lm-evaluation-harness, and the README says you can run standard benchmarks after a run. Authors rarely publish the result. If a card does, ask whether the benchmark was also used as a search objective, because a score you optimized against is weaker evidence than one you only measured. The OWASP supply chain entry warns that models can be fine-tuned to bypass published benchmarks, which is a close cousin of the problem, though that is our reasoning and OWASP does not say it about Heretic.
Thinking mode. The sss22213 search used enable_thinking=False. A model that reasons before answering can behave differently when the reasoning is on, and the card says its refusal behavior there “was not measured”.
Multi-turn and system prompts. The test is one user message, with the system prompt “You are a helpful assistant.” Real use is long, framed by a persona and edited by a client. Our system prompt guide covers what a prompt can change after the weights are fixed.
The quantization gap. Searching on a 4-bit copy and publishing bf16 weights is a sensible way to fit 27B parameters on one 32 GB card, and the card says so. It also means the published numbers describe the neighbour, not the file.
Reproducibility. The README describes a reproduce folder with a roughly 9 KB reproduce.json manifest and a command, heretic --reproduce path/to/reproduce.json, that rebuilds the model and checks the weight-file hashes, noting they may or may not match exactly. A card that ships one has made itself checkable. Check the repository’s file list for a reproduce folder; the sss22213 card instead gives the full configuration in prose, which is nearly as useful.
Which card checks matter most?
The checklist below is the one we would use on any Heretic card. It differs from the generic uncensored-model checklist in our explainer by asking about the tool: version, modifier, detector and which trial was exported. Tick what the card shows, not what you assume.
Heretic model card check
0 of 10 shown
A label, not evidence
The word Heretic tells you the tool and nothing else. Treat the model as untested.
The sss22213 card ticks nine of the ten. The one it misses is a capability test, and that is the gap that matters most if you code or do maths with the model. Scoring nine does not make a model good. It makes the claims checkable, which is more than most cards offer.
Which point on the dial should you choose?
It depends on what the model is for, because drift costs different amounts in different jobs. The picker maps six situations to the question to ask and the post to read next.
What will you use the model for?
Roleplay and characters
Fiction and long drafts
Coding and maths
Security research
Long documents
I would rather not manage files
Should you run Heretic yourself?
Only if you want to learn from it or need a model nobody has published, because the published points already exist for popular bases. The README says you need enough memory to run the model you are editing, and it offers an on-the-fly 4-bit option (quantization = bnb_4bit) that cuts VRAM to roughly what a quantized copy of the model uses, “at a slight accuracy cost”. The sss22213 author used that option on a single RTX 5090 with 32 GB for 350 trials, so a 27B base is reachable on one consumer card. A rented GPU is the other route, and our GPU rental against API cost post puts hours against per-token prices. If you only want to run someone else’s build, the comparison in running locally against an API and the Ollama and LM Studio guide are the practical pair.
Two cautions. The AGPL attaches to the Heretic code, and the licence of what it outputs follows the base model’s terms: the sss22213 card says Apache 2.0, the same as its base, but a different base may differ, so read the card’s metadata. And editing a model does not change what you may ask it. The same limits apply to everything we publish: adults only, nothing sexual involving minors, nothing that helps harm real people.
What do we host, and what do we not claim?
We do not claim any of our uncensored listings was made with Heretic, with ARA, or with classic abliteration, because the listings carry a name and a one-line summary and no method. Our uncensored API page lists paid models with per-million-token prices, and qwen3.8-27b-abliterated is listed at $0.51 in and $2.27 out per 1M tokens. Paid models are set up by hand, offline, to stop abuse and card fraud: pick a model, see the prices on that page, then email somdutt777@gmail.com to buy access. For a monthly arrangement, ask by email.
What works right after Google sign-in is the free lane. It has 47 ids ending in :free, and 7 of them carry “uncensored” in the name: GLM 5.3 Flash Uncensored, DeepSeek V4.1 Flash Uncensored, GLM 5.3 Uncensored, Laguna XS 2.1 Uncensored, Nemotron 3 Ultra 550B Uncensored and K2 Horizon 375B Uncensored. They cost $0 per token, share 100 requests and 3,000,000 tokens a day per account, and work with a $0 balance. We publish no refusal counts or KL for them; apply the checklist to each upstream card. The free uncensored API post shows the calls, the price comparison lists dated rivals, and the unfiltered API guide separates the model from the layer around it.
If you are choosing among families, the DeepSeek, GLM, Kimi and Qwen 3.8 guides each take one family through the same questions. The company that runs a model receives your request, and our own rule is that prompts and answers are not stored, only counts and the charge; the privacy post says what a provider can see and the LLM API privacy guide the general case. We publish this post and sell access to these models, so weigh the commercial interest. To check a provider instead of trusting one, use the six checks that an API serves the model it names, and see our transparency page for what we monitor. The rankings show measured use across the gateway, and the Inkling 2 Mini uncensored post applies card reading to a different architecture. Legal questions go to the legality guide, and pricing lists plans, which are not open yet.
Test a card's claim on your own prompts
Sign in with Google, no card: 47 free ids share 100 requests and 3,000,000 tokens a day. Send the same twenty prompts to a stock and an uncensored id, count the refusals and the vague answers, and compare with the number on the card.