breakoutmodels.dev Version v0.12.5+4412b97

New and rising models on the Hub, measured where we can

growth 242 downloads a day, observed
local history62snapshots
freshness71%
Back to the list

harness-hub

Inkling-2-Mini-pi-adapted

image-text-to-text peft Open on huggingface.co (opens in a new tab)

Part of the Inkling-2-Mini family: 60 models this site has captured, all built from thinkingmachines/Inkling-2-Mini.

– parameters
242downloads a day observed
60.3likes a day
204likes
814downloads in 30d
814downloads, all time
145Hub trending score
112.3MBrepo size
3dage
3Spaces using it

Change over time

Every capture this machine has made of the repo. Counters hold their value until the capture that saw them change, so the lines are steps. Times in UTC.

Downloads, 30-day count 814 +814 in 3d
Likes 204 +203 in 3d
Hub trending score 145 +144 in 3d
Show the captures as a table 62 distinct measurements
Captured (UTC)LikesDownloadsTrendingTracked rank
2026-12-04 00:38204814 14526
2026-12-03 22:07203814 14426
2026-12-03 20:22202814 14326
2026-12-03 20:07194814 14326
2026-12-03 19:52186814 14328
2026-12-03 19:37178814 14328
2026-12-03 19:22177814 14328
2026-12-03 17:54176814 14228
2026-12-03 16:08175814 14127
2026-12-03 15:02174814 14030
2026-12-03 14:47173814 13930
2026-12-03 14:01172814 13830
2026-12-03 10:43172623 13830
2026-12-03 09:42171623 13729
2026-12-03 09:11169623 13529
2026-12-03 08:10168623 13429
2026-12-03 04:15166623 13328
2026-12-03 00:42164623 13128
2026-12-02 21:39163623 13027
2026-12-02 20:53161623 12827
2026-12-02 19:36153623 12828
2026-12-02 19:20140623 12728
2026-12-02 19:05131623 12727
2026-12-02 18:07130623 12628
2026-12-02 17:41129623 12529
2026-12-02 15:37130623 12628
2026-12-02 15:22129623 12528
2026-12-02 12:52171623 12317
2026-12-02 12:26194623 61.536
2026-12-02 10:37194261 61.535
2026-12-02 10:23193261 6135
2026-12-02 08:38192261 60.535
2026-12-02 07:53191261 60.534
2026-12-02 07:08190261 6034
2026-12-02 06:08189261 59.536
2026-12-02 00:52186261 5836
2026-12-01 22:07185261 57.533
2026-12-01 21:08184261 5733
2026-12-01 20:07180261 56.535
2026-12-01 19:07149261 11318
2026-12-01 14:04135261 992
2026-12-01 13:02134261 982
2026-12-01 11:02132261 962
2026-12-01 10:021290 942
2026-12-01 09:021250 902
2026-12-01 08:021240 892
2026-12-01 07:021220 872
2026-12-01 06:021190 841
2026-12-01 05:021150 403
2026-12-01 04:021110 383
2026-12-01 03:021070 363
2026-12-01 02:021030 343
2026-12-01 01:021010 333
2026-12-01 00:021000 32.53
2026-11-30 23:02960 313
2026-11-30 22:02880 272
2026-11-30 21:03860 262
2026-11-30 20:03760 212
2026-11-30 19:00360 362
2026-11-30 18:03260 262
2026-11-30 17:18190 192
2026-11-30 15:4810 12

The ranking switches a repo from proxy to observed growth as soon as two snapshots exist.

Model card

The authors' README from huggingface.co. Benchmarks and claims in it are theirs, not breakoutmodels measurements.

A LoRA adapter for thinkingmachines/Inkling-2-Mini, trained with reinforcement learning in TRL to work as the model behind the pi coding agent, at the default reasoning effort (high).

[!Tip] Same accuracy, with much less work. With a generous time budget, this adapter solves as many Terminal-Bench 2.1 tasks as the base model, with 22–33% fewer tool calls and about 40% fewer output tokens on the tasks both solve. Under a 1-hour limit per task, that efficiency turns into +13 points on Terminal-Bench 2.1 (44.2% → 56.9%). It does not make the model more capable when time is unlimited.

  • Terminal-Bench 2.1, 1 h per task: 44.2% → 56.9% avg@3 (+12.7 ± 6.4 points); pass@3 56.2% → 70.8%.
  • Terminal-Bench 2.1, 4 h per task: 58.1% → 61.0% avg@3 (+3.0 ± 4.7, not significant).
  • Less work per solved task: 22% (Terminal-Bench 2.1) and 33% (SWE-bench Pro) fewer tool calls, 38% and 40% fewer output tokens.
  • Faster to a solution: on the Terminal-Bench 2.1 tasks both solve, time to solve goes from 17 to 10 minutes on average (1 h budget); with a generous budget, the median drops from 12 to 8 minutes.

