--- license: apache-2.0 license_link: https://www.apache.org/licenses/LICENSE-2.0 base_model: - thinkingmachines/Inkling-2-Mini - harness-hub/Inkling-2-Mini-pi-adapted base_model_relation: merge pipeline_tag: image-text-to-text library_name: transformers tags: - inkling2 - moe - merge - lora - agents - pi - coding-agent --- # Inkling-2-Mini-pi [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) with the [harness-hub/Inkling-2-Mini-pi-adapted](https://huggingface.co/harness-hub/Inkling-2-Mini-pi-adapted) LoRA merged into its weights: a standalone checkpoint for the [pi](https://github.com/earendil-works/pi) coding agent that any engine serves without LoRA support. The adapter was trained with reinforcement learning to make Inkling 2 Mini a better model behind pi at reasoning effort `high`. Its card reports the same accuracy as the base model with a generous time budget, with 22-33% fewer tool calls and about 40% fewer output tokens per solved task, and +13 points on Terminal-Bench 2.1 under a 1-hour limit per task. See that card for the evaluation details. For Apple silicon, use the MLX build [audiohacking/Inkling-2-Mini-pi-oQ4e-mtp](https://huggingface.co/audiohacking/Inkling-2-Mini-pi-oQ4e-mtp). ## What changed The adapter is rank 32, alpha 64, on the attention projections of all 24 layers. It was merged as `W += (alpha / r) * B @ A` (scale 2.0) in float32 and rounded back to BF16 into the four matching tensors of each layer: | Adapter module | Tensor in this checkpoint | | --- | --- | | `self_attn.q_proj` | `model.llm.layers.N.attn.wq_du.weight` | | `self_attn.k_proj` | `model.llm.layers.N.attn.wk_dv.weight` | | `self_attn.v_proj` | `model.llm.layers.N.attn.wv_dv.weight` | | `self_attn.o_proj` | `model.llm.layers.N.attn.wo_ud.weight` | Nothing else differs from the base release: the routed experts keep their NVFP4 and MXFP8 formats, and the vision encoder, the tokenizer, the chat template and the DSpark draft (`mtp.safetensors`) are the base model's. Serve and prompt it exactly like [Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini). ## License Apache-2.0, as both the base model and the adapter.