Instructions to use netprojects/Inkling-2-Mini-pi-adapted-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use netprojects/Inkling-2-Mini-pi-adapted-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL # Run inference directly in the terminal: llama cli -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL # Run inference directly in the terminal: llama cli -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama cli -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
Use Docker
docker model run hf.co/netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
- Llama new
- LM Studio
- Jan
- vLLM
How to use netprojects/Inkling-2-Mini-pi-adapted-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "netprojects/Inkling-2-Mini-pi-adapted-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "netprojects/Inkling-2-Mini-pi-adapted-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
- Ollama
How to use netprojects/Inkling-2-Mini-pi-adapted-GGUF with Ollama:
ollama run hf.co/netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
- Unsloth Desktop
- Pi
How to use netprojects/Inkling-2-Mini-pi-adapted-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use netprojects/Inkling-2-Mini-pi-adapted-GGUF with Docker Model Runner:
docker model run hf.co/netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
- Lemonade
How to use netprojects/Inkling-2-Mini-pi-adapted-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
Run and chat with the model
lemonade run user.Inkling-2-Mini-pi-adapted-GGUF-Q4_K_XL
List all available models
lemonade list
- Hermes Agent
How to use netprojects/Inkling-2-Mini-pi-adapted-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/Inkling-2-Mini-pi-adapted-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Inkling 2 Mini pi-adapted, GGUF (2 to 6 bit)
harness-hub/Inkling-2-Mini-pi-adapted (revision 14b5b5a) is a LoRA adapter for thinkingmachines/Inkling-2-Mini, trained by Harness Hub with reinforcement learning (TRL's AsyncGRPO) to drive the pi coding agent at reasoning effort high. It solves more agentic coding tasks and gets there with about 40% fewer output tokens and a third fewer tool calls.
Harness Hub publishes the merged model as Q8_0 (27.8 GB). These are smaller builds of that merged model for llama.cpp, from about 10 GB, made with our own importance matrix (computed on the merged model) and per-tensor types that follow Unsloth's UD recipes for Inkling 2 Mini. For each size we built both the UD-style mix and a standard llama.cpp quant with the same importance matrix, and kept the one that stays closer to the Q8_0 (the mix needed lower KLD at about the same size).
| File | Size | KLD vs Q8_0 | Same top token | Recipe |
|---|---|---|---|---|
| Inkling-2-Mini-pi-adapted-Q2_K_XL.gguf | 10.28 GB | 0.0610 | 89.0% | UD-style mix, 34% lower KLD than standard Q2_K |
| Inkling-2-Mini-pi-adapted-IQ3_XXS.gguf | 11.66 GB | 0.0299 | 92.2% | UD-style mix, 45% lower KLD than standard IQ3_XXS |
| Inkling-2-Mini-pi-adapted-Q3_K_XL.gguf | 13.63 GB | 0.0160 | 94.1% | UD-style mix, 44% lower KLD than standard Q3_K_M |
| Inkling-2-Mini-pi-adapted-Q4_K_XL.gguf | 17.63 GB | 0.0079 | 95.8% | UD-style mix, 38% lower KLD than standard Q4_K_M |
| Inkling-2-Mini-pi-adapted-Q5_K_M.gguf | 19.91 GB | 0.0059 | 96.5% | standard Q5_K_M + our imatrix |
| Inkling-2-Mini-pi-adapted-Q6_K.gguf | 23.49 GB | 0.0037 | 97.1% | standard Q6_K + our imatrix |
KLD and same-top token: llama-perplexity against the merged Q8_0 on held-out text (512-token chunks). mmproj-Inkling-2-Mini-Q8_0.gguf is the vision projector (ggml-org's, unchanged), and Inkling-2-Mini-pi-adapted.imatrix.gguf is the importance matrix.
Harness Hub's results
From the adapter's card (bf16 + adapter in vLLM):
Benchmark (Harness Hub's figures: pi 1.7.0, reasoning high, vLLM, adapter vs base, paired) |
Inkling 2 Mini | pi-adapted | Difference |
|---|---|---|---|
| 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 |
| SWE-bench Pro (hard 51), 1 attempt, 2 h | 66.7% | 70.6% | +3.9 ยฑ 14.5 |
| Output tokens on tasks both solve, Terminal-Bench 2.1 | 15.8k | 9.8k | โ38% |
| Output tokens on tasks both solve, SWE-bench Pro | 39.2k | 23.6k | โ40% |
| Tool calls on tasks both solve, SWE-bench Pro | 72 | 48 | โ33% |
Use
Needs a recent llama.cpp with Inkling 2 Mini support.
llama-server -hf netprojects/Inkling-2-Mini-pi-adapted-GGUF:Q4_K_XL -c 131072 --jinja --alias inkling-pi --port 8000
--jinja is needed for tool calls. Add --mmproj mmproj-Inkling-2-Mini-Q8_0.gguf (with -m and a local file) for image input.
Use with pi
Start the server, then point pi at it with the OpenAI chat-completions API (the adapter was trained and evaluated with openai-completions, not the Responses API). Keep the default reasoning effort high; the adapter was not trained for none.
{
"providers": {
"local": {
"baseUrl": "http://localhost:8000/v1",
"api": "openai-completions",
"models": [{ "id": "inkling-pi" }]
}
}
}
MLX builds
For Apple Silicon with MLX: Inkling-2-Mini-pi-adapted-MLX-4-8bit ยท Inkling-2-Mini-pi-adapted-LayerFit-MLX-4bit ยท Inkling-2-Mini-pi-adapted-LayerFit-MLX-3bit ยท Inkling-2-Mini-pi-adapted-LayerFit-MLX-2.5bit ยท Inkling-2-Mini-pi-adapted-LayerFit-MLX-2bit
License and credits
Apache-2.0, as Inkling 2 Mini and the adapter; use is also governed by Thinking Machines' Model Acceptable Use Policy. Inkling 2 Mini is by Thinking Machines Lab, the pi adapter and the merged Q8_0 by Harness Hub; the per-tensor type choices follow Unsloth's UD builds. Please cite their work.
Published by NetProjects (Internet Projects Ltd). Not affiliated with Thinking Machines, Hugging Face or Unsloth.
More builds from NetProjects: huggingface.co/netprojects ยท netprojects.com
- Downloads last month
- 2,821
Model tree for netprojects/Inkling-2-Mini-pi-adapted-GGUF
Base model
thinkingmachines/Inkling-2-Mini