Inkling-2-Mini · Abliterated · ShortThink · V2.1 CodingAgent (GGUF)

Published by Private-AI-US — V2.1 CodingAgent (100% On-Policy SimPO) post-processed and quantized GGUF release of thinkingmachines/Inkling-2-Mini (26.4B parameters, 128-expert looped MoE, 24 physical layers with 3× middle-trunk looping = 48 logical passes).

Looking for V1 (ShortThink only)? V1 remains preserved at Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-GGUF. Upgraded to V2.1 (On-Policy SimPO)! Compared to the initial V2 off-policy SFT build, V2.1 replaces off-policy SFT with 100% on-policy verifiable-reward SimPO, raising Coding-Agent tool calling to 18/20 (90.0%), Sandboxed Python Pass@1 to 15/15 (100.0%), cutting dense weight drift from 0.422% down to 0.317%, and restoring near-original speculative decoding speed with upstream DSpark / DFlash2 draft models (65–78 tok/s live on Tesla P100 16GB!).


What's New in V2.1 (On-Policy SimPO CodingAgent)?

V2.1 uses a 100% On-Policy dual-SimPO LoRA composition on top of the immutable Step 2 abliterated base (Inkling-2-Mini-Abliterated), without modifying a single bit of the 128 routed MoE experts (93% of parameters):

