Instructions to use ahtx/AH-Inkling-2-Mini-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 ahtx/AH-Inkling-2-Mini-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 ahtx/AH-Inkling-2-Mini-GGUF:IQ2_M # Run inference directly in the terminal: llama cli -hf ahtx/AH-Inkling-2-Mini-GGUF: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-GGUF:IQ2_M # Run inference directly in the terminal: llama cli -hf ahtx/AH-Inkling-2-Mini-GGUF: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-GGUF:IQ2_M # Run inference directly in the terminal: ./build/bin/llama cli -hf ahtx/AH-Inkling-2-Mini-GGUF:IQ2_M
Use Docker
docker model run hf.co/ahtx/AH-Inkling-2-Mini-GGUF:IQ2_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use ahtx/AH-Inkling-2-Mini-GGUF 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-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": "ahtx/AH-Inkling-2-Mini-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ahtx/AH-Inkling-2-Mini-GGUF:IQ2_M
- Ollama
How to use ahtx/AH-Inkling-2-Mini-GGUF with Ollama:
ollama run hf.co/ahtx/AH-Inkling-2-Mini-GGUF:IQ2_M
- Unsloth Desktop
- Pi
How to use ahtx/AH-Inkling-2-Mini-GGUF 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-GGUF: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-GGUF:IQ2_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ahtx/AH-Inkling-2-Mini-GGUF with Docker Model Runner:
docker model run hf.co/ahtx/AH-Inkling-2-Mini-GGUF:IQ2_M
- Lemonade
How to use ahtx/AH-Inkling-2-Mini-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ahtx/AH-Inkling-2-Mini-GGUF:IQ2_M
Run and chat with the model
lemonade run user.AH-Inkling-2-Mini-GGUF-IQ2_M
List all available models
lemonade list
- Hermes Agent
How to use ahtx/AH-Inkling-2-Mini-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 ahtx/AH-Inkling-2-Mini-GGUF: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-GGUF:IQ2_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ahtx/AH-Inkling-2-Mini-GGUF 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-GGUF: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-GGUF: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"
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-GGUF:IQ2_M# Run inference directly in the terminal:
llama cli -hf ahtx/AH-Inkling-2-Mini-GGUF:IQ2_MBuild 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-GGUF:IQ2_M# Run inference directly in the terminal:
./build/bin/llama cli -hf ahtx/AH-Inkling-2-Mini-GGUF:IQ2_MUse Docker
docker model run hf.co/ahtx/AH-Inkling-2-Mini-GGUF:IQ2_MAH-Inkling-2-Mini-GGUF
Standard GGUF builds of Thinking Machines Lab's Inkling 2 Mini for mainline llama.cpp. The builds re-quantize Unsloth's mainline-layout GGUF with an importance matrix. The weights were not trained or fine-tuned.
| File | Size |
|---|---|
| AH-Inkling-2-Mini-IQ2_M.gguf | 10.7 GB |
| AH-Inkling-2-Mini-Q4_K_M.gguf | 17.4 GB |
IQ2_M uses less memory. Q4_K_M uses more memory and preserves more weight precision. llama.cpp can split the model between GPU memory and system RAM.
Run with llama.cpp
Use llama.cpp b12611 or later.
hf download ahtx/AH-Inkling-2-Mini-GGUF AH-Inkling-2-Mini-IQ2_M.gguf --local-dir .
llama-server -m AH-Inkling-2-Mini-IQ2_M.gguf --jinja -ngl 99 -c 32768 \
--temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0
The Kindi build is a separate 7.4 GiB file. The project page has setup instructions and recorded Kindi demos.
License and attribution
Thinking Machines Lab released Inkling 2 Mini under Apache-2.0. These modified builds carry the same license and are subject to the Thinking Machines Lab Model Acceptable Use Policy. See LICENSE and NOTICE for the license, source and changes.
Thanks to Thinking Machines Lab for the model, Unsloth for the source GGUF, and the llama.cpp contributors for the quantization tools.
- Downloads last month
- 21
Model tree for ahtx/AH-Inkling-2-Mini-GGUF
Base model
thinkingmachines/Inkling-2-Mini
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf ahtx/AH-Inkling-2-Mini-GGUF:IQ2_M# Run inference directly in the terminal: llama cli -hf ahtx/AH-Inkling-2-Mini-GGUF:IQ2_M