harness-hub/Inkling-2-Mini-pi-adapted-preview

The Inkling-2-Mini LoRA adapter released by harness-hub (uploaded on 11 27) was trained using TRL's AsyncGRPO reinforcement learning, aiming to make the model more efficient when working within the pi coding agent with reasoning effort set to none. Training used 1,050 Harbor tasks (scale800 bug fixes, TermGrade terminal tasks), executed via OpenEnv in HF Sandboxes, with the training recipe publicly available in trl-lib/trl-recipes. A previous version in this series was the pi-adapted Qwen3.8-27B.

The Inkling-2-Mini LoRA adapter released by harness-hub (uploaded on 11 27) was trained using TRL's AsyncGRPO reinforcement learning, aiming to make the model more efficient when working within the pi coding agent with reasoning effort set to none. Training used 1,050 Harbor tasks (scale800 bug fixes, TermGrade terminal tasks), executed via OpenEnv in HF Sandboxes, with the training recipe publicly available in trl-lib/trl-recipes. A previous version in this series was the pi-adapted Qwen3.8-27B.

Why it matters The authors claim accuracy remained flat or slightly improved, but for the same solved problems, both tool calls and generated tokens decreased significantly, making local coding agents faster and more compute-efficient.

Upvotes 32 · Likes 32 · Downloads 151

Reasons

  • The authors claim Terminal-Bench 2.1 (87 problems) improved from 54.0% to 56.3%, and SWE-bench Pro hard problems 51 improved from 70.6% to 74.5%, but the authors themselves note that the accuracy improvements are within the margin of error (±7.8, ±10.9)
  • The authors claim that for problems solved by both versions, tool calls decreased by 27% and 39%, and generated tokens decreased by 37% and 47%, which exceeds the margin of error
  • LoRA rank 32, trained for 200 steps on two B300 GPUs; includes module name versions for vLLM, with a separate GGUF repository for llama.cpp

Usage

  • Using vLLM (Inkling 2 Mini requires nightly builds; the author used commit b976fff): download the vllm/ directory from this repository via hf download, run vllm serve thinkingmachines/Inkling-2-Mini --enable-lora --max-lora-rank 32 --lora-modules inkling-pi=./inkling-pi/vllm, and enable --tool-call-parser inkling and --reasoning-parser inkling, setting reasoning_effort to none
  • Add a local provider with baseUrl http://localhost:8000/v1 in ~/.pi/agent/models.json, ensuring the api is set to openai-completions (as it was not trained with the Responses API), then run pi --provider local --model inkling-pi

Risks

  • Trained and evaluated only within pi with reasoning effort set to none; performance with other agent frameworks or reasoning efforts is unknown; the evaluation set is small, and results are self-reported by the authors
  • Marked as preview; requires vLLM nightly and a GPU capable of running the base Inkling-2-Mini model; this entry has not been run

Open

Hugging Face Trending

Explore the latest AI Radar updates