nullfoundry's picture
Inkling-2-Mini abliterated: s1 refusal-direction bank, base GGUF, drafter, mmproj, evals
1964c49 verified
|
Raw History Blame Contribute Delete
8.5 kB
metadata
license: apache-2.0
base_model: thinkingmachines/Inkling-2-Mini
base_model_relation: quantized
pipeline_tag: text-generation
tags:
  - gguf
  - inkling2
  - maya
  - abliterated
  - uncensored
  - refusal-ablation
  - runtime-ablation
  - experimental

Inkling-2-Mini Abliterated — Maya runtime refusal ablation

Thinking Machines' Inkling-2-Mini (Unsloth UD-Q4_K_XL) with a per-visit refusal-direction bank that the maya-ik2 engine projects out of the residual stream at runtime. The weights are untouched: same file as Unsloth's, plus a 443 KB direction bank.

Status: experimental. Measured on one machine (RTX 3090), one engine build, and the benchmarks below. This model answers requests the original refuses. You are responsible for how you use it.

What this is

  • Not a finetune and not a weight edit. Inkling-2-Mini-UD-Q4_K_XL-unsloth-layout.gguf is byte-identical to Unsloth's Old_Support/Inkling-2-Mini-UD-Q4_K_XL.gguf_file. Refusals are removed only when the engine loads Inkling-2-Mini-refusal-direction.gguf with --ablate.
  • One direction per loop visit. Inkling-2-Mini runs 48 layer visits (layers 6-17 are looped 3 times). The bank holds one refusal direction per visit, fitted from pooled English + Russian activations (difference of means, harmful vs harmless, last prompt position). A per-visit bank beat every static weight edit we tried: weights are shared across the 3 passes of the loop, a runtime bank is not, and there is no requantization noise.
  • Switchable per request. With --ablate-default off and "ablate": {"default": true} in the config, ablation is on by default and any API request can send "ablate": false to get the stock model back from the same process.
  • Not a llama.cpp model. The direction bank only works in maya-ik2 (Project Maya v1.1.84 or newer with --ablate). The base GGUF itself is Unsloth's and loads wherever Unsloth's does.

Files

file bytes sha256 source
Inkling-2-Mini-UD-Q4_K_XL-unsloth-layout.gguf 17,629,759,456 e62d463c135ffe283df8d94b279a96ca145ac128b52ce854478613045bf4de15 unsloth/Inkling-2-Mini-GGUF Old_Support/ (byte-identical)
Inkling-2-Mini-refusal-direction.gguf 443,040 a25bbf5d42e5f0cf69940ba6fe9ef59c77fb27362bd83936a6f80e9c2b872388 this repo (direction bank s1)
mtp.safetensors 635,801,416 7c3b651317f01f73bcf4e1dceba66ef8b7e1a1eac6bc171e882e690a4b10a1d2 thinkingmachines/Inkling-2-Mini (MTP drafter)
mmproj-BF16.gguf 641,805,760 2c165c78790e78a3f45a2d1e9e931083e52ee69d45ff2a0dc9c281fdf1a666e7 unsloth/Inkling-2-Mini-GGUF (byte-identical)
configs/ik2-mini-abliterated.json the exact server config used for every number below
eval/ raw benchmark outputs, scripts and logs

The direction bank was fitted and evaluated on the unsloth-layout file above. It has not been tested on other quants of Inkling-2-Mini.

Usage

git clone https://github.com/alesha-pro/maya-inkling-mini && cd maya-inkling-mini
# build maya-ik2 as described in its README, then:
hf download nullfoundry/Inkling-2-Mini-Abliterated-Maya --local-dir models
python tools/strata_tokenizer.py --gguf models/Inkling-2-Mini-UD-Q4_K_XL-unsloth-layout.gguf --out ik2 \
  --chat-template tools/ik2/chat_template.jinja --check
