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

A LoRA adapter uploaded by harness-hub on 11 30 (Apache-2.0): Reinforcement learning was performed using TRL's AsyncGRPO on Thinking Machines' Inkling-2-Mini to serve as the model behind the pi coding agent (reasoning intensity: high). Tasks were drawn from UltraTerminal's 531 agentic coding tasks and 900 cybersecurity authorization tasks; rewards are based on whether task validation passes, with bonuses for using fewer tools upon solution and penalties for overly long outputs. The LoRA r=32 trains only attention projections; this checkpoint was trained for 100 steps using 4 B300 GPUs.

A LoRA adapter uploaded by harness-hub on 11 30 (Apache-2.0): Reinforcement learning was performed using TRL's AsyncGRPO on Thinking Machines' Inkling-2-Mini to serve as the model behind the pi coding agent (reasoning intensity: high). Tasks were drawn from UltraTerminal's 531 agentic coding tasks and 900 cybersecurity authorization tasks; rewards are based on whether task validation passes, with bonuses for using fewer tools upon solution and penalties for overly long outputs. The LoRA r=32 trains only attention projections; this checkpoint was trained for 100 steps using 4 B300 GPUs.

Why it matters The authors report a significant increase in pass rates for time-limited tasks, along with reduced tool calls and output tokens. The training recipe and all evaluation trajectories are public, allowing for reproduction.

Upvotes 133 · Likes 166 · Downloads 623

Reasons

  • Authors report (pi framework, paired per-question under identical conditions): On Terminal-Bench 2.1, with a time limit of 1 hours per question, avg@3 increased from 44.2% to 56.9%, and pass@3 increased from 56.2% to 70.8%; relaxing the limit to 4 hours results in a difference of only 3 points, which is not significant—the authors explicitly state it does not make the model stronger when time is unlimited.
  • On tasks solved by both models: Tool calls decreased by 22% (Terminal-Bench 2.1) and 33% (SWE-bench Pro hard tasks, 51 questions), and output tokens decreased by 38% and 40%; under a 1-hour budget, average solve time dropped from 17 minutes to 10 minutes.
  • The base model's DSpark draft model requires no retraining, retaining an acceptance length of 97%, with single-request generation being 2.1 times faster; training scripts are available in TRL recipes and can be rerun on HF Jobs. All evaluation trajectories (including unsolved ones) are public.

Usage

  • vLLM nightly (authors used b976fff): Run hf download harness-hub/Inkling-2-Mini-pi-adapted --include "vllm/*" --local-dir inkling-pi, then run vllm serve thinkingmachines/Inkling-2-Mini --enable-lora --max-lora-rank 32 --lora-modules inkling-pi=./inkling-pi/vllm --enable-auto-tool-choice --tool-call-parser inkling --reasoning-parser inkling --max-model-len 131072
  • pi: Run npm install -g --ignore-scripts @earendil-works/pi-coding-agent, add a local provider in ~/.pi/agent/models.json; the "api" field must be set to "openai-completions". Locally, you can also use the Q8_0 merged version from the GGUF repository or an F16 LoRA with llama.cpp.

Risks

  • Trained and evaluated only for the pi framework and high reasoning intensity; effectiveness on other agent frameworks is unknown. The "none" setting requires a different preview adapter. The base model scores measured by the authors are lower than those on the official Inkling-2-Mini card (71.6%), so comparisons can only be made within this card.
  • Significant improvements appear only on Terminal-Bench 2.1 with a 1-hour limit. On SWE-bench Pro's 51 questions, the +3.9 point improvement has an error margin of ±14.5. The model card contains several TODOs (transformers usage untested), and the GGUF version has not been re-evaluated. Coding agents execute commands, so running them in a sandbox is recommended. This entry has not been run.

Open

Hugging Face Trending

Explore the latest AI Radar updates