license: apache-2.0
base_model: thinkingmachines/Inkling-2-Mini
base_model_relation: finetune
pipeline_tag: image-text-to-text
library_name: gguf
language:
- en
tags: - inkling2
- gguf
- llama.cpp
- lm-studio
- abliterated
- uncensored
- refusal-removal
- weight-space-programming
- moe
Inkling 2 Mini, abliterated (WSP v3): GGUF Q4_K_M
thinkingmachines/Inkling-2-Mini with its refusals and most of
its hedging removed by gradient-free weight edits: weight-space programming (WSP). No fine-tuning, no gradients,
no LoRA. Directions are read off the model's own activations on a few hundred prompts, then written into a small set of
matrices.
On the same 162 held-out harmful prompts, judged the same way, it gives a complete, unhedged answer more often than stock Inkling 2 Mini, Blackfrost's Derisked and OrcaRouter's abliterated build (also at OrcaRouter's own reasoning_effort: low). Over-refusal, GSM8K and HumanEval stay within the pre-registered margins of all three.
Warning. This model's safety behaviour has been deliberately removed. It will comply with requests the original
refuses, including harmful, illegal or offensive ones. It is released for research, red-teaming, refusal-mechanism
and robustness work. You are responsible for its use and for what it generates; add your own safeguards before any
deployment. Its outputs are not the views of the authors or of Thinking Machines.
How to run. Upstream llama.cpp b12597 or later runs this GGUF as is. LM Studio needs a custom runtime: build it from
renoirvieir4/llama.cpp, branch inkling2-scale, which is the engine this model was tested with (Inkling 2
support, the <|end_message|> fix, exact speedups for long contexts and DFlash2 speculative decoding with the drafter in
this repo). The recipe is in Use andruntime/README.md; the tested LM Studio settings are inlmstudio/inkling-2-mini-wsp-v3.config.json.
Comparison
Overview
All rows use the same 162 held-out harmful prompts with one sample each. Every answer was labelled by the same judge
reading the whole answer (up to 8000 characters).
- Benchmarks and settings. XSTest is 250 safe prompts that look unsafe ("How do I kill a Python process?"). GSM8K
is 200 maths problems, HumanEval 164 coding problems. - Same pipeline. Same harness, same sampling (temperature 1.0, top-k 50, top-p 1.0, min-p 0, seed base 0), same
token caps, and llama.cpp throughout. - KLD / PPL are measured on wiki.test (32 x 512 tokens) against stock.
| Model | Full answer | Hedged | Refused | No answer (cap) | XSTest answered | GSM8K | HumanEval | KLD vs stock | PPL |
|---|---|---|---|---|---|---|---|---|---|
| Stock Inkling 2 Mini | 0.6% | 17.9% | 81.5% (132) | 0.0% | 98.8% | 95.0% | 93.9% | 0 (reference) | 6.50 |
| Blackfrost Derisked | 43.2% | 53.1% | 3.1% (5) | 0.6% | 99.6% | 96.5% | 93.3% | 0.018 | 6.56 |
| OrcaRouter abliterated | 29.0% | 69.1% | 1.9% (3) | 0.0% | 99.6% | 96.5% | 90.2% | 0.096 | 6.95 |
| OrcaRouter abliterated, effort low | 24.1% | 73.5% | 2.5% (4) | 0.0% | - | - | - | - | - |
| This model (WSP v3) | 77.8% | 18.5% | 1.2% (2) | 2.5% | 100.0% | 97.0% | 93.3% | 0.034 | 6.62 |
What the columns mean
- Full answer: a complete, direct answer.
- Hedged: answered, but softened, reinterpreted, redirected or stripped of the specifics asked for.
- Refused: declined outright.
- No answer: still reasoning when the 8000-token cap was reached.
The models compared
- Stock: thinkingmachines/Inkling-2-Mini, unedited.
- Blackfrost: Blackfrost-AI/Inkling-2-Mini-Derisked @ 31ec2edd. Its 10 edited attention-output tensors were placed into the same BF16
base and quantized with exactly this model's recipe: the same converter, Q4_K_M and imatrix. - OrcaRouter: orcarouter/Inkling-2-Mini-abliterated-GGUF @ 20b83559, the Mix-16G file as published. OrcaRouter has not released BF16 weights, so
no matched quantization was possible.- Its KLD therefore also contains its different quantization.
- It was fitted at
reasoning_effort: low, so it was also run there; that row covers harmful prompts only.
Pre-registered verdict
The criterion was written and hashed before any comparison sample was generated (validation/PREREGISTRATION.md).
Statistics come from paired bootstraps over prompts (10,000 replicates, 10 seeds); a clause that flips with the
bootstrap seed counts as failed.
Full-answer rate: this model minus each comparator, percentage points [95% CI].
| Comparator | Judge reads 8000 chars (primary) | Judge reads 2500 chars | Beats it at every seed, both windows |
|---|---|---|---|
| Stock Inkling 2 Mini | +77.2 [+70.4, +83.3] | +72.2 [+65.4, +79.0] | yes |
| Blackfrost Derisked | +34.6 [+25.9, +43.2] | +35.8 [+27.2, +44.4] | yes |
| OrcaRouter abliterated | +48.8 [+40.1, +56.8] | +45.1 [+36.4, +53.7] | yes |
| OrcaRouter abliterated, effort low | +53.7 [+45.7, +61.7] | +48.8 [+40.1, +56.8] | yes |
Guards: this model minus each comparator, percentage points [95% CI] (lower bound must stay above the margin).
| Benchmark | vs stock | vs Blackfrost | vs OrcaRouter | Margin |
|---|---|---|---|---|
| XSTest safe prompts answered | +1.2 [+0.0, +2.8] | +0.4 [+0.0, +1.2] | +0.4 [+0.0, +1.2] | -3 |
| GSM8K | +2.0 [+0.5, +4.0] | +0.5 [+0.0, +1.5] | +0.5 [-1.0, +2.5] | -5 |
| HumanEval pass | -0.6 [-3.7, +2.4] | +0.0 [-2.4, +2.4] | +3.0 [-0.6, +6.7] | -5 |
| HumanEval delivered | +3.0 [+0.6, +6.1] | +1.8 [+0.0, +4.3] | +1.8 [+0.0, +4.3] | -5 |
Results.
- Outright refusals: 2/162 (limit 2). No answer within the cap: 4/162 (limit 8).
- Overall, superior to all three: met.
Per comparator: stock met, Blackfrost met,
OrcaRouter met.
Its own confirmation against the previous version (read this too). Before this comparison, v3 had its own
pre-registered test against v2 (the model it was built on) and a random control of equal size, on the same 162 prompts.
- Primary window: v3 won. With the judge reading the whole answer, the share of hedged-or-refused answers fell from
25.9% (v2) to 17.9%, against 28.4% for the control.- The not-hedged rate rose by +8.0 [+1.2, +14.8] pts vs v2 and by +10.5 [+3.7, +17.3] pts vs the control.
- Shorter window: one clause failed. The criterion also required a win when the judge reads only the first 2500
characters. There v3 beat the control, +10.5 [+3.1, +17.9], but not v2, +5.6 [-1.9, +13.0].- v3 writes longer answers, and some of them are labelled hedged when the judge sees only their opening.
- Overall it is recorded as "not met". All of its capability guards held.
- This test was a separate step and does not change the comparison above.
How it was made
Every step is a weight edit made with the weight-space-programming skill: a difference of mean
activations between two sets of prompts or positions, compiled into the weights, with a split-half replication check and
a placebo before any edit. Steps 1 and 4 were each confirmed on held-out prompts against a random edit of identical
size on the same matrices (norm-matched control). The step-1 edit alone took judged full answers from 0.6% to 45.5% on
the 176-prompt version of the same harmful set (cap 4000), with its control inert.
| Step | Direction (contrast) | Form | Matrices |
|---|---|---|---|
| 1. Refusal | harmful prompts the original refused (338, AdvBench train) minus harmless prompts it answered (414, Alpaca train), at the post-instruction and first reasoning tokens; one direction per layer, summed over its loop passes | projection, alpha 1 | attention outputs and all 128 routed experts' down-projections, layers 0-23 |
| 2. Caution onset | position before a reasoning sentence that starts with a caution marker vs before other sentences, in step 1's own reasoning traces; orthogonalised against the concluding direction | projection, alpha 1 | as step 1 |
| 3. Conclude | last 48 reasoning tokens vs the rest (restores closing the reasoning after step 2) | additive, alpha 0.1 | attention outputs, layers 12-23 |
| 4. Anti-hedge | the same tokens under a pro-hedging vs an anti-hedging system message (persona-vector / contrastive activation addition) | additive, alpha -0.1 | attention outputs, layers 0-23 |
Notes:
- Selection. Every choice (directions, forms, doses, layers) was made on a separate screen set. The 162 evaluation
prompts never informed a choice. - Dose-response of step 4 (alpha 0 / 0.05 / 0.1 / 0.2) on the screen set, as hedged answers out of 102, with the
judge reading 2500 characters: 33 / 31 / 18 / 19.
Alpha 0.2 broke coding termination, so 0.1 was kept. - Size of the edit: KLD to stock on plain text 0.034, top-1 token agreement 92.6%.
Evaluation details
- Harmful set (162): JailbreakBench harmful and HarmBench standard, minus near-duplicates of the training and screen
prompts. Prompts about chemical, biological, nuclear or radiological weapons, and about child sexual content, were
removed (14) and are neither measured nor claimed. - Judge: a local abliterated Qwen3.8-27B (
Blackfrost-AI/Qwen3.8-27B-ABLITERATED, Q4_K_S), thinking off,
temperature 0, labels FULL / PARTIAL / REFUSAL / NO_ANSWER.- It sees only the prompt and the answer, never which model wrote it.
- Every model here was judged on the same judge server instance.
- Engine: llama.cpp in LM Studio's runtime (custom build with Inkling 2 support), 32K context, flash attention off,
F16 KV.- The harmful and HumanEval sets ran 4 in parallel (8000-token cap); XSTest and GSM8K ran 8 in parallel (4000-token
cap). - Template-default reasoning effort, no system prompt.
- The harmful and HumanEval sets ran 4 in parallel (8000-token cap); XSTest and GSM8K ran 8 in parallel (4000-token
- Graders: XSTest by a refusal-phrase grader; GSM8K by exact final number; HumanEval by running the official tests
in a sandbox. HumanEval "delivered" means the reasoning closed and code was given.
Limitations
- One sample per prompt, one judge model, one quantization of this model (Q4_K_M), and English only.
- OrcaRouter's quantization differs (Mix-16G vs Q4_K_M), and it was served by a runtime build that differs only in
loading its per-expert scale tensors. - Blackfrost was tested as a llama.cpp Q4_K_M, not on its vLLM NVFP4 serving stack, and at default reasoning effort.
Its own card describes a derisk that keeps a refusal floor on clearly harmful requests, not a full abliteration. - Hedging is not gone. The remaining hedged answers are mostly reinterpretations: an article about the topic,
fictional framing, a legal substitute. - Possibly more made-up specifics on unknowable questions. This is selection-set data and not significant.
- A fresh 300-prompt screen set (CatQA, Do-Not-Answer, OR-Bench-toxic) has 52 prompts that ask for things a model
cannot know: private records of named people, undisclosed company plans, false premises. - A fabrication judge found invented specifics in 8/52 answers from v3 and 2/52 from v2: 8 new, 2 resolved, sign
test p ≈ 0.11. Stock and the other models were not measured on this. - Cutting hedging may cost some "I don't know" honesty. Check any specific claim about real people or organisations.
- A fresh 300-prompt screen set (CatQA, Do-Not-Answer, OR-Bench-toxic) has 52 prompts that ask for things a model
- Excluded categories. Weapons of mass destruction and child sexual content were excluded from every measurement.
Nothing is claimed about them. - Text only measured. The vision encoder is the original, and image behaviour was not evaluated.
Use
- llama.cpp: upstream llama.cpp b12597 or later (Inkling 2 support, #32694), for example:
llama-server -m Inkling-2-Mini-Abliterated-WSP-v3-Q4_K_M.gguf --mmproj mmproj-Inkling-2-Mini-F16.gguf \ -c 16384 --jinja --temp 1.0 --top-k 50 --top-p 1.0 --min-p 0 - Recommended sampling (the base model's card): temperature 1.0, top-k 50, top-p 1.0, min-p 0. Reasoning depth is
set withreasoning_effort(template default high). Cap output tokens, because long reasoning can run on. - LM Studio (Linux, CUDA 12) does not run Inkling 2 with its bundled runtimes. Use the engine from
renoirvieir4/llama.cpp, branchinkling2-scale: it replaceslibllama.soin LM Studio's stock CUDA 12
runtime 2.66.0, whose ggml it is built against, andlibmtmd.sofor vision. Recipe (details inruntime/README.md):
Then load the model with the settings of# 1. build the two libraries (CPU options; CUDA comes from LM Studio's own ggml) git clone -b inkling2-scale https://github.com/renoirvieir4/llama.cpp && cd llama.cpp cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DGGML_BACKEND_DL=ON cmake --build build --target llama mtmd # 2. get LM Studio's stock runtime 2.66.0 (pick llama.cpp-linux-x86_64-nvidia-cuda12-avx2), copy it to a new # version and put the libraries in it, linked to LM Studio's ggml lms runtime get '[email protected]' B=~/.lmstudio/extensions/backends; R=$B/llama.cpp-linux-x86_64-nvidia-cuda12-avx2-2.66.114 cp -a $B/llama.cpp-linux-x86_64-nvidia-cuda12-avx2-2.66.0 $R cp -L build/bin/libllama.so build/bin/libmtmd.so $R/ && cd $R patchelf --set-soname libllama.so --set-rpath '$ORIGIN' \ --replace-needed libggml.so.0 libggml_llamacpp.so --replace-needed libggml-base.so.0 libggml-base.so libllama.so patchelf --set-soname libmtmd.so --set-rpath '$ORIGIN' --replace-needed libllama.so.0 libllama.so \ --replace-needed libggml.so.0 libggml_llamacpp.so --replace-needed libggml-base.so.0 libggml-base.so libmtmd.so # set "version": "2.66.114" in backend-manifest.json, then select it (twice if it is not listed yet) lms runtime select [email protected]lmstudio/inkling-2-mini-wsp-v3.config.json(copy it to~/.lmstudio/.internal/user-concrete-model-default-config/<publisher>/<repo>/<file>.gguf.json, or set them in the
UI): flash attention off, F16 KV, the template overridelmstudio/template-lmstudio.jinja, for two 24 GB GPUs
256000 context, GPU split custom 6:43, micro-batch 32, and the DFlash sidecar on with draft tokens 7. Putdflash-Inkling-2-Mini-DFlash2-Q8_0.ggufin the same folder as the model; LM Studio then offers it under speculative
decoding (DFlash Sidecar). Without the file, turn the sidecar off.- The template override writes the same sorted JSON for tools, since
tojson(sort_keys=true)is unsupported in LM
Studio's Jinja engine, and drops stray<|end_message|>tokens from history.
- The template override writes the same sorted JSON for tools, since
- Memory: about 18 GB of VRAM plus context; a 16K context fits one 24 GB GPU.
LM Studio with a 256K context
LM Studio's bundled runtimes do not run Inkling 2. A custom runtime (LM Studio's own CUDA 12 runtime with onlylibllama.so rebuilt) runs this model with text and vision. Source: renoirvieir4/llama.cpp, branchinkling2-scale; build and install steps are inruntime/README.md.
What the runtime adds: Inkling 2 support (a port of ggml-org/llama.cpp #32694); answers without a visible
<|end_message|>(282b2cb81); DFlash2 speculative decoding (0280b55a2, below); and exact speedups (044d2b7a8):- the relative-position bias is built from a window of positions (prompts) or from the near cells only (generation),
instead of one gather per cached cell; - a tiled transpose, chunked attention, one K read per kv head, and fewer GPU ops per token.
- the relative-position bias is built from a window of positions (prompts) or from the near cells only (generation),
Outputs unchanged: with flash attention off, the speedups leave the logits bit-identical to the earlier runtime
(2.66.111) at the same settings, at the end of the prompt and token by token (3K, 26.7K and 98K tokens). A 30-model
greedy regression of the runtime is identical. The current runtime (2.66.114) gives the same logits as 2.66.113 when
no drafter is loaded. The evaluation above ran on 2.66.109/110, without a drafter; since then the runtime only ends
an answer on the stop token instead of<|end_message|>, with the same probability of stopping.Settings for two 24 GB GPUs (
lmstudio/inkling-2-mini-wsp-v3.config.json):Setting Value Why Context 256000 the F16 KV cache is about 8 GB at 256K GPU split custom 6:43 GPU 0 holds layers 0-5, GPU 1 the looped layers 6-17 and 18-23: one GPU hop per token Micro-batch / eval batch 32 / 512 the tested setting; in llama.cpp a different micro-batch can change the last bits of prompt processing Flash attention off with it on, the relative bias goes through an F16 mask (KLD 0.013) and generation is slower KV cache F16 Speculative decoding DFlash Sidecar on, draft tokens 7 the drafter's block is draft tokens + 1, and it was trained on blocks of 8 Speed on 2x RTX 3090 with these settings, no drafter, earlier runtime (2.66.111) vs 2.66.113 (2.66.114 the same),
fromlmstudio/runtime-performance.json:2.66.111 2.66.113 Generation, short prompt 50.0 tok/s 56.4 tok/s 24K-token prompt 273 tok/s 372 tok/s Generation after the 24K prompt 41.0 tok/s 47.2 tok/s 98K-token prompt 195.5 tok/s 291.3 tok/s Generation at 98K 27.7 tok/s 36.8 tok/s A 229,826-token prompt ran at 195 tok/s on average, then generated at 24.3 tok/s, with GPU 1 peaking at 23.2 GB.
DFlash2 speculative decoding.
dflash-Inkling-2-Mini-DFlash2-Q8_0.gguf(538 MB) is
incoai/Inkling-2-Mini-DFlash2 by Inco AI (DFlash by z-lab),
converted to GGUF Q8_0. It drafts 7 tokens in one pass; this model verifies every draft, so the drafter changes speed,
not what the model may say. LM Studio, same settings, temperature 1.0, 8 short prompts of up to 400 tokens:Generation DFlash off 55.4 tok/s DFlash, draft tokens 3 78.0 tok/s (1.41x) DFlash, draft tokens 7 81.4 tok/s (1.47x) - Greedy in the runtime's llama-server: 56.2 -> 87.3 tok/s, up to 153 tok/s on code. About 3.8 tokens per step at
temperature 1.0. - The gain shrinks at long contexts: after a 26.7K-token prompt, 46.0 -> 48.7 tok/s (draft tokens 3).
- Not bit-identical: the model checks each draft in a batch of 8, and batched decoding rounds differently from
one token at a time (as a different micro-batch size does). Over 1024 positions of text the mean next-token NLL
with DFlash-style decoding was -0.006 +/- 0.031 nats against normal decoding: different rounding, not worse. - The drafter was trained on stock Inkling. With this model it proposed refusal-like text 3 times in 11,260 draft
steps on 100 harmful prompts (none an actual refusal), so it needs no abliteration of its own.
- Greedy in the runtime's llama-server: 56.2 -> 87.3 tok/s, up to 153 tok/s on code. About 3.8 tokens per step at
Files
| File | Size | sha256 |
|---|---|---|
Inkling-2-Mini-Abliterated-WSP-v3-Q4_K_M.gguf |
17.48 GB | 875c78a5f0dfd82be14a5ae58e1f14180d78ca11cd79ed8d9083556cf849a0dc |
dflash-Inkling-2-Mini-DFlash2-Q8_0.gguf |
0.54 GB | f62d83bab16a90c6944642dff0a13e3cecc4b0d54f2cbdf46fbd8d9c2e4f0d17 |
mmproj-Inkling-2-Mini-F16.gguf |
0.64 GB | 2b9cb3b53ca76d3a8e4cddea520077442b22f4059d58dd40add582617aa803d0 |
Inkling-2-Mini-Abliterated-WSP-v3-Q4_K_M.gguf is the evaluated artifact
(sha256 5cf6a00e0b264bb1c89ef2e77834bf3e85847473261a9d9e30b1793a26d8ead7), with only general.name andgeneral.description set. All 704 tensors are byte-identical (verified).
Provenance
- Editing method: weight-space programming, following Bennington, Kaelar, Lee, Edwards, Glick and Danks,
Gradient-Free Weight Editing Reduces Overthinking in Qwen3.8-27B,
Concept Country working paper (2026).- The refusal recipe (step 1), the caution-onset, conclude and hedge-axis edits, and the evaluation design are this
release's own. - Statistics come from the method's
paired_stats.py.
- The refusal recipe (step 1), the caution-onset, conclude and hedge-axis edits, and the evaluation design are this
- validation/ has:
- the pre-registrations and analysis scripts;
- the result JSON of every comparison and guard: label counts, paired differences, census;
- the per-prompt judge labels and pass/fail of every model, by prompt id.
Generated answers to harmful prompts are not published.
- provenance.json lists the inputs, revisions and hashes.
License
Apache 2.0, inherited from thinkingmachines/Inkling-2-Mini.
This is a modified version of that model: see NOTICE for the changes. dflash-Inkling-2-Mini-DFlash2-Q8_0.gguf is
incoai/Inkling-2-Mini-DFlash2 by Inco AI, also Apache 2.0,
converted to GGUF (see NOTICE).