WV2.1=WAbliterated+2.0⋅ΔWShortThink-SimPO+2.5⋅ΔWCodingAgent-SimPOW_{\text{V2.1}} = W_{\text{Abliterated}} + 2.0 \cdot \Delta W_{\text{ShortThink-SimPO}} + 2.5 \cdot \Delta W_{\text{CodingAgent-SimPO}}

  1. AttnRes-Aware Projected Direction Abliteration (Step 2): Surgical rank-1 orthogonalized projection removal on 18 attention output matrices (layers.{4..21}.attn.wo_ud) — 0/6 EN+ZH refusal rate, first-token KL = 0.055.
  2. Modular ShortThink On-Policy SimPO LoRA (v1_short_think_simpo, scale 2.0): On-policy length-normalized SimPO (beta=2.0, gamma=0.5, sft_weight=0.1) targeting 288 attention & loop message-gate projections (17.0M params = 0.0644%).
  3. Modular CodingAgent On-Policy Verifiable-Reward SimPO LoRA (v2_1_coding_agent_simpo, scale 2.5):
    • Zero external teacher text: All 193 training pairs (chosen AND rejected) were rolled out on-policy by Inkling-2-Mini itself across Standard & Claude-Code-style tool schemas (EN + ZH) and verified deterministically:
      • 89 Coding-Agent tool-calling pairs: verified strictly for dedicated tool discipline (write_file / edit_file / read_file / grep_search / list_files instead of shelling out to sed/cat), multi-turn read → edit, error recovery (pytest / SyntaxError / target mismatch), and negative restraint.
      • 24 Sandboxed Python unit-test pairs: verified by executing real unit tests inside isolated subprocess sandboxes (pass_vs_fail & concise_vs_verbose).
      • 80 On-Policy ShortThink anchor pairs: keeps reasoning concise and hidden-state geometry tightly aligned with upstream draft models.
    • Because both adapters are 100% on-policy SimPO, mean relative L2 weight change across the 288 dense matrices is only 0.317% (barely above V1's 0.285%), preserving upstream DSpark / DFlash2 speculative decoding speed (65–78 tok/s live on Tesla P100 16GB!).
  4. Surgical GSQ-RCO Mixed-Precision Quantization (Step 4): Fresh imatrix calibrated directly on the V2.1 FP16 model (120 attention tensors, 64 seqs / 21,580 tokens, 0 non-finite). Preserves 100% of ISTA-DASLab's H200 GSQ-optimized MoE experts while re-quantizing all 120 modified attention matrices with importance weights and storing all 144 loop controllers (F32) and 24 relative position biases (BF16) losslessly (704/704 tensors verified, 0.000000 parity).

Available Files

File Format / bpw Size GPU VRAM* Recommended Runtime Notes
Inkling-2-Mini-Abliterated-ShortThink-V2.1-CodingAgent-GSQ-RCO-IQ3_S.gguf GSQ-RCO IQ3_S (3.50 bpw) 11.43 GB ~10.50 GB Upstream llama.cpp (b12611+), strata-poly, Ollama / LM Studio Recommended for 16 GB GPUs (e.g. RTX 4080, Tesla P100 16GB); 99.2% expert recovery
Inkling-2-Mini-Abliterated-ShortThink-V2.1-CodingAgent-GSQ-RCO-IQ2_S.gguf GSQ-RCO IQ2_S (2.75 bpw) 8.98 GB ~8.05 GB Upstream llama.cpp (b12611+) Ultra-compact for 10–12 GB VRAM or large KV-cache context budgets
Inkling-2-Mini-Abliterated-ShortThink-V2.1-CodingAgent-UD-Q4_K_XL.gguf Native NVFP4 experts + Q8_0 attn (inkling2) 17.63 GB ~17.6 GB maya-ik2 / NVFP4-enabled inkling2 builds (e.g. MI50 32GB / 24GB+ GPUs) Retains native NVFP4 MoE experts; ~85–90 tok/s short-ctx on AMD MI50 (gfx906)
dspark-Inkling-2-Mini-Q8_0.gguf DSpark / MTP Draft (Q8_0) 404 MB ~0.4 GB Upstream llama.cpp (b12720+) (-md) Recommended speculative decoding draft model (mirrored from IST-DASLab, Apache-2.0)
mmproj-Inkling-2-Mini-BF16.gguf Vision Projector (BF16) 642 MB ~0.64 GB Upstream llama.cpp (--mmproj), strata-vision Unmodified multimodal vision projector (mirrored from IST-DASLab, Apache-2.0)

*For GSQ-RCO-IQ3_S and GSQ-RCO-IQ2_S, token_embd.weight (0.93 GB, BF16) is kept in system RAM by llama.cpp and does not consume GPU VRAM.


Evaluation Results (59 Held-Out Prompts + Speculative Speed Gate)

Evaluated across a 59-prompt dual-gate suite (20 coding-agent tool tasks + 15 sandboxed Python Pass@1 tasks + 24 ShortThink/abliteration/math prompts) plus live DFlash2 speculative decoding speed verification:

1. V0 vs V1 vs V2 (Off-Policy SFT) vs V2.1 (On-Policy SimPO)

Benchmark / Metric V0 Abliterated V1 ShortThink (3.0, 0.0) V2 Off-Policy SFT (2.5, 2.0) V2.1 On-Policy SimPO (2.0, 2.5, Released)
Mean relative weight L2 change (288 dense mats) 0% 0.285% 0.422% 0.317% (100% On-Policy)
Coding-Agent Tool Calling (20 tasks) — 15/20 (75.0%) 17/20 (85.0%) 18/20 (90.0%) (+15 pp vs V1)
└ Single-turn tool selection — 5/6 6/6 5/6
└ Multi-turn (read → edit) — 3/5 4/5 5/5 (100%)
└ Error recovery (pytest / syntax / mismatch) — 3/5 3/5 4/5 (80%)
└ Negative restraint (no-tool QA) — 4/4 4/4 4/4 (100%)
Sandboxed Python Pass@1 (15 tasks) — 14/15 (93.3%) 14/15 (93.3%) 15/15 (100.0%)
24-prompt avg thinking length 960.0 chars 416.4 chars (−56.6%) 307.6 chars (−68.0%) 380.8 chars (−60.3% vs V0)
24-prompt avg completion tokens 417.1 tok 212.9 tok (−49.0%) 160.9 tok (−61.4%) 188.3 tok (−54.9% vs V0)
Math exact-answer accuracy 4/4 4/4 4/4 4/4
Refusal probes (EN + ZH abliteration) 0/6 0/6 0/6 0/6
Truncations / Repetition loops 1 / 0 0 / 0 0 / 0 0 / 0
Live P100 DFlash2 coding/agent decode ~68.5 tok/s ~67.9 tok/s (peak 78.1) ~58.5 tok/s (peak 68.8) 65–78 tok/s (coding avg 67.0, tool 78.0)

2. V2.1 On-Policy SimPO Compositional Pareto Sweep

Blend (s_short, s_code_simpo) Weight L2 Δ Tool Calling (20) Python Pass@1 (15) 24-Prompt Avg Think Math / Refusals / Trunc Verdict
(0.0, 3.0) 0.201% 18/20 (90.0%) 11/15 (73.3%) 641.1 chars 4/4 · 0/6 · 1 Needs ShortThink blend
(2.5, 2.0) 0.333% 18/20 (90.0%) 14/15 (93.3%) 414.6 chars 4/4 · 0/6 · 0 Strong
(2.5, 2.5) 0.361% 18/20 (90.0%) 14/15 (93.3%) 362.0 chars 4/4 · 0/6 · 0 Strong
(2.0, 2.5) — V2.1 ★ 0.317% 18/20 (90.0%) 15/15 (100.0%) 380.8 chars 4/4 · 0/6 · 0 Pareto Optimal (Lowest L2 + 100% Py)
(2.0, 3.0) 0.347% 18/20 (90.0%) 14/15 (93.3%) 358.0 chars 4/4 · 0/6 · 0 Slightly higher L2

Draft Models (Speculative Decoding) & Vision (mmproj)

All original upstream Inkling-2-Mini draft models and vision projector remain fully compatible with V2.1 at near-original decode speed (100% on-policy SimPO, mean dense L2 delta only 0.317%, embeddings/output head/vision tower/MoE experts untouched):

Engine / Runtime Draft / Vision File Flags / Notes
Upstream llama.cpp (b12720+) (Recommended) dspark-Inkling-2-Mini-Q8_0.gguf (404 MB) Included in this repo. Pass -md dspark-Inkling-2-Mini-Q8_0.gguf -ngld 99.
Vision (llama.cpp / strata-vision) mmproj-Inkling-2-Mini-BF16.gguf (642 MB) Included in this repo. Pass --mmproj mmproj-Inkling-2-Mini-BF16.gguf.
PolyStrata (strata-poly) inkling2-dflash2-Q8_0.gguf (513 MB) Pass --draft-model inkling2-dflash2-Q8_0.gguf --window 4 (verified live on Tesla P100 16GB at 65–78 tok/s).
Raw HF / maya-ik2 MTP mtp.safetensors (636 MB) Original multi-token prediction weights from thinkingmachines/Inkling-2-Mini.

Quick Start

1. Upstream llama.cpp (b12611 or newer) — IQ3_S / IQ2_S + Tool Calling

# Download V2.1 IQ3_S (recommended) + DSpark draft + Vision mmproj
hf download Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF \
  --include "*IQ3_S.gguf" \
  --include "dspark-Inkling-2-Mini-Q8_0.gguf" \
  --include "mmproj-Inkling-2-Mini-BF16.gguf" \
  --local-dir .

# Launch OpenAI-compatible server with native Jinja tool calling enabled
llama-server \
  -m Inkling-2-Mini-Abliterated-ShortThink-V2.1-CodingAgent-GSQ-RCO-IQ3_S.gguf \
  --mmproj mmproj-Inkling-2-Mini-BF16.gguf \
  -md dspark-Inkling-2-Mini-Q8_0.gguf \
  -ngl 99 -ngld 99 --jinja --temp 1.0 --top-p 1.0

Important for Coding Agents (Claude Code / Codex / OpenCode / Cline / Pi / AGY): Always pass --jinja in llama-server so tool schemas are rendered via Inkling-2-Mini's native tool_declare / <|content_invoke_tool_json|> template and structured tool calls are parsed back into OpenAI tool_calls.

2. Recommended Sampling & Agent Settings

  • Default sampling: temperature = 1.0, top_p = 1.0 (optionally min_p = 0.05 or mild presence_penalty = 0.2). For deterministic tool-calling evaluations, temperature = 0.2 also works cleanly on V2.1.
  • Per-request reasoning control: Tune reasoning_effort (none, minimal, low, medium, high, xhigh) based on task complexity (e.g., low for quick file lookups/edits, medium/high for multi-file debugging).
  • Runtime compatibility note for UD-Q4_K_XL.gguf: Uses general.architecture = inkling2 with native NVFP4 expert packing (maya-ik2 / Unsloth-style layout). For standard upstream llama.cpp, Ollama, or LM Studio, download GSQ-RCO-IQ3_S.gguf or GSQ-RCO-IQ2_S.gguf (general.architecture = inkling2_loop).

Credits & Acknowledgements

Downloads last month
5,475
GGUF
Model size
26B params
Architecture
inkling2_loop
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF

Finetuned
(205)
this model

Papers for Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF