Inkling-2-Mini · pi (LoRA, GGUF)

The GGUF version of harness-hub/Inkling-2-Mini-pi-adapted, a LoRA adapter trained with reinforcement learning inside pi, on thinkingmachines/Inkling-2-Mini, for llama.cpp.

  • Terminal-Bench 2.1, 1 h per task: 56.2% → 70.8% pass@3; it reaches the base model's final score after 25 minutes instead of 60.
  • SWE-bench Pro (hard 51), 2 h per task: 66.7% → 70.6%; it reaches the base model's final score after 60 minutes instead of 116.
  • Less work per solved task: 22% (Terminal-Bench 2.1) and 33% (SWE-bench Pro) fewer tool calls, 38% and 40% fewer output tokens.

The same accuracy for much less work. With a generous budget, the adapter solves about as many tasks as the base model, with a quarter to a third fewer tool calls and about 40% fewer tokens. Locally, where every generated token is time, that is the difference that counts.

These scores come from the adapter served by vLLM, under the pi harness (reasoning effort high, temperature 1.0, 131k context, 32k output tokens per turn). These GGUF files have not been re-evaluated through llama.cpp, and a quantized base will move the results further. They are not comparable with the scores on the Inkling-2-Mini card, which uses another setup.

The original adapter card describes the training and the evaluation.

Run the merged Q8_0

Inkling-2-Mini-pi-adapted-Q8_0.gguf (about 28 GB) contains the pi adapter merged into the BF16 base before quantization. This command downloads and serves it at the default reasoning effort (high), the one the adapter was trained with:

llama serve -hf harness-hub/Inkling-2-Mini-pi-adapted-GGUF:Q8_0 -c 131072 --alias inkling-pi

Run with the separate adapter

Inkling-2-Mini-pi-adapted-lora-F16.gguf is the adapter only (about 27 MB). It runs on top of the base model's GGUF.

1. Download the base model and the adapter

hf download ggml-org/Inkling-2-Mini-GGUF Inkling-2-Mini-Q8_0.gguf --local-dir .
hf download harness-hub/Inkling-2-Mini-pi-adapted-GGUF Inkling-2-Mini-pi-adapted-lora-F16.gguf --local-dir .

The adapter was trained on the base model's own weights. The closer the base GGUF is to them, the closer you get to the trained behavior. Q8_0 is a good default; IQ4_NL and NVFP4 are smaller, but drift further from what the adapter learned against.

2. Serve

llama serve -m Inkling-2-Mini-Q8_0.gguf --lora Inkling-2-Mini-pi-adapted-lora-F16.gguf \
    -c 131072 --alias inkling-pi

Keep the default reasoning effort (high): the adapter was trained and evaluated with it. For reasoning effort none, use the preview adapter.

Point pi at the server

pi install git:github.com/huggingface/pi-llama
pi --model llama-cpp/inkling-pi

Conversion

The adapter, from its copy under the base checkpoint's module names (vllm/ in the adapter repo), with llama.cpp's convert_lora_to_gguf.py at commit 33aeb17f85869279e3821f746bc645357139bc2c, at F16:

python llama.cpp/convert_lora_to_gguf.py <adapter's vllm/ dir> --base <thinkingmachines/Inkling-2-Mini dir> --outtype f16

The merged Q8_0: llama-export-lora merges the F16 adapter into ggml-org/Inkling-2-Mini-GGUF's BF16 file, then llama-quantize quantizes the result to Q8_0, at the same commit.

Downloads last month
13,343
GGUF
Model size
13.4M params
Architecture
inkling2_loop
Hardware compatibility
Log In to add your hardware

8-bit

16-bit

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

Model tree for harness-hub/Inkling-2-Mini-pi-adapted-GGUF

Collections including harness-hub/Inkling-2-Mini-pi-adapted-GGUF