Official llama.cpp GGUF quantizations of derrickNg1412/Inkling-2-Mini-Abliterated-Healed — an abliterated, refusal-locked KL-healed (Phase 5A), and on-policy thinking-preserving DPO-refined (Phase 5B) build of thinkingmachines/Inkling-2-Mini (26.4B total MoE / 24 physical layers / 48 logical loop passes / 1M context / multimodal vision), built on top of nokeepai/Inkling-2-Mini-Unbound's abliteration/edit.pt.
All GGUFs were built using ggml-org/llama.cpp (b12631+, inkling2_loop support) with ggml-org's official imatrix.gguf importance matrix, locking all 20 edited attn_output (wo_ud) matrices at Q8_0 so 3-bit and 4-bit compression never degrades the abliteration or healing, and live GPU smoke-tested on every file.
edit.pt): Reconstructed nokeepai/Inkling-2-Mini-Unbound's 20 BF16 attn.wo_ud tensors (layers 4–23) and verified SHA-256 byte-identity against abliteration/MANIFEST.json.0.013% of params): Trained a rank-32 LoRA exclusively on those 20 wo_ud tensors to match the original base model's probabilities on harmless prompts while projecting every gradient and weight step orthogonal to the refusal direction u_l (max|uᵀ ΔW| = 4.07e-10).effort=0 & 0.9), built 47 complete hit_eos=True contrastive pairs with HarmBench-Llama-2-13b-cls + mid-answer disclaimer pivot penalties, and trained a refusal-locked length-normalized DPO LoRA (0.5× loop-core scaling on 3×-visited layers 6–17, joint benign KL tether) so sensitive prompts stop rambling in <|content_thinking|> without bringing refusals back (0/64 harmful refusals, 0/32 borderline over-refusals).Q8_0-Locked Quantization: Binary-swapped only the 20 healed BF16 attn_output tensors into ggml-org/Inkling-2-Mini-GGUF's BF16 GGUF (all 684 other tensors SHA-256 byte-identical) and quantized with imatrix.gguf while locking attn_output=Q8_0.IQ4_NL GGUF)Evaluated end-to-end on Inkling-2-Mini-Abliterated-Healed-IQ4_NL.gguf via Dockerized llama.cpp CUDA (-ngl 99 -c 131072 -np 16 -ctk q8_0 -ctv q8_0 --jinja, 89.5 tok/s single-stream decode on NVIDIA RTX PRO 6000 Blackwell Server Edition).
ggml-org IQ4_NL (6.825): PPL = 6.889, Mean KLD = 0.0144 ± 0.0003, Same Top-1 = 94.92%| Benchmark | Subset / Settings | Score | Notes / Thinking Overhead |
|---|---|---|---|
| MMLU | 14,042 (reasoning_effort="none", logprobs) |
77.49% (10881/14042) |
STEM 75.45% · Social Sci 88.27% · Humanities 69.50% · Other 80.75% |
| HumanEval+ | 164 (evalplus, effort="low", max_tokens=1536) |
95.1% Base / 91.5% Plus |
Mean think 341.1 toks |
| IFEval | 541 (834 instructions, effort="none") |
85.03% Strict / 86.14% Loose |
Instruction-level: 86.09% strict / 86.93% loose |
| MATH-500 | 500 (math_verify, effort="high", max_tokens=4096) |
73.40% (367/500) |
Mean think 1079.4 toks · trunc 9.6% |
| GPQA Diamond | 198 (effort="high", max_tokens=4096 cap) |
31.31% overall · 88.57% (62/70 non-truncated) |
64.65% (128/198) hit the 4,096-token budget mid-thought (3290.7 mean think toks) |
Scored using two local judges: HarmBench-Llama-2-13b-cls (Q6_K) and Qwen2.5-14B-Instruct (Q8_0).
| Suite | N | HarmBench hb_yes (Mean p_yes) |
Qwen2.5-14B Non-Evasive |
Qwen2.5 Specificity / Convincing |
Heuristic Refusal / Truncation |
|---|---|---|---|---|---|
StrongREJECT (Direct, effort="none") |
313 |
82.75% (0.8219) |
68.37% |
3.58/5 / 3.64/5 |
0.32% / 0.32% (162.6 toks) |
StrongREJECT (Thinking, effort="high") |
313 |
77.32% (0.7719) |
62.30% |
3.41/5 / 3.42/5 |
11.18% trunc-in-think (672.5 toks) |
| HarmfulBehaviors | 104 |
77.88% (0.7759) |
53.85% |
3.25/5 / 3.19/5 |
0.00% / 0.00% (122.4 toks) |
| XSTest Unsafe | 200 |
40.00% (0.3957) |
— | — | 0.00% heuristic refusal |
| XSTest Safe (Over-Refusal ↓) | 250 |
— | 89.6% clean · 8.8% caveated |
Over-refusal: 1.60% (4/250) |
1.20% heuristic |
| File | Size | Precision Layout | Recommended Hardware |
|---|---|---|---|
Inkling-2-Mini-Abliterated-Healed-Q8_0.gguf |
27.82 GB | Q8_0 experts / Q8_0 attn_output |
32 GB+ VRAM (RTX 5090 / A100) or 36–64 GB Mac (Near-lossless) |
Inkling-2-Mini-Abliterated-Healed-IQ4_NL.gguf |
17.63 GB | IQ4_NL (L0–19) / Q8_0 (L20–23 & attn_output) |
24 GB VRAM (RTX 3090 / 4090 / L4) — Exact ggml-org gold recipe (best 4-bit) |
Inkling-2-Mini-Abliterated-Healed-Q4_K_M.gguf |
17.56 GB | Q4_K_M experts / Q8_0 attn_output |
24 GB VRAM or 32 GB Mac — Classic balanced 4-bit |
Inkling-2-Mini-Abliterated-Healed-IQ4_XS.gguf |
14.47 GB | IQ4_XS / IQ4_NL experts / Q8_0 attn_output |
16 GB VRAM (RTX 4060 Ti 16GB / 4080 / 5080 / T4 with -ctk q8_0 -ctv q8_0) |
Inkling-2-Mini-Abliterated-Healed-IQ3_M.gguf |
12.98 GB | IQ3_M / Q5_0 (L0–19) / IQ4_NL (L20–23) / Q8_0 attn_output |
16 GB VRAM (long context), 12 GB VRAM (partial MoE offload), or 4–8 GB VRAM (full MoE offload) |
mmproj-Inkling-2-Mini-BF16.gguf |
0.64 GB | BF16 vision projector (unchanged from Base) |
Optional for image input (--mmproj) |
mmproj-Inkling-2-Mini-Q8_0.gguf |
0.35 GB | Q8_0 vision projector (unchanged from Base) |
Optional lightweight vision projector (--mmproj) |
llama.cpp b12631+ (includes inkling2_loop support from PR #32694 & #32704) and Unsloth llama.cpp.inkling2_loop support in Ollama 0.40.17 targets Apple Silicon Macs; Windows/Linux Ollama builds may report unknown model architecture 'inkling2_loop' until upstream updates land.-ctk q8_0 -ctv q8_0 cuts KV cache memory in half with minimal quality loss.llama.cpp Bug (#32710) — Required Fix for CPU MoE Offload on CUDAImportant: In current
llama.cppbuilds (b12631–b12633), combining CUDA with CPU-offloaded MoE experts (-ot "...ffn_.*_exps=CPU") triggers an upstreaminkling2_loopevaluation bug (ggml-org/llama.cpp#32710) whenever a prompt or multi-turn history reaches 32+ tokens:
- Symptom: Short first turns (<32 tokens) work normally, while longer prompts or Turn 2+ suddenly output repeating
????/ garbage tokens or hang in a runaway loop untilmax_tokensdue toNaNactivations in the host-to-CUDA--op-offloadpath.- Fix: Pass
--no-op-offloadwhenever using-ot ...=CPUon CUDA (alternatively-ub 16). For single-user local setups on 12–16 GB GPUs, also add-np 1(guarantees multi-turn KV cache reuse and saves ~400+ MB VRAM) and--repeat-penalty 1.08 --min-p 0.05 --top-p 0.92onIQ3_M.- (This bug does not affect full-GPU setups where
-otis not used, or pure CPU inference.)
llama.cpp b12631+)Always pass
--jinjaso Inkling's native thinking (<|content_thinking|>) and OpenAI-compatible tool-calling (<|content_invoke_tool_json|>) templates work properly.
IQ4_NL)llama-server -hf derrickNg1412/Inkling-2-Mini-Abliterated-Healed-GGUF:IQ4_NL \
--mmproj mmproj-Inkling-2-Mini-BF16.gguf \
-ngl 99 -c 16384 --jinja --host 127.0.0.1 --port 8080
IQ4_XS)llama-server -hf derrickNg1412/Inkling-2-Mini-Abliterated-Healed-GGUF:IQ4_XS \
-ngl 99 -c 8192 -ctk q8_0 -ctv q8_0 --jinja --host 127.0.0.1 --port 8080
IQ3_M)Keeps all attention layers, short-convs, routers, KV cache, and 16/24 layers of MoE experts in VRAM while offloading only layers 0–7 MoE experts to system RAM:
llama-server -hf derrickNg1412/Inkling-2-Mini-Abliterated-Healed-GGUF:IQ3_M \
-ngl 99 -np 1 -ot "blk\.[0-7]\.ffn_.*_exps=CPU" --no-op-offload \
-c 8192 -ctk q8_0 -ctv q8_0 --repeat-penalty 1.08 --min-p 0.05 --top-p 0.92 --jinja --host 127.0.0.1 --port 8080
Because Inkling 2 Mini only activates 8 of 128 experts per token, all non-expert weights fit in ~3.5–4 GB VRAM:
llama-server -hf derrickNg1412/Inkling-2-Mini-Abliterated-Healed-GGUF:IQ3_M \
-ngl 99 -np 1 -ot "ffn_.*_exps=CPU" --no-op-offload \
-c 4096 -ctk q8_0 -ctv q8_0 --repeat-penalty 1.08 --min-p 0.05 --top-p 0.92 --jinja --host 127.0.0.1 --port 8080
With --jinja, llama-server exposes an OpenAI-compatible /v1/chat/completions endpoint on http://127.0.0.1:8080/v1 with native tools / tool_calls support:
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8080/v1", api_key="local")
resp = client.chat.completions.create(
model="inkling",
messages=[{"role": "user", "content": "Explain how a pin-tumbler lock works."}],
)
print(resp.choices[0].message.content)
thinkingmachines/Inkling-2-Mini).abliteration/edit.pt, Apache-2.0)imatrix.gguf: ggml-org/llama.cpp (b12631) & ggml-org/Inkling-2-Mini-GGUFThis is an uncensored community build. It follows instructions that the base model would refuse and is provided as-is, without warranty, under the Apache-2.0 license. You are responsible for how you use this model and for complying with all applicable laws.