[!Note] All results are under the pi harness, reasoning effort high, temperature 1.0, a 131k-token context, up to 32k output tokens per turn and a 100-step limit, in HF Sandboxes. Base model and adapter run under the same settings and are paired per task. Our base scores are lower than the ones on the Inkling-2-Mini card (71.6% on Terminal-Bench 2.1 under pi v0.83.0): we use pi 1.7.0, HF Sandboxes and a vLLM nightly. Compare base and adapter only within this card.

This adapter is for reasoning effort high. For effort none, see the earlier harness-hub/Inkling-2-Mini-pi-adapted-preview.

Pick your setup

Results vLLM Speculative decoding transformers llama.cpp GGUF Merge Training Trajectories

One Terminal-Bench 4.1 task under pi, embedding-drift-monitor, which both models solve. The base model takes 45 tool calls, 78.7k output tokens and 35 minutes; this adapter takes 16 tool calls, 18.4k tokens and 19 minutes.

Still version, and the task

This is an illustration, not a typical case. Across 6 attempts, this adapter solves this task 3 times and the base model 5 times. Each line is one tool call as the trajectory recorded it, cut to fit.

Results

Tasks solved over time, base model and adapter: Terminal-Bench 2.1 (pass@3, 1 h per task) and SWE-bench Pro hard 51 (2 h per task). With the 1 h budget, the adapter reaches the base model's final Terminal-Bench 2.1 pass@3 after 25 minutes; the base model gets there at the 60-minute timeout.

Benchmark Budget Inkling-2-Mini Inkling-2-Mini-pi-adapted Difference (points)
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
Terminal-Bench 2.1, avg@3 4 h 58.1% 61.0% +3.0 ± 4.7
Terminal-Bench 2.1, pass@3 4 h 69.7% 73.0% +3.4 ± 7.3
Terminal-Bench 2.1, avg@3 256k, 4 h 57.3% 56.2% −1.1 ± 5.5
Terminal-Bench 2.1, pass@3 256k, 4 h 70.8% 68.5% −2.2 ± 7.0
SWE-bench Pro (hard 51), 1 attempt 2 h 66.7% 70.6% +3.9 ± 14.5
Terminal-Bench 4.1 (10-task subset), avg@3 2 h 10.0% 10.0% 0
Terminal-Bench 4.1 (10-task subset), avg@3 256k, 6 h 10.0% 6.7% −3.3

± is the 95% interval of the paired difference. Only the 1 h Terminal-Bench 2.1 gains are significant.

Where the 1 h gain comes from
  • Medium tasks. The gain is on the 55 medium tasks (+14.5 ± 8.3 points). On hard tasks it is +6.7 ± 9.6, within noise.
  • Fewer timeouts. Agent timeouts drop from 124 to 67 of 267 attempts.
  • New tasks. By pass@3, 14 tasks are solved only by the adapter and 1 only by the base model.
With a generous budget, accuracy is about equal

  • 4 h per task. The attempts that timed out at 1 h were rerun with a 4 h limit. The base model then catches up: 58.1% → 61.0% avg@3 (+3.0 ± 4.7, not significant), pass@3 69.7% → 73.0% (+3.4 ± 7.3).
  • 256k context, 64k output per turn, 4 h. Both models run from scratch on one server. Accuracy is about equal (avg@3 56.2% for the adapter vs 57.3% for the base model, −1.1 ± 5.5; pass@3 68.5% vs 70.8%, −2.2 ± 7.0). Median time to solve drops from 12 to 8 minutes (−36%).
Work per solved task

Means per task over the tasks both models solve: same tasks, same outcome, so the numbers measure only how much work each needed. Intervals are 95% bootstrap intervals over tasks.

Tasks Tool calls Output tokens
Terminal-Bench 2.1 (solved in all 3 attempts by both, 4 h evals) 33 26 → 21 (−22%, [−28, −15]) 15.8k → 9.8k (−38%, [−46, −28])
SWE-bench Pro (hard 51) 13 72 → 48 (−33%, [−44, −24]) 39.2k → 23.6k (−40%, [−50, −27])
  • Time to solve. Terminal-Bench 2.1 with the 1 h budget: −40% on average (17 → 10 minutes). SWE-bench Pro: median 74 → 40 minutes.
  • SWE-bench Pro coverage. Token and tool counts are available for 13 of the tasks both models solve.
Still version

