Instructions to use Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-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 Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-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 Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-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 Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama cli -hf Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL
Use Docker
docker model run hf.co/Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL
- Llama new
- LM Studio
- Jan
- vLLM
How to use Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-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": "Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL
- Ollama
How to use Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF with Ollama:
ollama run hf.co/Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL
- Unsloth Desktop
- Pi
How to use Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-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": "Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF with Docker Model Runner:
docker model run hf.co/Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL
- Lemonade
How to use Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL
Run and chat with the model
lemonade run user.Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF-UD-Q4_K_XL
List all available models
lemonade list
- Hermes Agent
How to use Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-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 Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-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 Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-Q4_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-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 "Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF:UD-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 · Abliterated · ShortThink · V2.1 CodingAgent (GGUF)
Published by Private-AI-US — V2.1 CodingAgent (100% On-Policy SimPO) post-processed and quantized GGUF release of thinkingmachines/Inkling-2-Mini (26.4B parameters, 128-expert looped MoE, 24 physical layers with 3× middle-trunk looping = 48 logical passes).
Looking for V1 (ShortThink only)? V1 remains preserved at Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-GGUF. Upgraded to V2.1 (On-Policy SimPO)! Compared to the initial V2 off-policy SFT build, V2.1 replaces off-policy SFT with 100% on-policy verifiable-reward SimPO, raising Coding-Agent tool calling to 18/20 (90.0%), Sandboxed Python Pass@1 to 15/15 (100.0%), cutting dense weight drift from
0.422%down to0.317%, and restoring near-original speculative decoding speed with upstreamDSpark/DFlash2draft models (65–78 tok/slive on Tesla P100 16GB!).
What's New in V2.1 (On-Policy SimPO CodingAgent)?
V2.1 uses a 100% On-Policy dual-SimPO LoRA composition on top of the immutable Step 2 abliterated base (Inkling-2-Mini-Abliterated), without modifying a single bit of the 128 routed MoE experts (93% of parameters):
- AttnRes-Aware Projected Direction Abliteration (Step 2): Surgical rank-1 orthogonalized projection removal on 18 attention output matrices (
layers.{4..21}.attn.wo_ud) — 0/6 EN+ZH refusal rate, first-token KL = 0.055. - Modular ShortThink On-Policy SimPO LoRA (
v1_short_think_simpo, scale2.0): On-policy length-normalized SimPO (beta=2.0, gamma=0.5, sft_weight=0.1) targeting 288 attention & loop message-gate projections (17.0Mparams =0.0644%). - Modular CodingAgent On-Policy Verifiable-Reward SimPO LoRA (
v2_1_coding_agent_simpo, scale2.5):- Zero external teacher text: All 193 training pairs (
chosenANDrejected) were rolled out on-policy byInkling-2-Miniitself across Standard & Claude-Code-style tool schemas (EN + ZH) and verified deterministically:- 89 Coding-Agent tool-calling pairs: verified strictly for dedicated tool discipline (
write_file / edit_file / read_file / grep_search / list_filesinstead of shelling out tosed/cat), multi-turnread → edit, error recovery (pytest/SyntaxError/ target mismatch), and negative restraint. - 24 Sandboxed Python unit-test pairs: verified by executing real unit tests inside isolated subprocess sandboxes (
pass_vs_fail&concise_vs_verbose). - 80 On-Policy ShortThink anchor pairs: keeps reasoning concise and hidden-state geometry tightly aligned with upstream draft models.
- 89 Coding-Agent tool-calling pairs: verified strictly for dedicated tool discipline (
- Because both adapters are 100% on-policy SimPO, mean relative L2 weight change across the 288 dense matrices is only
0.317%(barely above V1's0.285%), preserving upstreamDSpark/DFlash2speculative decoding speed (65–78 tok/slive on Tesla P100 16GB!).
- Zero external teacher text: All 193 training pairs (
- Surgical GSQ-RCO Mixed-Precision Quantization (Step 4): Fresh
imatrixcalibrated directly on the V2.1 FP16 model (120 attention tensors, 64 seqs / 21,580 tokens, 0 non-finite). Preserves 100% of ISTA-DASLab's H200 GSQ-optimized MoE experts while re-quantizing all 120 modified attention matrices with importance weights and storing all 144 loop controllers (F32) and 24 relative position biases (BF16) losslessly (704/704 tensors verified,0.000000parity).
Available Files
| File | Format / bpw | Size | GPU VRAM* | Recommended Runtime | Notes |
|---|---|---|---|---|---|
Inkling-2-Mini-Abliterated-ShortThink-V2.1-CodingAgent-GSQ-RCO-IQ3_S.gguf |
GSQ-RCO IQ3_S (3.50 bpw) |
11.43 GB | ~10.50 GB | Upstream llama.cpp (b12611+), strata-poly, Ollama / LM Studio |
Recommended for 16 GB GPUs (e.g. RTX 4080, Tesla P100 16GB); 99.2% expert recovery |
Inkling-2-Mini-Abliterated-ShortThink-V2.1-CodingAgent-GSQ-RCO-IQ2_S.gguf |
GSQ-RCO IQ2_S (2.75 bpw) |
8.98 GB | ~8.05 GB | Upstream llama.cpp (b12611+) |
Ultra-compact for 10–12 GB VRAM or large KV-cache context budgets |
Inkling-2-Mini-Abliterated-ShortThink-V2.1-CodingAgent-UD-Q4_K_XL.gguf |
Native NVFP4 experts + Q8_0 attn (inkling2) |
17.63 GB | ~17.6 GB | maya-ik2 / NVFP4-enabled inkling2 builds (e.g. MI50 32GB / 24GB+ GPUs) |
Retains native NVFP4 MoE experts; ~85–90 tok/s short-ctx on AMD MI50 (gfx906) |
dspark-Inkling-2-Mini-Q8_0.gguf |
DSpark / MTP Draft (Q8_0) |
404 MB | ~0.4 GB | Upstream llama.cpp (b12720+) (-md) |
Recommended speculative decoding draft model (mirrored from IST-DASLab, Apache-2.0) |
mmproj-Inkling-2-Mini-BF16.gguf |
Vision Projector (BF16) |
642 MB | ~0.64 GB | Upstream llama.cpp (--mmproj), strata-vision |
Unmodified multimodal vision projector (mirrored from IST-DASLab, Apache-2.0) |
*For GSQ-RCO-IQ3_S and GSQ-RCO-IQ2_S, token_embd.weight (0.93 GB, BF16) is kept in system RAM by llama.cpp and does not consume GPU VRAM.
Evaluation Results (59 Held-Out Prompts + Speculative Speed Gate)
Evaluated across a 59-prompt dual-gate suite (20 coding-agent tool tasks + 15 sandboxed Python Pass@1 tasks + 24 ShortThink/abliteration/math prompts) plus live DFlash2 speculative decoding speed verification:
1. V0 vs V1 vs V2 (Off-Policy SFT) vs V2.1 (On-Policy SimPO)
| Benchmark / Metric | V0 Abliterated | V1 ShortThink (3.0, 0.0) |
V2 Off-Policy SFT (2.5, 2.0) |
V2.1 On-Policy SimPO (2.0, 2.5, Released) |
|---|---|---|---|---|
| Mean relative weight L2 change (288 dense mats) | 0% | 0.285% | 0.422% | 0.317% (100% On-Policy) |
| Coding-Agent Tool Calling (20 tasks) | — | 15/20 (75.0%) | 17/20 (85.0%) | 18/20 (90.0%) (+15 pp vs V1) |
| └ Single-turn tool selection | — | 5/6 | 6/6 | 5/6 |
└ Multi-turn (read → edit) |
— | 3/5 | 4/5 | 5/5 (100%) |
└ Error recovery (pytest / syntax / mismatch) |
— | 3/5 | 3/5 | 4/5 (80%) |
| └ Negative restraint (no-tool QA) | — | 4/4 | 4/4 | 4/4 (100%) |
| Sandboxed Python Pass@1 (15 tasks) | — | 14/15 (93.3%) | 14/15 (93.3%) | 15/15 (100.0%) |
| 24-prompt avg thinking length | 960.0 chars | 416.4 chars (−56.6%) | 307.6 chars (−68.0%) | 380.8 chars (−60.3% vs V0) |
| 24-prompt avg completion tokens | 417.1 tok | 212.9 tok (−49.0%) | 160.9 tok (−61.4%) | 188.3 tok (−54.9% vs V0) |
| Math exact-answer accuracy | 4/4 | 4/4 | 4/4 | 4/4 |
| Refusal probes (EN + ZH abliteration) | 0/6 | 0/6 | 0/6 | 0/6 |
| Truncations / Repetition loops | 1 / 0 | 0 / 0 | 0 / 0 | 0 / 0 |
Live P100 DFlash2 coding/agent decode |
~68.5 tok/s | ~67.9 tok/s (peak 78.1) | ~58.5 tok/s (peak 68.8) | 65–78 tok/s (coding avg 67.0, tool 78.0) |
2. V2.1 On-Policy SimPO Compositional Pareto Sweep
Blend (s_short, s_code_simpo) |
Weight L2 Δ | Tool Calling (20) | Python Pass@1 (15) | 24-Prompt Avg Think | Math / Refusals / Trunc | Verdict |
|---|---|---|---|---|---|---|
(0.0, 3.0) |
0.201% | 18/20 (90.0%) | 11/15 (73.3%) | 641.1 chars | 4/4 · 0/6 · 1 | Needs ShortThink blend |
(2.5, 2.0) |
0.333% | 18/20 (90.0%) | 14/15 (93.3%) | 414.6 chars | 4/4 · 0/6 · 0 | Strong |
(2.5, 2.5) |
0.361% | 18/20 (90.0%) | 14/15 (93.3%) | 362.0 chars | 4/4 · 0/6 · 0 | Strong |
(2.0, 2.5) — V2.1 ★ |
0.317% | 18/20 (90.0%) | 15/15 (100.0%) | 380.8 chars | 4/4 · 0/6 · 0 | Pareto Optimal (Lowest L2 + 100% Py) |
(2.0, 3.0) |
0.347% | 18/20 (90.0%) | 14/15 (93.3%) | 358.0 chars | 4/4 · 0/6 · 0 | Slightly higher L2 |
Draft Models (Speculative Decoding) & Vision (mmproj)
All original upstream Inkling-2-Mini draft models and vision projector remain fully compatible with V2.1 at near-original decode speed (100% on-policy SimPO, mean dense L2 delta only 0.317%, embeddings/output head/vision tower/MoE experts untouched):
| Engine / Runtime | Draft / Vision File | Flags / Notes |
|---|---|---|
Upstream llama.cpp (b12720+) (Recommended) |
dspark-Inkling-2-Mini-Q8_0.gguf (404 MB) |
Included in this repo. Pass -md dspark-Inkling-2-Mini-Q8_0.gguf -ngld 99. |
Vision (llama.cpp / strata-vision) |
mmproj-Inkling-2-Mini-BF16.gguf (642 MB) |
Included in this repo. Pass --mmproj mmproj-Inkling-2-Mini-BF16.gguf. |
PolyStrata (strata-poly) |
inkling2-dflash2-Q8_0.gguf (513 MB) |
Pass --draft-model inkling2-dflash2-Q8_0.gguf --window 4 (verified live on Tesla P100 16GB at 65–78 tok/s). |
Raw HF / maya-ik2 MTP |
mtp.safetensors (636 MB) |
Original multi-token prediction weights from thinkingmachines/Inkling-2-Mini. |
Quick Start
1. Upstream llama.cpp (b12611 or newer) — IQ3_S / IQ2_S + Tool Calling
# Download V2.1 IQ3_S (recommended) + DSpark draft + Vision mmproj
hf download Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF \
--include "*IQ3_S.gguf" \
--include "dspark-Inkling-2-Mini-Q8_0.gguf" \
--include "mmproj-Inkling-2-Mini-BF16.gguf" \
--local-dir .
# Launch OpenAI-compatible server with native Jinja tool calling enabled
llama-server \
-m Inkling-2-Mini-Abliterated-ShortThink-V2.1-CodingAgent-GSQ-RCO-IQ3_S.gguf \
--mmproj mmproj-Inkling-2-Mini-BF16.gguf \
-md dspark-Inkling-2-Mini-Q8_0.gguf \
-ngl 99 -ngld 99 --jinja --temp 1.0 --top-p 1.0
Important for Coding Agents (Claude Code / Codex / OpenCode / Cline / Pi / AGY): Always pass
--jinjainllama-serverso tool schemas are rendered via Inkling-2-Mini's nativetool_declare/<|content_invoke_tool_json|>template and structured tool calls are parsed back into OpenAItool_calls.
2. Recommended Sampling & Agent Settings
- Default sampling:
temperature = 1.0,top_p = 1.0(optionallymin_p = 0.05or mildpresence_penalty = 0.2). For deterministic tool-calling evaluations,temperature = 0.2also works cleanly on V2.1. - Per-request reasoning control: Tune
reasoning_effort(none,minimal,low,medium,high,xhigh) based on task complexity (e.g.,lowfor quick file lookups/edits,medium/highfor multi-file debugging). - Runtime compatibility note for
UD-Q4_K_XL.gguf: Usesgeneral.architecture = inkling2with native NVFP4 expert packing (maya-ik2/ Unsloth-style layout). For standard upstreamllama.cpp, Ollama, or LM Studio, downloadGSQ-RCO-IQ3_S.gguforGSQ-RCO-IQ2_S.gguf(general.architecture = inkling2_loop).
Credits & Acknowledgements
- Base Model: Thinking Machines Lab — Inkling-2-Mini (Apache-2.0)
- GSQ-RCO Quantization & Allocation Manifests: IST-DASLab — Inkling-2-Mini-GSQ-RCO-GGUF (GSQ, RCO)
- SimPO Objective: Meng et al. (2024), SimPO: Simple Preference Optimization with a Reference-Free Reward
- Post-Processing & Release: Private-AI-US
- Downloads last month
- 5,475
2-bit
3-bit
4-bit
8-bit
Model tree for Private-AI-US/Inkling-2-Mini-Abliterated-ShortThink-V2-CodingAgent-GGUF
Base model
thinkingmachines/Inkling-2-Mini