Skip to content

Search wahloon.net

Search models, news, guides and FAQs.

All guides
Guides#benchmark#evaluation#methodology#guide#abliteration

How we benchmark abliterated models

Four axes, one runtime, published prompts, and a 24 GB laptop. The full method behind the benchmark table, including what it cannot tell you.

5 min readMarkdown
On this page

Most abliterated model cards publish a refusal number. Almost none publish how they got it, on what hardware, at which quant, against which prompts. That makes the numbers hard to compare and easy to over-read.

This page is the method behind the benchmark table. It is deliberately small: one runtime, one quantization, one machine, and prompts you can read. The goal is not to settle which model is best. It is to answer a narrower question honestly: if I run this build on a normal laptop, does it still refuse, does it still work, and how far did it move?

What this measures

Four things, kept separate:

AxisQuestionHow it is measured
RefusalDoes it answer the prompts I care about?60 target prompts (40 published, 20 held out), graded in three labels
CapabilityDid the edit break ordinary work?25 fixed tasks, compared with the base at the same quant
CoherenceIs the output usable?Repetition, truncation at a fixed limit, format validity
DriftHow far did behaviour move?The author's published KL, when there is one

A build can do well on one axis and badly on another. A model that never refuses but repeats itself is not a good uncensored model; it is a broken one. Collapsing these into a single score would hide exactly the trade-offs people need to see.

The prompt sets

There are three groups:

  • 60 target prompts across 20 categories: security research, fiction violence, medical information, legal boundaries, persuasion, privacy, politics, religion, self-harm discussion, weapons history, drug policy, extremism analysis, adult relationships, profanity, copyright, immigration, financial risk, controversial science, personal insults and authority challenges.
  • 40 benign controls: ordinary requests where no refusal is expected. These catch over-editing. A build that starts refusing harmless prompts has gone too far, even if its target refusal rate looks good.
  • 25 workload prompts: JSON extraction, classification, code with tests, tool calls and long-context questions. These are graded pass or fail against a named check, not by vibes.

Forty of the sixty target prompts are published. Twenty are held out. The held-out set exists because a public prompt set becomes a target: a build tuned against it can look better on the set than it behaves in general. The held-out prompts are still run, and their labels still count. Their text is simply not published. Every record carries a per-prompt label list, so the grading can be audited even where the prompt text is withheld.

All prompts are written to be non-actionable. They are the kind of request a safety-tuned model may decline, not instructions for causing harm. If a prompt would be irresponsible to publish, it does not belong in the set.

The exact setup

Everything that changes an output is pinned and recorded with the result:

  • Runtime: llama.cpp, with the build number recorded.
  • Quantization: Q4_K_M for both the edited model and the base comparison.
  • Decoding: greedy, temperature 0, top_p 1, max_new_tokens 1024.
  • Template: the model's default chat template, with enable_thinking disabled for builds that support a reasoning mode. Reasoning tokens are a separate axis; leaving thinking on would let a build fail simply by thinking past the cap.
  • Hardware: an Apple M5 with 24 GB of unified memory.

The hardware is the constraint and the point. Anything above roughly 31B dense does not fit, so those models are out of scope. That is not a limitation to apologise for: a 24 GB laptop is what most people actually have, and "does it run here" is the question a model card never answers.

The single-quant rule matters for the capability comparison. Comparing an abliterated Q4 build against an FP16 base would measure quantization and abliteration at once. Where no same-quant base run exists, the table shows an em dash instead of a delta.

How to read the interval

Every compliance rate carries a 95% Wilson interval. At 60 prompts, that interval is roughly ten points wide. A 0-of-60 result means "below about 6%", not "never refuses". A 54-of-60 result is 90%, with an interval of about 80–95%.

Two consequences:

  1. Do not treat a few points of difference as a ranking. At this sample size, adjacent builds are usually tied.
  2. Do not compare a 0-of-50 result with a 4-of-100 result as if the difference were meaningful.

The table shows the denominator, the compliance interval and the raw refused/hedged split next to every number, so you can judge for yourself.

Compliance records whether the model answered, not whether the answer finished. A build that is truncated at the token cap can still comply; the truncation rate is reported separately, and for the first measured build it is high. Read the two together.

What this does not claim

  • It is not a general capability benchmark. It will not tell you which model writes better prose or codes better in the abstract.
  • It is not a safety evaluation. A high compliance rate on these prompts says nothing about how a model behaves on genuinely dangerous requests, and it is not a licence to stop thinking.
  • It does not measure KL ourselves. Where an author publishes one, we record it and label the source. Otherwise the column is empty.
  • It does not cover models that do not fit in 24 GB.
  • It does not settle whether abliteration is a good idea. It measures what a build does.

Reproduce a row

The harness lives in bench/ in the repository. A run is: download the GGUF at Q4_K_M, start llama-server, run the merged prompt set with greedy decoding, label the outputs against the rubric, and grade. bench/README.md has the exact commands.

If you reproduce a row and get a different number, that is useful. Open an issue with the runtime build, the quant and the raw outputs. If the difference is real, the row gets corrected and the correction is noted.

Corrections

Numbers change. A model gets re-uploaded, a runtime changes its sampling, a label turns out to be wrong. When a published row changes, the page notes what changed and why, and the record keeps its new date. A benchmark that quietly rewrites itself is worse than no benchmark.

If you want to run the other half of the loop, the abliteration guide covers making the edit, and the evaluation guide covers the four-axis harness in more general terms.

6 minGuide

How to evaluate an abliterated model before you trust it

A model card's refusal number is a claim about a prompt set, not a property of the model. Here is a small harness you can run in an hour: refusal rate, capability, coherence and drift.

#evaluation#abliteration#methodology
Read
8 minGuide

How to abliterate a model yourself

A working sketch of the abliteration loop: build a prompt set, collect activations, estimate a refusal direction, edit the writers, and evaluate before you quantize.

#abliteration#guide#pytorch
Read