Instructions to use MirrorNeuronLab/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 MirrorNeuronLab/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 MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_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 MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M
Use Docker
docker model run hf.co/MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use MirrorNeuronLab/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 "MirrorNeuronLab/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": "MirrorNeuronLab/Inkling-2-Mini-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/MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M
- Ollama
How to use MirrorNeuronLab/Inkling-2-Mini-GGUF with Ollama:
ollama run hf.co/MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use MirrorNeuronLab/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 MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_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": "MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use MirrorNeuronLab/Inkling-2-Mini-GGUF with Docker Model Runner:
docker model run hf.co/MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M
- Lemonade
How to use MirrorNeuronLab/Inkling-2-Mini-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Inkling-2-Mini-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use MirrorNeuronLab/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 MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_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 MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use MirrorNeuronLab/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 MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_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 "MirrorNeuronLab/Inkling-2-Mini-GGUF:Q4_K_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"
File size: 3,713 Bytes
d91edfe f386bb6 d91edfe f386bb6 d91edfe | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | {
"source": {
"repo": "thinkingmachines/Inkling-2-Mini",
"revision": "ed40e7da625f594fc9c4990f5f66be24873c22d7",
"file": "model-00001-of-00001.safetensors",
"size_bytes": 19526019168,
"sha256": "65e60f51aa1284d4fb022584908c315270334d991828bb774af60584523539d1",
"license": "Apache-2.0"
},
"llama_cpp": {
"tag": "b12600",
"revision": "29b52d398b294509746ec0a3f28948a3107c0213"
},
"conversion": {
"text": "convert_hf_to_gguf.py source --outfile Inkling-2-Mini-BF16.gguf --outtype bf16 --model-name 'Inkling 2 Mini'",
"quantization": "llama-quantize Inkling-2-Mini-BF16.gguf Inkling-2-Mini-Q4_K_M.gguf Q4_K_M 12",
"vision": "convert_hf_to_gguf.py source --mmproj --outfile mmproj-Inkling-2-Mini-BF16.gguf --outtype bf16 --model-name 'Inkling 2 Mini'",
"importance_matrix": false,
"optional_mtp_draft_included": false
},
"artifacts": {
"Inkling-2-Mini-Q4_K_M.gguf": {
"size_bytes": 17478094208,
"sha256": "b0dd687b73295497dd2668cc1593aab910eb2d389d0b16e887f067e0e54a5f8f",
"architecture": "inkling2_loop",
"file_type": "MOSTLY_Q4_K_M",
"tensors": 704,
"tensor_types": {
"F32": 478,
"Q4_K": 189,
"Q5_0": 12,
"Q6_K": 13,
"Q8_0": 12
}
},
"mmproj-Inkling-2-Mini-BF16.gguf": {
"size_bytes": 641806048,
"sha256": "d46f556550a506ef8c4f3e54444d2c4780a2433672b728d5967d2516db32c59d",
"architecture": "clip",
"file_type": "MOSTLY_BF16",
"tensors": 422,
"tensor_types": {
"BF16": 140,
"F32": 282
}
},
"Inkling-2-Mini-AD-IQ1_M.gguf": {
"size_bytes": 7346835040,
"sha256": "251abeb87f516f01716efc6dc5da687e68004275826122b333463b1835dda3b8",
"architecture": "inkling2_loop",
"file_type": "MOSTLY_IQ1_M",
"tensors": 704,
"tensor_types": {
"F32": 478,
"IQ1_M": 24,
"Q2_0": 24,
"Q4_K": 1,
"Q6_K": 1,
"Q8_0": 176
},
"tensor_bits_per_weight": 2.251
},
"Inkling-2-Mini-AD-IQ1_S.gguf": {
"size_bytes": 6964629088,
"sha256": "cf06e360c9455e8c9689d9fb3d2dc26f4a27529de30bd46126b0dd6133963494",
"architecture": "inkling2_loop",
"file_type": "MOSTLY_IQ1_S",
"tensors": 704,
"tensor_types": {
"F32": 478,
"IQ1_S": 24,
"Q2_0": 24,
"Q4_K": 1,
"Q6_K": 1,
"Q8_0": 176
},
"tensor_bits_per_weight": 2.134
}
},
"adaptive_quantization": {
"input": "The BF16 GGUF intermediate from the Thinking Machines checkpoint above",
"calibration": {
"dataset": "AtomicChat/Inkling-2-Mini-GGUF-metrics",
"revision": "298cd819ae69d1f9268b70c3aa47b5ef3832ff7d",
"file": "imatrix/imatrix.gguf",
"sha256": "830512fda77c8971d3613e2533e41eab5be209f496aeb1e41e9d863e44564d30",
"matching_expert_tensors": 48,
"calibration_source_model_revision": "6e7c8248f75265bdd4fbab5273304243b5d8c2cb",
"calibration_source_weights_sha256": "65e60f51aa1284d4fb022584908c315270334d991828bb774af60584523539d1"
},
"recipes": [
"reproduce/AD-IQ1_M.types",
"reproduce/AD-IQ1_S.types"
],
"quantizer_patch": "reproduce/q2_0-imatrix.patch",
"quantizer_patch_description": "Fit standard Q2_0 block scales using per-expert activation weights",
"commands": [
"llama-quantize --imatrix imatrix.gguf --tensor-type-file reproduce/AD-IQ1_M.types Inkling-2-Mini-BF16.gguf Inkling-2-Mini-AD-IQ1_M.gguf IQ1_M 9",
"llama-quantize --imatrix imatrix.gguf --tensor-type-file reproduce/AD-IQ1_S.types Inkling-2-Mini-BF16.gguf Inkling-2-Mini-AD-IQ1_S.gguf IQ1_S 9"
]
}
}
|