Run this model with HF Jobs

Run audiohacking/Inkling-2-Mini-pi on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/audiohacking/Inkling-2-Mini-pi. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/audiohacking/Inkling-2-Mini-pi on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/audiohacking/Inkling-2-Mini-pi. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/audiohacking/Inkling-2-Mini-pi. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Inkling-2-Mini-pi / README.md
duckdbot's picture
Upload model
ede251d verified
|
Raw History Blame Contribute Delete
2.21 kB
---
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.