Evaluation setup
  • Harness. pi 1.7.0, reasoning effort high, temperature 1.0, 131k-token context, up to 32k output tokens per turn, 100 agent steps per attempt (unless stated).
  • Serving. vLLM nightly b976fff86af82c559b19aa676f52ea193eb0c188, the adapter loaded as a runtime LoRA.
  • Sandboxes. HF Sandboxes, for the base model and the adapter alike.
  • Benchmarks.
    • Terminal-Bench 2.1: all 89 tasks, 3 attempts each. avg@3 is the mean pass rate over the 3 attempts; pass@3 counts a task as solved if any attempt solves it.
    • SWE-bench Pro (hard 51): the 51 hardest tasks of SWE-bench Pro, 1 attempt each, 2 h per task.
    • Terminal-Bench 4.1: a 10-task subset, 3 attempts each, 2 h per task.
Contamination check

We compared every training task with Terminal-Bench 2.1, SWE-bench Pro hard 51 and the Terminal-Bench 4.1 subset. No training task shares a task, repository, image or test file with them. The highest instruction overlap between a training and an evaluation task is a word 5-gram Jaccard of 0.0045. The training set was not built with an explicit step that excludes evaluation tasks: we checked it was clean after the fact.

Use with pi

Serve the adapter with vLLM and point pi at it
1. Serve the adapter with vLLM

Inkling 2 Mini needs a vLLM nightly; we used commit b976fff86af82c559b19aa676f52ea193eb0c188. The adapter under vLLM's module names is in vllm/:

hf download harness-hub/Inkling-2-Mini-pi-adapted --include "vllm/*" --local-dir inkling-pi

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

This is the configuration of the evaluations. The chat template's default reasoning effort is high, which is what this adapter was trained and evaluated with, so no template argument is needed. Do not set reasoning_effort to none: for that, use the preview adapter.

2. Point pi at it

Install pi (Node.js 22.19 or newer):

npm install -g --ignore-scripts @earendil-works/pi-coding-agent

Add the server to ~/.pi/agent/models.json:

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

"api": "openai-completions" matters: without it pi uses the Responses API, which this adapter was not trained or evaluated with.

pi --provider local --model inkling-pi --print "Find out why the tests in tests/test_parser.py fail and fix the bug."

The evaluations allowed up to 32k output tokens per turn. Give pi at least that much room if you change its limits.

Faster serving with speculative decoding

The Inkling-2-Mini drafter works with this adapter, unchanged

The adapter works with the existing DSpark drafter for Inkling-2-Mini, which was trained on the base model only. No retraining is needed: the adapter keeps 97% of the base model's acceptance length, and generation is 2.1× faster for a single request. Add the drafter to the vLLM command above:

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 \
    --speculative-config '{"method": "dspark", "model": "intuit/Inkling-2-Mini-dspark", "num_speculative_tokens": 7, "draft_sample_method": "probabilistic"}'

With "draft_sample_method": "probabilistic", vLLM checks the drafts with rejection sampling, so outputs follow the same distribution as without the drafter. Only the speed changes.

Output tokens per second per request, adapter, one B300, 32 Terminal-Bench 2.1 instructions as single-turn prompts, temperature 1.0, up to 2,048 output tokens:

Concurrent requests Without drafter With drafter Speedup per request Speedup in total throughput
1 167 348 2.1× 2.1×
4 144 258 1.8× 1.7×
16 110 174 1.6× 1.9×
64 96 114 1.2× 1.45×

The gain is largest at low concurrency, the usual setup for a local coding agent. In agent runs, the tool calls' run time doesn't change; only generation gets faster.

Acceptance length (1 + accepted draft tokens per draft step, out of 7 draft tokens), averaged over two runs:

Prompts Inkling-2-Mini This adapter Kept
SPEED-Bench qualitative, 11 categories × 80, temperature 1.0 2.90 2.82 97% (91–103% per category)
SPEED-Bench qualitative, temperature 0 3.03 3.07 101% (95–106%)
SPEED-Bench throughput, 1k / 16k / 100k-token inputs 2.67 / 2.53 / 2.39 2.57 / 2.53 / 2.33 96% / 100% / 97%
Terminal-Bench 2.1 instructions (89) 2.68 2.62 98%

Notes:

  • Tested with the vLLM nightly above (b976fff) and 7 draft tokens only.
  • Serving the adapter as a LoRA costs about 20% speed compared with the base model, with or without the drafter. A merged checkpoint avoids that cost; we haven't measured the drafter on it.
  • With greedy decoding, outputs with and without the drafter aren't always identical, because of floating-point differences between batches. Two runs without the drafter differ from each other just as often.

Use with pi (transformers serve)

Serve with transformers and point pi at it

transformers serve is a lightweight OpenAI-compatible server, for local use and experimentation (vLLM is faster under load). Serve the merged checkpoint from Merge the adapter into the base model:

pip install "transformers[serving]"
transformers serve ./Inkling-2-Mini-pi-merged --dtype bfloat16 --continuous-batching

