refusal-removal (abliteration) LoRA adapters for LiquidAI/LFM3-Omni-2B-GGUF, one per quant, made with hierophant. each is a small file loaded beside the base model, not a second copy of its weights.
pick the adapter for the quant you serve: an adapter is exact only for the base file it was built from.
# Q8_0
hf download khimaros/LiquidAI-LFM3-Omni-2B-hierophant-LoRA-GGUF LFM3-Omni-2B-hierophant-Q8_0.gguf --local-dir .
llama-server -hf LiquidAI/LFM3-Omni-2B-GGUF:Q8_0 --lora-scaled LFM3-Omni-2B-hierophant-Q8_0.gguf:0.99
a lower scale (e.g. :0.8) keeps the model closer to the base; :0 turns it off.
llama-server can also load an adapter without applying it (--lora-init-without-apply)
and apply it per request, so one server answers both ways.
| quant | adapter | base file SHA-256 | llama.cpp | scale | recipe | refusals (base -> adapted) | first-token KL | WikiText KL | loops |
|---|---|---|---|---|---|---|---|---|---|
| Q8_0 | LFM3-Omni-2B-hierophant-Q8_0.gguf | 59118f661eaa | aa588a346 | 0.99 | L14 | 0.97 -> 0.08 (n=300) | 0.049 | 0.011 | 0.20 (n=50) |
refusals are counted with thinking off on held-out prompts the recipe was not chosen on; each adapter's JSON sidecar names them, the judge and every setting. KL is measured against the base at the scale given. loops is the share of full-length replies to those harmful prompts that keep repeating a passage, which short replies and KL do not show.
hierophant runs harmful and harmless prompts through the quantized model itself and takes the difference of their mean residual streams at the first generated token as the refusal direction. the adapter removes that direction from every matrix that writes into the residual stream, computed from that quant's own dequantized weights, so at scale 1 the edit is exact for that file. which layer's direction, how strongly, and whether to keep it clear of the harmless prompts' principal components or add a second, residual direction were chosen by an automated search, ranked by refusals on prompts it was not tuned on at a fixed KL budget. see hierophant for the method and the tools.
each recipe at the last round it reached, furthest first. these are the search's selection scores, not held out: a round's leader is flattered by being picked on those same prompts, and recipes that stopped early were scored on fewer of them. only the table above is held-out.
Q8_0: 45 recipes| recipe | last round | prompts | refusals | weight | KL |
|---|---|---|---|---|---|
| L16-res | 6 | 402 | 0.080 | 0.852 | 0.049 |
| L14-pcs4 | 6 | 402 | 0.082 | 0.993 | 0.049 |
| L14.5-pcs8-res | 6 | 402 | 0.085 | 0.961 | 0.048 |
| L14 (published) | 6 | 402 | 0.085 | 0.919 | 0.049 |
| L13.5-pcs8-res | 6 | 402 | 0.087 | 0.952 | 0.048 |
| L15-pcs8 | 6 | 402 | 0.087 | 1.142 | 0.050 |
| L14-pcs8-res | 6 | 402 | 0.090 | 0.981 | 0.049 |
| L14.5 | 6 | 402 | 0.097 | 0.947 | 0.047 |
| L13.5 | 6 | 402 | 0.107 | 0.855 | 0.049 |
| L15-pcs8-res | 5 | 402 | 0.087 | 1.005 | 0.048 |
| L14-pcs8 | 5 | 402 | 0.090 | 1.055 | 0.049 |
| L9-pcs8-res | 5 | 402 | 0.092 | 1.022 | 0.048 |
| L15 | 5 | 402 | 0.092 | 1.056 | 0.049 |
| L9-pcs8 | 5 | 402 | 0.092 | 1.076 | 0.049 |
| L10-pcs8 | 5 | 402 | 0.095 | 1.019 | 0.048 |
| L8-pcs8 | 5 | 402 | 0.095 | 0.95 | 0.050 |
| L16 | 5 | 402 | 0.109 | 1.029 | 0.049 |
| L10-pcs8-res | 5 | 402 | 0.119 | 0.868 | 0.049 |
| L8-pcs8-res | 5 | 402 | 0.127 | 0.827 | 0.048 |
| L15-res | 5 | 402 | 0.520 | 0.676 | 0.049 |
| L14-res | 5 | 402 | 0.590 | 0.643 | 0.049 |
| L16-pcs8 | 4 | 256 | 0.109 | 1.107 | 0.047 |
| L13-pcs8 | 4 | 256 | 0.109 | 0.97 | 0.049 |
| L12-pcs8 | 4 | 256 | 0.117 | 1.04 | 0.047 |
| L13 | 3 | 128 | 0.180 | 0.835 | 0.049 |
| L17-pcs8 | 2 | 64 | 0.234 | 1.054 | 0.049 |
| L9 | 2 | 64 | 0.250 | 0.765 | 0.048 |
| L17 | 2 | 64 | 0.250 | 0.95 | 0.048 |
| L11-pcs8 | 2 | 64 | 0.250 | 0.901 | 0.049 |
| L10 | 2 | 64 | 0.344 | 0.703 | 0.050 |
| L18 | 2 | 64 | 0.359 | 0.883 | 0.049 |
| L12 | 2 | 64 | 0.375 | 0.774 | 0.049 |
| L19-pcs8 | 2 | 64 | 0.453 | 1.127 | 0.046 |
| L19 | 2 | 64 | 0.469 | 0.978 | 0.050 |
| L18-pcs8 | 1 | 32 | 0.344 | 1.08 | 0.049 |
| L20-pcs8 | 1 | 32 | 0.406 | 1.08 | 0.050 |
| L7-pcs8 | 1 | 32 | 0.469 | 0.96 | 0.050 |
| L21-pcs8 | 1 | 32 | 0.500 | 1.01 | 0.049 |
| L20 | 1 | 32 | 0.531 | 1.03 | 0.049 |
| L8 | 1 | 32 | 0.562 | 0.7 | 0.048 |
| L21 | 1 | 32 | 0.562 | 1.02 | 0.049 |
| L22 | 1 | 32 | 0.625 | 1 | 0.049 |
| L11 | 1 | 32 | 0.656 | 0.66 | 0.048 |
| L22-pcs8 | 1 | 32 | 0.656 | 1.06 | 0.049 |
| L7 | 1 | 32 | 1.000 | 1 | 0.000 |
有文件?提交种子。
发布种子