grenforcer's picture
Add refusal-removal control vector and model card
ec7e16f verified
|
Raw History Blame Contribute Delete
2.13 kB
---
base_model: CaryPalmer/Kintsugi-Inkling-2-Mini
base_model_relation: adapter
library_name: gguf
license: apache-2.0
pipeline_tag: text-generation
tags:
- control-vector
- refusal-removal
- inkling2
- gguf
- kintsugi
- steering
---
# Kintsugi-Inkling-2-Mini-control-vector
A 218 KB runtime control vector that removes refusals from
**Kintsugi-Inkling-2-Mini-12G.gguf** without changing any weights.
## What it is
`refusal-inkling2-late.gguf` holds 24 unit directions (`direction.24` …
`direction.47`) measured directly on the quantized GGUF with `llama-resid-dump`
(Arditi-style difference of means: harmful minus harmless, harmless component
removed, averaged over 6 prompt contexts of 256 English prompt pairs). The
directions target the **second half of the model's 48 loop visits**, which is
where the refusal decision lives; steering only the final pass makes refusal
worse.
## Results (English-only held-out set, thinking off)
| | baseline | with vector @0.6 |
|---|---:|---:|
| harmful refusals | 49 / 200 | **0 / 200** |
| over-refusal (safe prompts) | 1 / 83 | 0 / 83 |
| KL divergence, prose / code | — | 0.040 / 0.045 |
A scale sweep (1.0 → 0.5) showed KL falls monotonically; 0.6 keeps full
refusal removal with ~37% less KL than 1.0. Note: Inkling does not close its
`</think>` block, so a few auto-labels are regex false positives from private
reasoning text; they were checked by hand.
## Requires a patched engine
Get the engine source from the
[Kintsugi-Inkling-2-Mini releases](https://github.com/professorpalmer/Kintsugi-Inkling-2-Mini/releases).
The stock engine accepts the control-vector flags but **never applies the
vector**: `src/models/inkling2.cpp` has no `build_cvec` call. Add this one line
immediately before `cb(cur, "l_out", il)`:
```cpp
cur = build_cvec(cur, il);
```
## Run
Pass the vector to your patched `llama-server` (the model launcher has an
"extra arguments" environment variable for this):
```bash
--control-vector-scaled refusal-inkling2-late.gguf:0.6 --cvec-mode project
```
Do **not** add `--control-vector-layer-range`: the file already contains only
visits 24–47.