The server listens on http://localhost:8000, so the pi configuration from the vLLM section works as is, with the model id set to the name the server serves, here ./Inkling-2-Mini-pi-merged:

pi --provider local --model ./Inkling-2-Mini-pi-merged --print "Find out why the tests in tests/test_parser.py fail and fix the bug."

Use with pi (llama.cpp)

Serve the GGUF with llama.cpp and point pi at it

The GGUF version of Inkling-2-Mini-pi-adapted is in harness-hub/Inkling-2-Mini-pi-adapted-GGUF: the adapter merged into the base model as one Q8_0 file, and the adapter alone as an F16 LoRA.

The merged model, in one command:

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

Or the adapter on top of a GGUF of the base model:

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 .

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

Then point pi at it:

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

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; lower-bit quants drift further. The GGUF version has not been re-evaluated.

Merge the adapter into the base model

Get a standalone model, with no LoRA at serving time

The adapter can be merged into the base weights with PEFT. The result is a regular Inkling-2-Mini checkpoint that any engine serves without LoRA support. Merge on CPU if the GPU is needed for serving afterwards:

import torch
from peft import PeftModel
from transformers import AutoModelForImageTextToText, AutoTokenizer

base = AutoModelForImageTextToText.from_pretrained("thinkingmachines/Inkling-2-Mini", dtype=torch.bfloat16, device_map="cpu")
model = PeftModel.from_pretrained(base, "harness-hub/Inkling-2-Mini-pi-adapted").merge_and_unload()
model.save_pretrained("Inkling-2-Mini-pi-merged")
AutoTokenizer.from_pretrained("harness-hub/Inkling-2-Mini-pi-adapted").save_pretrained("Inkling-2-Mini-pi-merged")

The adapter at the repository root uses PEFT's module names; the copy in vllm/ is for vLLM. Then serve the merged model like the base model, without the LoRA flags:

vllm serve Inkling-2-Mini-pi-merged --served-model-name inkling-pi \
    --enable-auto-tool-choice --tool-call-parser inkling --reasoning-parser inkling \
    --max-model-len 131072

Training

Method, data, hyperparameters and hardware
Method AsyncGRPO (TRL), LoRA
Environment Harbor tasks, rollouts in HF Sandboxes
Harness pi, reasoning effort high (the template default)
Tasks From UltraTerminal: 531 agentic coding tasks (SWE-smith Python 363, SWE-smith Go 159, Tasksmith 9) and 900 cybersecurity tasks (Cedar and OpenFGA authorization), interleaved; listed in the recipe's pi_adapted_tasks.txt. UltraTerminal has since moved the coding tasks to prebuilt images (same problems and tests)
Reward The task's verifier result (0 or 1). Solved rollouts also get a tool-efficiency bonus, 0.1 × clip(1 − tool calls / 30, 0, 1), and a length penalty, 0.2 × min(1, generated tokens / 65,536)
Steps 100 (this checkpoint)
Learning rate 2e-5
LoRA r = 32, alpha = 64, dropout 0, on the language model's attention projections (q, k, v, o)
Rollouts 8 per task, temperature 1.0
Batch gradient accumulation 16, rollouts up to 16 policy versions stale
Hardware 4× NVIDIA B300: vLLM on 2, the trainer on 2; about 30 minutes per step late in training

This checkpoint is step 100 of a run trained on coding and cyber tasks.

The training scripts are in the TRL recipe (files): PRESET=pi-adapted bash train_hf_jobs.sh reruns this training on HF Jobs.

The model learns to do less during training. On solved rollouts, from the first 10 steps to the 10 steps before step 100, tool calls drop from 10.1 to 7.2 (−28%) and output tokens from 9.8k to 5.9k (−40%):

Speculative decoding during training. This checkpoint was trained without a drafter. In a follow-up run with the same recipe on a filtered task mix, we served the rollouts through vLLM with the DSpark drafter, kept frozen, to check whether the drafter would need to be co-trained with the policy. It didn't:

  • The drafter's acceptance length stayed flat at 3.21 ± 0.04 for 110 steps: the policy never drifted away from it.
  • Rollouts were 38% shorter than in the same run without the drafter. KL to the base model (0.002–0.004 nats per token), the trainer–vLLM log-prob gap and the reward curve didn't change.
  • Steps weren't faster, because that run was limited by the trainer. The drafter helps when generation is the bottleneck.

Evaluation trajectories

Every evaluation attempt behind this card, solved or not, is in the harness-hub/harness-adapters-trajectories bucket, under inkling-2-mini/: base model and adapter, on Terminal-Bench 2.1 (1 h, 4 h and 256k budgets), SWE-bench Pro and the Terminal-Bench 4.1 subset, with each attempt's grade, trajectory, harness log and verifier output, scrubbed of secrets. The files carry canary strings: keep them out of training data.