python serve/server.py --engine maya --config models/configs/ik2-mini-abliterated.json --host 127.0.0.1 --port 18000
  • Text only: this repo is enough. Remove the vision block from the config.
  • Images: maya's vision encoder process also loads Unsloth's mainline file (hf download unsloth/Inkling-2-Mini-GGUF Inkling-2-Mini-UD-Q4_K_XL.gguf --local-dir models), as in maya's own configs.
  • Hardware: one 24 GB NVIDIA GPU (tested on RTX 3090) with FP8 KV cache, 196,608-token context, --parallel 1.
  • Sampling: use the model card's defaults: temperature 1.0, top_p 1.0 (maya's defaults). Greedy decoding makes long reasoning loop, and it makes this model loop more often than the stock one (see below).
  • Stock behavior on demand: send "ablate": false in the request body.

Results

Stock = the same base GGUF served without --ablate. Abliterated = this repo. Same engine, same GPU, same prompts.

Refusals

benchmark stock abliterated
harmful prompts, English (100, LLM judge) 100% refused¹ 3 refused · 81 complied · 16 partial
harmful prompts, Russian (100, LLM judge) 99% refused¹ 5 refused · 82 complied · 13 partial
held-out harmful, English (80, LLM judge) 79 refused 2 refused
held-out harmful, Russian (80, LLM judge) 79 refused 3 refused
held-out harmful, thinking mode (40, LLM judge) 36 refused 1 refused
XSTest over-refusal (250 safe prompts) 4.8% 0.4%
MMLU (2,000 questions, greedy, no thinking) 78.60% 77.15%

¹ stock rates from the keyword classifier; the LLM judge was run on the abliterated outputs. The judge is the stock model itself, with ablation off. The held-out rows come from a separate 80/80/40-prompt split, never used for fitting.

For comparison, AtomicChat/Inkling-2-Mini-Uncensored-GGUF (a weight edit) measured 2/100 EN and 0/100 RU refusals but 72.05% on the same MMLU-2000 run.

Reasoning: stock vs abliterated (280 questions)

Fixed-seed sample, thinking on (server default, high), answers graded automatically, HumanEval tests executed. All questions were run at temperature 0 (greedy), not at the card's 1.0.

set stock abliterated
GSM8K (50) 50 49
MMLU-Pro (60, 10 options) 45 40
BBH (5 tasks × 8) 40 40
HumanEval (30, executed) 29 27
hand-written puzzles (20) 20 20
GPQA-Diamond (50) 31 (62%) 26 (52%)
AIME 2025 (30) 26 (87%) 25 (83%)
total 241 (86.1%) 227 (81.1%)
reasoning stopped by the loop guard 24 37

The gap comes from reasoning loops, not from lost knowledge:

questions where neither model looped or hit the token cap stock abliterated
GSM8K, MMLU-Pro, BBH, HumanEval, puzzles (182) 176 175
GPQA-Diamond (28) 26 26
AIME 2025 (23) 23 23
  • Paired: stock solved 17 questions the abliterated model missed, the reverse happened 3 times. In 16 of those 17 the abliterated model's reasoning looped and was cut off; it gave a wrong final answer only once (mmlu_pro-30). In both of the abliterated model's wins on hard questions, the stock model looped.
  • Under greedy decoding the ablation makes long reasoning loop more often (37 vs 24 loop stops), most visibly on GPQA (21 vs 12). The stock model loops too at temperature 0, which is why the card recommends 1.0. This run did not measure the gap at temperature 1.0.

Evaluation data

  • eval/reasoning/results.jsonl: one row per (model, question): gold, extracted answer, correctness, loop flag, tokens, and the full answer and reasoning. GPQA rows omit the text, because GPQA asks that its questions not be republished in plain text.
  • eval/reasoning/report.json, run_core.log, run_hard.log: per-set summary and run logs.
  • eval/reasoning/iq_bench.py: the harness (fetch, fetch_hard, run MODEL..., report). It downloads GSM8K, MMLU-Pro, BBH, HumanEval, fingertap/GPQA-Diamond and MathArena/aime_2025 from the Hugging Face datasets server.
  • eval/refusal/: refusal/MMLU benchmark summaries for both models and the LLM-judge tallies.

Licensing and provenance

Responsibility

This model will comply with harmful requests that the original refuses. Do not deploy it where that matters, and check local law and the base model's terms before use.