Text Generation
GGUF
English
kindi
inkling
Mixture of Experts
looped-transformer
quantized
8gb-gpu
conversational
Instructions to use ahtx/AH-Inkling-2-Mini 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 ahtx/AH-Inkling-2-Mini 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 ahtx/AH-Inkling-2-Mini:IQ2_M # Run inference directly in the terminal: llama cli -hf ahtx/AH-Inkling-2-Mini:IQ2_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ahtx/AH-Inkling-2-Mini:IQ2_M # Run inference directly in the terminal: llama cli -hf ahtx/AH-Inkling-2-Mini:IQ2_M
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 ahtx/AH-Inkling-2-Mini:IQ2_M # Run inference directly in the terminal: ./build/bin/llama cli -hf ahtx/AH-Inkling-2-Mini:IQ2_M
Use Docker
docker model run hf.co/ahtx/AH-Inkling-2-Mini:IQ2_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use ahtx/AH-Inkling-2-Mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ahtx/AH-Inkling-2-Mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ahtx/AH-Inkling-2-Mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ahtx/AH-Inkling-2-Mini:IQ2_M
- Ollama
How to use ahtx/AH-Inkling-2-Mini with Ollama:
ollama run hf.co/ahtx/AH-Inkling-2-Mini:IQ2_M
- Unsloth Desktop
- Pi
How to use ahtx/AH-Inkling-2-Mini with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ahtx/AH-Inkling-2-Mini:IQ2_M
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": "ahtx/AH-Inkling-2-Mini:IQ2_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ahtx/AH-Inkling-2-Mini with Docker Model Runner:
docker model run hf.co/ahtx/AH-Inkling-2-Mini:IQ2_M
- Lemonade
How to use ahtx/AH-Inkling-2-Mini with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ahtx/AH-Inkling-2-Mini:IQ2_M
Run and chat with the model
lemonade run user.AH-Inkling-2-Mini-IQ2_M
List all available models
lemonade list
- Hermes Agent
How to use ahtx/AH-Inkling-2-Mini with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ahtx/AH-Inkling-2-Mini:IQ2_M
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 ahtx/AH-Inkling-2-Mini:IQ2_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ahtx/AH-Inkling-2-Mini with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ahtx/AH-Inkling-2-Mini:IQ2_M
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 "ahtx/AH-Inkling-2-Mini:IQ2_M" \ --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"
Card: source file, RTX 3080 benchmark, Plant Therapy run
Browse files
NOTICE
CHANGED
|
@@ -8,11 +8,12 @@ Original work: Inkling 2 Mini, by Thinking Machines Lab, Inc.
|
|
| 8 |
Use is also subject to the Thinking Machines Lab Model Acceptable Use Policy:
|
| 9 |
https://thinkingmachines.ai/model-acceptable-use-policy/
|
| 10 |
|
| 11 |
-
|
| 12 |
https://huggingface.co/unsloth/Inkling-2-Mini-GGUF
|
| 13 |
Licensed under the Apache License, Version 2.0.
|
| 14 |
|
| 15 |
-
Changes made in AH-Inkling-2-Mini-IQ2_M.gguf (by Amir Husain, 2026)
|
|
|
|
| 16 |
- The expert weights were re-quantized to Kindi IQ2_XS_128 (gate and up projections of
|
| 17 |
layers 6 to 17) and Kindi IQ2_XXS_128 (all other experts).
|
| 18 |
- The attention projections and the output layer were re-quantized to Q4_0.
|
|
|
|
| 8 |
Use is also subject to the Thinking Machines Lab Model Acceptable Use Policy:
|
| 9 |
https://thinkingmachines.ai/model-acceptable-use-policy/
|
| 10 |
|
| 11 |
+
Source file: Inkling-2-Mini-UD-Q4_K_M.gguf, the GGUF conversion of Inkling 2 Mini by Unsloth.
|
| 12 |
https://huggingface.co/unsloth/Inkling-2-Mini-GGUF
|
| 13 |
Licensed under the Apache License, Version 2.0.
|
| 14 |
|
| 15 |
+
Changes made in AH-Inkling-2-Mini-IQ2_M.gguf (by Amir Husain, 2026), with an importance matrix
|
| 16 |
+
collected by Kindi from the model:
|
| 17 |
- The expert weights were re-quantized to Kindi IQ2_XS_128 (gate and up projections of
|
| 18 |
layers 6 to 17) and Kindi IQ2_XXS_128 (all other experts).
|
| 19 |
- The attention projections and the output layer were re-quantized to Q4_0.
|
README.md
CHANGED
|
@@ -47,7 +47,9 @@ original weights, not for this file.
|
|
| 47 |
layers, and Kindi IQ2_XXS_128 for all other experts).
|
| 48 |
- The attention projections and the output layer are stored in Q4_0. The loop-control weights are stored in Q8_0.
|
| 49 |
- The chat template, the tokenizer and the sampling values from the original model are kept in the file.
|
| 50 |
-
- The source of the conversion was
|
|
|
|
|
|
|
| 51 |
|
| 52 |
## Quality
|
| 53 |
|
|
@@ -82,6 +84,7 @@ Benchmark: 512-token prompt, 128 generated tokens, context 2,048 (mean of 3 runs
|
|
| 82 |
| GPU | Prompt (tokens/s) | Generation (tokens/s) |
|
| 83 |
| --- | ---: | ---: |
|
| 84 |
| GTX 1080 8 GB | 121.3 | 21.5 |
|
|
|
|
| 85 |
|
| 86 |
Coding-agent sessions: opencode 1.19.5 with Kindi's OpenAI-compatible server, context 32,768, 8K to 30K tokens in
|
| 87 |
use (four sessions).
|
|
@@ -96,14 +99,15 @@ Largest context with all experts in GPU memory: 14,336 tokens on the GTX 1080 (8
|
|
| 96 |
## Agent demos
|
| 97 |
|
| 98 |
We gave opencode one prompt per session and did not help the model. On the RTX 3080, these four prompts passed on
|
| 99 |
-
the first attempt
|
|
|
|
| 100 |
|
| 101 |
| Task | Result | Time |
|
| 102 |
| --- | --- | ---: |
|
| 103 |
| A car in one HTML file with Three.js | A stylised red coupe with wheels, glass and lights, and orbit controls | 10 min 19 s |
|
| 104 |
| A floating island in snowy weather | Island with snow-capped trees, a meadow, falling snow and a slowly orbiting camera | 9 min 55 s |
|
| 105 |
| A space shooter in one HTML file | The game starts, the ship moves and shoots, the score, three lives and the game-over screen work | 6 min 29 s |
|
| 106 |
-
| A landing page for a SaaS called Plant Therapy | A complete single-file landing page with no
|
| 107 |
|
| 108 |
We also asked for "an entire web based operating system with all the apps". The first result did not start. After
|
| 109 |
two short follow-up messages in the same session ("It's stuck on the BOOTING screen and I can't click anything...",
|
|
|
|
| 47 |
layers, and Kindi IQ2_XXS_128 for all other experts).
|
| 48 |
- The attention projections and the output layer are stored in Q4_0. The loop-control weights are stored in Q8_0.
|
| 49 |
- The chat template, the tokenizer and the sampling values from the original model are kept in the file.
|
| 50 |
+
- The source of the conversion was Unsloth's UD-Q4_K_M file from
|
| 51 |
+
[unsloth/Inkling-2-Mini-GGUF](https://huggingface.co/unsloth/Inkling-2-Mini-GGUF). Kindi re-quantized it with an
|
| 52 |
+
importance matrix that Kindi collected from the model on about 1,500 tokens of mixed text.
|
| 53 |
|
| 54 |
## Quality
|
| 55 |
|
|
|
|
| 84 |
| GPU | Prompt (tokens/s) | Generation (tokens/s) |
|
| 85 |
| --- | ---: | ---: |
|
| 86 |
| GTX 1080 8 GB | 121.3 | 21.5 |
|
| 87 |
+
| RTX 3080 10 GB | 523.2 | 29.4 |
|
| 88 |
|
| 89 |
Coding-agent sessions: opencode 1.19.5 with Kindi's OpenAI-compatible server, context 32,768, 8K to 30K tokens in
|
| 90 |
use (four sessions).
|
|
|
|
| 99 |
## Agent demos
|
| 100 |
|
| 101 |
We gave opencode one prompt per session and did not help the model. On the RTX 3080, these four prompts passed on
|
| 102 |
+
the first attempt. The table shows the recorded runs; for Plant Therapy, that is a second run of the same prompt (the
|
| 103 |
+
first run also passed, but the photos that it linked from the web do not load offline).
|
| 104 |
|
| 105 |
| Task | Result | Time |
|
| 106 |
| --- | --- | ---: |
|
| 107 |
| A car in one HTML file with Three.js | A stylised red coupe with wheels, glass and lights, and orbit controls | 10 min 19 s |
|
| 108 |
| A floating island in snowy weather | Island with snow-capped trees, a meadow, falling snow and a slowly orbiting camera | 9 min 55 s |
|
| 109 |
| A space shooter in one HTML file | The game starts, the ship moves and shoots, the score, three lives and the game-over screen work | 6 min 29 s |
|
| 110 |
+
| A landing page for a SaaS called Plant Therapy | A complete single-file landing page with no external images and no JavaScript errors | 6 min 3 s |
|
| 111 |
|
| 112 |
We also asked for "an entire web based operating system with all the apps". The first result did not start. After
|
| 113 |
two short follow-up messages in the same session ("It's stuck on the BOOTING screen and I can't click anything...",
|