Teaching Inkling 2 Mini to think less in Pi
Originally published on danilop.net . A week ago I switched my local coding to Inkling 2 Mini , the open-weight model from Thinking Machines. It runs on my MacBook Pro through MTPLX , a Mac app that serves local models, and drives the Pi coding agent , an open source agent that works in the terminal. On 30 November an adapter appeared on Hugging Face that targets exactly that pairing.…
On 30 November, a new adapter for Inkling 2 Mini became available on Hugging Face. This adapter, named Inkling-2-Mini-pi-adapted, was trained to make the model better suited for use with Pi, an open-source coding agent. The adapter, published under the harness-hub account, is a 53 MB patch for a larger model, similar to a diff applied to the model's weights.
The adapter was trained via reinforcement learning, resulting in it needing about a fifth fewer tool calls and more than a third fewer output tokens compared to the base model. It also finishes tasks about half as quickly on average, and it fixes most of the tool-call errors found in a previous study. The adapter touches only the attention projections of the language model, specifically four per layer across 24 layers, while the rest of the model remains frozen.
To use the adapter with the MTPLX app, I had to merge the update into the weights of the model. This required three steps: downloading the pack, downloading the adapter files, and merging the update into the weights. The process took 18 seconds on my Mac to merge the final adapter into the Optimized Quality build of Inkling. The adapter is licensed under Apache 2.0, while the base model and MTPLX are licensed under the Apache 2.0 and MIT licences, respectively.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to
More from Dev.to on urgent.news
Report a problem with this story
Get the day's news by email. Daily, weekly or monthly. Sign up