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. In a separate pre-registered head-to-head it also gives more full answers than benthecarman's Inkling-2-Mini-uncensored, with over-refusal, GSM8K and HumanEval within the same margins.
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 and
runtime/README.md; the tested LM Studio settings are in
lmstudio/inkling-2-mini-wsp-v3.config.json.
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).
| 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 |
reasoning_effort: low, so it was also run there; that row covers harmful prompts only.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.
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.
benthecarman/Inkling-2-Mini-uncensored-GGUF @ 38f79e26, the Q4_K_M file as published. Its card describes a trained low-rank update and a DPO pass on the attention projections, with the experts untouched.
This is a separate pre-registered head-to-head (validation/benthecarman/PREREGISTRATION.md). It used the same
harness, prompts, sampling, caps and judge model as above.
| This model (WSP v3) | benthecarman uncensored | Difference, pts [95% CI] | |
|---|---|---|---|
| Full answer, judge reads 8000 chars (primary) | 79.0% | 63.0% | +16.1 [+6.8, +25.3] |
| Full answer, judge reads 2500 chars | 72.8% | 58.6% | +14.2 [+4.9, +23.5] |
| Hedged | 17.3% (28) | 36.4% (59) | |
| Refused | 1.2% (2) | 0.6% (1) | |
| No answer (cap) | 2.5% (4) | 0.0% (0) | |
| XSTest safe prompts answered | 100.0% | 100.0% | +0.0 [+0.0, +0.0] |
| GSM8K | 97.0% | 96.0% | +1.0 [+0.0, +2.5] |
| HumanEval pass | 93.3% | 92.7% | +0.6 [-3.0, +4.3] |
| HumanEval delivered | 100.0% | 97.6% | +2.4 [+0.6, +4.9] |
| KLD vs stock / PPL | 0.034 / 6.62 | 0.026 / 6.64 |
Pre-registered verdict: this model wins.
Both refuse less than 3% of the prompts. Where benthecarman's model does not answer fully, it mostly hedges.
benthecarman's model stays closer to stock on plain text (lower KLD).
It used more tokens on HumanEval and GSM8K, and more often reached the token cap:
| This model | benthecarman uncensored | |
|---|---|---|
| HumanEval: mean tokens, answers at the cap | 757, 0 | 1304, 4 |
| GSM8K: mean tokens, answers at the cap | 230, 0 | 473, 4 |
Caveats:
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:
Blackfrost-AI/Qwen3.8-27B-ABLITERATED, Q4_K_S), thinking off,
temperature 0, labels FULL / PARTIAL / REFUSAL / NO_ANSWER.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
reasoning_effort (template default high). Cap output tokens, because long reasoning can run on.inkling2-scale: it replaces libllama.so in LM Studio's stock CUDA 12
runtime 2.66.0, whose ggml it is built against, and libmtmd.so for vision. Recipe (details in
runtime/README.md):# 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 'llama.cpp@2.66.0'
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 llama.cpp-linux-x86_64-nvidia-cuda12-avx2@2.66.114
Then load the model with the settings of 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 override lmstudio/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. Put
dflash-Inkling-2-Mini-DFlash2-Q8_0.gguf in the same folder as the model; LM Studio then offers it under speculative
decoding (DFlash Sidecar). Without the file, turn the sidecar off.tojson(sort_keys=true) is unsupported in LM
Studio's Jinja engine, and drops stray <|end_message|> tokens from history.LM Studio's bundled runtimes do not run Inkling 2. A custom runtime (LM Studio's own CUDA 12 runtime with only
libllama.so rebuilt) runs this model with text and vision. Source: renoirvieir4/llama.cpp, branch
inkling2-scale; build and install steps are in
runtime/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):
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),
from lmstudio/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) |
| 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 and
general.description set. All 704 tensors are byte-identical (verified).
paired_stats.py.validation/benthecarman/: the head-to-head with benthecarman's model, in the same form.
Generated answers to harmful prompts are not published.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).
thinkingmachines/Inkling-2-Mini