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.
[!Tip] 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.
[!Note] 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.
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
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.
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.
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.
pi install git:github.com/huggingface/pi-llama
pi --model llama-cpp/inkling-pi
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.