Instructions to use bipul22/Inkling-2-Mini-Decision-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 bipul22/Inkling-2-Mini-Decision-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 bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL # Run inference directly in the terminal: llama cli -hf bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL # Run inference directly in the terminal: llama cli -hf bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
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 bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL # Run inference directly in the terminal: ./build/bin/llama cli -hf bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
Use Docker
docker model run hf.co/bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
- Llama new
- LM Studio
- Jan
- vLLM
How to use bipul22/Inkling-2-Mini-Decision-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bipul22/Inkling-2-Mini-Decision-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": "bipul22/Inkling-2-Mini-Decision-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/bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
- Ollama
How to use bipul22/Inkling-2-Mini-Decision-GGUF with Ollama:
ollama run hf.co/bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
- Unsloth Desktop
- Pi
How to use bipul22/Inkling-2-Mini-Decision-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
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": "bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use bipul22/Inkling-2-Mini-Decision-GGUF with Docker Model Runner:
docker model run hf.co/bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
- Lemonade
How to use bipul22/Inkling-2-Mini-Decision-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
Run and chat with the model
lemonade run user.Inkling-2-Mini-Decision-GGUF-IQ4_NL
List all available models
lemonade list
- Hermes Agent
How to use bipul22/Inkling-2-Mini-Decision-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 bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
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 bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use bipul22/Inkling-2-Mini-Decision-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL
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 "bipul22/Inkling-2-Mini-Decision-GGUF:IQ4_NL" \ --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 Decision Models (Selective IQ4_NL / Q8_0 / F32 GGUF)
Inkling-2-Mini Decision Models (Selective IQ4_NL / Q8_0 / F32 GGUF)
Selectively quantized Inkling-2-Mini (26.8B MoE with 3x latent recurrence loops and
3.3B active parameters per loop) single-token Decision Models tuned on Unsloth QLoRA and exported
for llama.cpp (build >= 12774) on Ampere / Ada (SM80/SM86/SM89, ~19.4 GB VRAM)
as well as Hopper/Blackwell GPUs.
System 1 vs. System 1.5 Decision Architecture
These models implement a single-token (max_tokens=1) Decisions API (/v1beta/decisions) with calibrated top_logprobs extraction and $0 output-token verbosity overhead:
- System 1 (Direct Decision Reflex): LoRA / QLoRA fine-tuned directly on ground-truth labels across three structured decision primitives:
choice(A..Zcategorical selection with shuffled option order at training time)noul(Yes/Nocalibrated binary predicate probability)score(0..9ordered rubric with ordinal + Brier regularization)
- System 1.5 (Reasoning-Distilled Decision Reflex): Distills slow System 2 chain-of-thought traces (
enable_thinking=True/reasoning_effort="low") into a single output token using non-collapsed temperature-smoothed comparative + direct probability blending (kl_alpha+ Brier + ordinal score loss) so the model retains soft uncertainty calibration at single-token latency.
Companion Repositories
- Gemma 4 26B-A4B LoRAs (vLLM):
bipul22/Gemma-4-26B-A4B-Decision-LoRA - Inkling-2-Mini Selective GGUFs (
llama.cpp):bipul22/Inkling-2-Mini-Decision-GGUF - Inkling-2-Mini QLoRA Adapters (Unsloth /
SM90+vLLM):bipul22/Inkling-2-Mini-Decision-LoRA
Quantized Model Variants (16,799.89 MiB, 5.4057 BPW)
| GGUF File | Role | Teacher / Recipe | Public Val Acc | Fitted Calibration (Choice / Noul / Score) |
On-Box RTX A6000 1-Q Latency |
|---|---|---|---|---|---|
Inkling-2-Mini-Decision-System1-v1-IQ4_NL.gguf |
System 1 v1 | 1,200 v1 samples, 2 ep |
92.5% (val_loss 0.2536) |
1.75 / 2.60 / 1.80 |
~101.5 ms (p50) |
Inkling-2-Mini-Decision-System1-v2-IQ4_NL.gguf |
System 1 v2 | 5,000 1024px 4-domain gold, 1 ep |
86.75% (val_loss 0.3725) |
1.35 / 2.45 / 1.55 |
80.7 ms |
Inkling-2-Mini-Decision-System1.5-Self-v2-IQ4_NL.gguf |
System 1.5 Self v2 | Inkling reasoning_effort="low" teacher (T=3.5, blend=0.45, kl_alpha=0.30, kd_T=3.5) |
85.75% (val_loss 0.3994) |
1.65 / 2.35 / 1.80 |
79.4 ms |
Inkling-2-Mini-Decision-System1.5-Cross-v2-IQ4_NL.gguf |
System 1.5 Cross v2 | Gemma 4 enable_thinking=True teacher (T=5.0, blend=0.45, kl_alpha=0.35, kd_T=3.5) |
85.00% (val_loss 0.4323) |
2.00 / 2.50 / 2.95 |
83.1 ms |
Also included:
mmproj-Inkling-2-Mini-BF16.gguf(613 MB) — lossless BF16 multimodal vision projectorimatrix.gguf(87 MB) — importance matrix calibrated across multimodal decision promptstemplates/inkling_decision_chat_template.jinja— cleaned Jinja template enforcing single-token output without<|content_thinking|>leakage whenreasoning_effort="none"calibration/*.json— fitted calibration JSON per checkpoint +inkling_base_calibration.json
Selective Compression Architecture (vs. 49,795.66 MiB BF16 16.02 BPW)
- Layers
0..19routed MoE FFNs:IQ4_NL(imatrix-guided) - Final layers
20..23, all attention projections, andoutput.weight:Q8_0 - MoE routers,
3xloop controllers, convolutions, and norms:F32 - Vision encoder (
mmproj):BF16
Observations on Hard Zero-Shot Fine-Grained Vision (Teaser)
When evaluating these System 1 and System 1.5 decision models zero-shot on a challenging proprietary multi-crop fine-grained physical-object inspection benchmark (distinguishing visually similar instances from sub-millimeter geometry, surface finish, and multi-stage candidate disambiguation), several instructive architectural behaviors emerged:
- System 1.5 Distillation Shifts Fine-Grained Visual Calibration & Attribute Accuracy (
noul): High-resolution16x162D-RoPE vision tokenization paired with temperature-smoothed System 2 reasoning distillation (system-1.5-v2) substantially tightened binary morphological attribute judgment and calibration compared to uncalibrated base models and cloud baselines — while delivering 6 bundled questions in138.3 ms(55.5 mssingle-question) via prefix caching. - Looped MoE Recurrence (
Inkling-2-Mini) Aids Direct Multi-Class Discrimination (choice): The 3-iteration latent-looped MoE architecture paired with System 1 hard target tuning led local direct category discrimination and dual-crop candidate disambiguation. - Cross-Model Distillation Combines Both Worlds (
System1.5-Cross-v2): Distilling Gemma 4 System 2 reasoning distributions into the 3x looped Inkling-2-Mini student yielded our highest top-K candidate recall in zero-shot fine-grained disambiguation.
Detailed ablation findings, error breakdowns, and hard fine-grained visual benchmarks are intentionally held out from public release. If you are working on hard fine-grained visual decision systems and would like deeper insights or collaboration, reach out to bippthk22@gmail.com.
Standalone Quickstart (Ampere / Ada / Hopper llama.cpp + /v1beta/decisions)
Upstream vllm/vllm-openai:inkling-2-mini requires SM90+ (Hopper/Blackwell). On
RTX 3090 / RTX 4090 / RTX A6000 (~19.4 GB VRAM), run
ghcr.io/ggml-org/llama.cpp:server-cuda + quickstart/decisions_quickstart.py:
hf download bipul22/Inkling-2-Mini-Decision-GGUF --local-dir ./Inkling-2-Mini-Decision-GGUF
cd Inkling-2-Mini-Decision-GGUF
# Default: System 1 v2 (swap INKLING_GGUF_FILE + INKLING_CALIBRATION_PATH for System1.5-Cross-v2)
INKLING_GGUF_FILE=Inkling-2-Mini-Decision-System1.5-Cross-v2-IQ4_NL.gguf \
INKLING_CALIBRATION_PATH=/repo/calibration/system-1.5-cross-v2_calibration.json \
docker compose -f quickstart/docker-compose.inkling.yml up -d
License & Attribution
Published under Apache 2.0 in alignment with
thinkingmachines/Inkling-2-Mini
and subject to the Thinking Machines Acceptable Use Policy referenced on the upstream model card.
- Downloads last month
- -
4-bit
Model tree for bipul22/Inkling-2-Mini-Decision-GGUF
Base model
thinkingmachines/Inkling-2-Mini