Inkling 2 Mini pi-adapted, GGUF (2 to 6 bit)

harness-hub/Inkling-2-Mini-pi-adapted (revision 14b5b5a) is a LoRA adapter for thinkingmachines/Inkling-2-Mini, trained by Harness Hub with reinforcement learning (TRL's AsyncGRPO) to drive the pi coding agent at reasoning effort high. It solves more agentic coding tasks and gets there with about 40% fewer output tokens and a third fewer tool calls.

Harness Hub publishes the merged model as Q8_0 (27.8 GB). These are smaller builds of that merged model for llama.cpp, from about 10 GB, made with our own importance matrix (computed on the merged model) and per-tensor types that follow Unsloth's UD recipes for Inkling 2 Mini. For each size we built both the UD-style mix and a standard llama.cpp quant with the same importance matrix, and kept the one that stays closer to the Q8_0 (the mix needed lower KLD at about the same size).

File Size KLD vs Q8_0 Same top token Recipe
Inkling-2-Mini-pi-adapted-Q2_K_XL.gguf 10.28 GB 0.0610 89.0% UD-style mix, 34% lower KLD than standard Q2_K
Inkling-2-Mini-pi-adapted-IQ3_XXS.gguf 11.66 GB 0.0299 92.2% UD-style mix, 45% lower KLD than standard IQ3_XXS
Inkling-2-Mini-pi-adapted-Q3_K_XL.gguf 13.63 GB 0.0160 94.1% UD-style mix, 44% lower KLD than standard Q3_K_M
Inkling-2-Mini-pi-adapted-Q4_K_XL.gguf 17.63 GB 0.0079 95.8% UD-style mix, 38% lower KLD than standard Q4_K_M
Inkling-2-Mini-pi-adapted-Q5_K_M.gguf 19.91 GB 0.0059 96.5% standard Q5_K_M + our imatrix
Inkling-2-Mini-pi-adapted-Q6_K.gguf 23.49 GB 0.0037 97.1% standard Q6_K + our imatrix

KLD and same-top token: llama-perplexity against the merged Q8_0 on held-out text (512-token chunks). mmproj-Inkling-2-Mini-Q8_0.gguf is the vision projector (ggml-org's, unchanged), and Inkling-2-Mini-pi-adapted.imatrix.gguf is the importance matrix.

Harness Hub's results

From the adapter's card (bf16 + adapter in vLLM):

Benchmark (Harness Hub's figures: pi 1.7.0, reasoning high, vLLM, adapter vs base, paired) Inkling 2 Mini pi-adapted Difference
Terminal-Bench 2.1, avg@3, 1 h 44.2% 56.9% +12.7 ยฑ 6.4
Terminal-Bench 2.1, pass@3, 1 h 56.2% 70.8% +14.6 ยฑ 8.0
SWE-bench Pro (hard 51), 1 attempt, 2 h 66.7% 70.6% +3.9 ยฑ 14.5
Output tokens on tasks both solve, Terminal-Bench 2.1 15.8k 9.8k โˆ’38%
Output tokens on tasks both solve, SWE-bench Pro 39.2k 23.6k โˆ’40%
Tool calls on tasks both solve, SWE-bench Pro 72 48 โˆ’33%

Use

Needs a recent llama.cpp with Inkling 2 Mini support.

llama-server -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL -c 131072 --jinja --alias inkling-pi --port 8000

--jinja is needed for tool calls. Add --mmproj mmproj-Inkling-2-Mini-Q8_0.gguf (with -m and a local file) for image input.

Use with pi

Start the server, then point pi at it with the OpenAI chat-completions API (the adapter was trained and evaluated with openai-completions, not the Responses API). Keep the default reasoning effort high; the adapter was not trained for none.

{
  "providers": {
    "local": {
      "baseUrl": "http://localhost:8000/v1",
      "api": "openai-completions",
      "models": [{ "id": "inkling-pi" }]
    }
  }
}

MLX builds

For Apple Silicon with MLX: Inkling-2-Mini-pi-adapted-MLX-4-8bit ยท Inkling-2-Mini-pi-adapted-LayerFit-MLX-4bit ยท Inkling-2-Mini-pi-adapted-LayerFit-MLX-3bit ยท Inkling-2-Mini-pi-adapted-LayerFit-MLX-2.5bit ยท Inkling-2-Mini-pi-adapted-LayerFit-MLX-2bit

License and credits

Apache-2.0, as Inkling 2 Mini and the adapter; use is also governed by Thinking Machines' Model Acceptable Use Policy. Inkling 2 Mini is by Thinking Machines Lab, the pi adapter and the merged Q8_0 by Harness Hub; the per-tensor type choices follow Unsloth's UD builds. Please cite their work.

Published by NetProjects (Internet Projects Ltd). Not affiliated with Thinking Machines, Hugging Face or Unsloth.

More builds from NetProjects: huggingface.co/netprojects ยท netprojects.com

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

2-bit

3-bit

4-bit

5-bit

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for netprojects/Inkling-2-Mini-pi-adapted-GGUF

Collection including netprojects/Inkling-2-Mini-pi-adapted-GGUF