Text Generation
GGUF
atomic-chat
inkling
thinkingmachines
llama.cpp
imatrix
quantized
conversational
Instructions to use AtomicChat/Inkling-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 AtomicChat/Inkling-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 AtomicChat/Inkling-GGUF:IQ1_M # Run inference directly in the terminal: llama cli -hf AtomicChat/Inkling-GGUF:IQ1_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AtomicChat/Inkling-GGUF:IQ1_M # Run inference directly in the terminal: llama cli -hf AtomicChat/Inkling-GGUF:IQ1_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf AtomicChat/Inkling-GGUF:IQ1_M # Run inference directly in the terminal: ./llama-cli -hf AtomicChat/Inkling-GGUF:IQ1_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf AtomicChat/Inkling-GGUF:IQ1_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf AtomicChat/Inkling-GGUF:IQ1_M
Use Docker
docker model run hf.co/AtomicChat/Inkling-GGUF:IQ1_M
- LM Studio
- Jan
- vLLM
How to use AtomicChat/Inkling-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AtomicChat/Inkling-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": "AtomicChat/Inkling-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AtomicChat/Inkling-GGUF:IQ1_M
- Ollama
How to use AtomicChat/Inkling-GGUF with Ollama:
ollama run hf.co/AtomicChat/Inkling-GGUF:IQ1_M
- Unsloth Desktop
- Pi
How to use AtomicChat/Inkling-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/Inkling-GGUF:IQ1_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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AtomicChat/Inkling-GGUF:IQ1_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AtomicChat/Inkling-GGUF with Docker Model Runner:
docker model run hf.co/AtomicChat/Inkling-GGUF:IQ1_M
- Lemonade
How to use AtomicChat/Inkling-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AtomicChat/Inkling-GGUF:IQ1_M
Run and chat with the model
lemonade run user.Inkling-GGUF-IQ1_M
List all available models
lemonade list
- Hermes Agent
How to use AtomicChat/Inkling-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 AtomicChat/Inkling-GGUF:IQ1_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:8080/v1 hermes config set model.default AtomicChat/Inkling-GGUF:IQ1_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AtomicChat/Inkling-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/Inkling-GGUF:IQ1_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:8080/v1 \ --custom-model-id "AtomicChat/Inkling-GGUF:IQ1_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"
forge: regenerate the model card
Browse files
README.md
CHANGED
|
@@ -1,20 +1,21 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
| 3 |
base_model:
|
| 4 |
-
|
| 5 |
base_model_relation: quantized
|
| 6 |
quantized_by: AtomicChat
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
library_name: gguf
|
| 9 |
tags:
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
- llama.cpp
|
| 18 |
---
|
| 19 |
|
| 20 |
<center>
|
|
@@ -27,144 +28,84 @@ tags:
|
|
| 27 |
|
| 28 |
<br/>
|
| 29 |
|
| 30 |
-
<img src="https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/hero.png" alt="Inkling" style="width:
|
| 31 |
|
| 32 |
<div style="display:flex; justify-content:center; gap:0.5em;">
|
| 33 |
<a href="https://huggingface.co/thinkingmachines/Inkling"><strong>Base model: thinkingmachines/Inkling</strong></a>
|
| 34 |
</div>
|
| 35 |
</center>
|
| 36 |
|
| 37 |
-
**Inkling** (Thinking Machines Lab
|
| 38 |
-
[Atomic Chat](https://atomic.chat). Built straight from Thinking Machines'
|
| 39 |
-
original BF16 weights with a per-tensor importance matrix. Runs fully offline,
|
| 40 |
-
including a 1-bit build that brings this 975B model down to 226 GB.
|
| 41 |
|
| 42 |
## Highlights
|
| 43 |
|
| 44 |
-
- **
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
- **
|
| 48 |
-
layers.
|
| 49 |
-
- **Natively multimodal base**: the original model reasons over text, images and
|
| 50 |
-
audio in a shared hidden space. This repo ships the text path.
|
| 51 |
-
- **Strong reasoning scores** (Thinking Machines-reported, effort=0.99): AIME
|
| 52 |
-
2026 97.1, GPQA Diamond 87.2, SWEBench Verified 77.6.
|
| 53 |
-
- **Built to be fine-tuned**: Thinking Machines positions Inkling as a base for
|
| 54 |
-
domain adaptation, released under Apache 2.0.
|
| 55 |
-
- **Full imatrix quantization over a code corpus**, including a 1-bit `IQ1_M`
|
| 56 |
-
and an `MXFP4` build with Q8 attention and routing.
|
| 57 |
-
|
| 58 |
-
> [!NOTE] These GGUFs are **self-quantized from the original weights**, not a
|
| 59 |
-
> repack. The importance matrix keeps low-bit quants closer to the
|
| 60 |
-
> full-precision model.
|
| 61 |
-
|
| 62 |
-
> [!IMPORTANT] Always pass `--jinja` so the **Inkling chat template**
|
| 63 |
-
> (interleaved thinking and tool calls) is applied. Without it the model can
|
| 64 |
-
> emit malformed turns.
|
| 65 |
-
|
| 66 |
-
> [!IMPORTANT] The `inkling` architecture is not yet in a mainline llama.cpp
|
| 67 |
-
> release. Until [PR #25731](https://github.com/ggml-org/llama.cpp/pull/25731)
|
| 68 |
-
> is merged, build llama.cpp from that PR (instructions below). Standard Ollama
|
| 69 |
-
> / LM Studio flows will work once support lands upstream.
|
| 70 |
-
|
| 71 |
-
> [!NOTE] This repo ships the **text path only**: no vision or audio projector
|
| 72 |
-
> (`mmproj`) is included. For multimodal use, run the original weights.
|
| 73 |
|
| 74 |
-
|
|
|
|
| 75 |
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
| Base model | `thinkingmachines/Inkling` |
|
| 79 |
-
| Total / active parameters | 975B total / 41B active |
|
| 80 |
-
| Layers | 66 |
|
| 81 |
-
| Experts | 256 routed (top-6) + 2 shared, active on every token |
|
| 82 |
-
| Context length | up to 1M tokens |
|
| 83 |
-
| Architecture | Decoder-only Mixture-of-Experts, hybrid local/global attention, natively multimodal (text, image, audio in; text out) |
|
| 84 |
-
| This repo | GGUF quants (imatrix), text path: `Q8_0` reference, `MXFP4` with Q8 attention/routing, and a 1-bit `IQ1_M` (226 GB) |
|
| 85 |
|
| 86 |
-
|
| 87 |
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
-
|
| 94 |
|
| 95 |
-
|
| 96 |
-
| ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 97 |
-
| **`IQ1_M`** | 226 GB | **Smallest. 1-bit imatrix build that makes a 975B model runnable on a single big-RAM server (about 226 GB plus context). Expect quality tradeoffs; reasoning still works.** |
|
| 98 |
-
| **`MXFP4`** | 514 GB | **Recommended for quality. Expert FFN weights in the 4-bit MXFP4 block format, with attention, expert router and shared experts held at Q8_0.** |
|
| 99 |
-
| `Q8_0` | 1.01 TB | Reference quality, near-lossless. Also the substrate our importance matrix was computed on. For large multi-node or big-RAM setups. |
|
| 100 |
|
| 101 |
## Get started
|
| 102 |
|
| 103 |
-
Inkling
|
| 104 |
-
llama.cpp** below). Then:
|
| 105 |
-
|
| 106 |
-
```bash
|
| 107 |
-
./build/bin/llama-server -hf AtomicChat/Inkling-GGUF:IQ1_M --jinja -c 8192
|
| 108 |
-
```
|
| 109 |
-
|
| 110 |
-
Or download a quant explicitly:
|
| 111 |
-
|
| 112 |
-
```bash
|
| 113 |
-
hf download AtomicChat/Inkling-GGUF --include "IQ1_M-final/*" --local-dir Inkling-GGUF
|
| 114 |
-
# "MXFP4/*" for 4-bit, "Q8_0/*" for the reference build
|
| 115 |
-
```
|
| 116 |
|
| 117 |
-
<!-- Atomic Chat: uncomment once the app engine includes inkling support (PR #25731)
|
| 118 |
- **[Atomic Chat](https://atomic.chat):** the easiest path. Open the app, search `AtomicChat/Inkling-GGUF`, pick a quant, hit **Use this model**.
|
| 119 |
-
--
|
|
|
|
|
|
|
| 120 |
|
| 121 |
## Best practices
|
| 122 |
|
| 123 |
-
|
| 124 |
-
|
|
|
|
| 125 |
|
| 126 |
-
|
| 127 |
-
thinking and tool-call blocks; without it output breaks.
|
| 128 |
-
- Benchmark numbers above are reported at **thinking effort 0.99**. Inkling's
|
| 129 |
-
thinking effort is adjustable, so shorter-thinking runs will score below the
|
| 130 |
-
chart.
|
| 131 |
|
| 132 |
## Run in llama.cpp
|
| 133 |
|
| 134 |
-
Inkling support lives in
|
| 135 |
-
[PR #25731](https://github.com/ggml-org/llama.cpp/pull/25731) until it is merged
|
| 136 |
-
upstream:
|
| 137 |
-
|
| 138 |
```bash
|
| 139 |
git clone https://github.com/ggml-org/llama.cpp
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
cmake -B build -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
|
| 143 |
-
cmake --build build --config Release -j --target llama-cli llama-server
|
| 144 |
```
|
| 145 |
|
| 146 |
```bash
|
| 147 |
-
./build/bin/llama-server \
|
| 148 |
-
-hf AtomicChat/Inkling-GGUF:
|
| 149 |
--jinja -ngl 99 -c 8192 -fa on
|
| 150 |
```
|
| 151 |
|
| 152 |
## How these were made
|
| 153 |
|
| 154 |
-
1. Download `thinkingmachines/Inkling` (original
|
| 155 |
-
2. Convert to GGUF with llama.cpp
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
3. Produce a `Q8_0` reference and compute an importance matrix over an 18 MB
|
| 159 |
-
code corpus (Linux, CPython, Rust and llama.cpp sources), 7,040 chunks of 512
|
| 160 |
-
tokens, with 93-99% expert activation coverage. The imatrix files are
|
| 161 |
-
published in
|
| 162 |
-
[`imatrix/`](https://huggingface.co/AtomicChat/Inkling-GGUF/tree/main/imatrix).
|
| 163 |
-
4. Quantize with `--imatrix`: `MXFP4` for expert FFNs with attention, router and
|
| 164 |
-
shared experts at Q8_0, and `IQ1_M` with the same Q8 overlay for the smallest
|
| 165 |
-
coherent build.
|
| 166 |
|
| 167 |
## License
|
| 168 |
|
| 169 |
-
|
| 170 |
-
Atomic Chat.
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
license_link: https://www.apache.org/licenses/LICENSE-2.0
|
| 4 |
+
thumbnail: https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/hero.png
|
| 5 |
base_model:
|
| 6 |
+
- thinkingmachines/Inkling
|
| 7 |
base_model_relation: quantized
|
| 8 |
quantized_by: AtomicChat
|
| 9 |
pipeline_tag: text-generation
|
| 10 |
library_name: gguf
|
| 11 |
tags:
|
| 12 |
+
- atomic-chat
|
| 13 |
+
- inkling
|
| 14 |
+
- thinkingmachines
|
| 15 |
+
- gguf
|
| 16 |
+
- llama.cpp
|
| 17 |
+
- imatrix
|
| 18 |
+
- quantized
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
<center>
|
|
|
|
| 28 |
|
| 29 |
<br/>
|
| 30 |
|
| 31 |
+
<img src="https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/hero.png" alt="Inkling" style="width:100%; max-width:100%; height:auto; margin-bottom:0.6em;"/>
|
| 32 |
|
| 33 |
<div style="display:flex; justify-content:center; gap:0.5em;">
|
| 34 |
<a href="https://huggingface.co/thinkingmachines/Inkling"><strong>Base model: thinkingmachines/Inkling</strong></a>
|
| 35 |
</div>
|
| 36 |
</center>
|
| 37 |
|
| 38 |
+
**Inkling**, self-quantized to GGUF by [Atomic Chat](https://atomic.chat). Built straight from Thinking Machines Lab's original weights with a per-tensor importance matrix, so this is not a repack of somebody else's files. Runs fully offline.
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
## Highlights
|
| 41 |
|
| 42 |
+
- **952.4B parameters**: the weights this repo quantizes.
|
| 43 |
+
- **66 layers**: Mixture-of-Experts.
|
| 44 |
+
- **Modalities**: the base model handles Text, Image, Audio; this repo ships text-only quants, it carries no vision projector.
|
| 45 |
+
- **Full imatrix ladder**: every quant is calibrated with an importance matrix, published here alongside the quants.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
> [!NOTE]
|
| 48 |
+
> These GGUFs are **self-quantized from the original weights**, not a repack. The importance matrix keeps low-bit quants closer to the full-precision model.
|
| 49 |
|
| 50 |
+
> [!IMPORTANT]
|
| 51 |
+
> Always pass `--jinja` so the **Inkling chat template** is applied. Without it the model can emit malformed turns.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
+
## Model Overview
|
| 54 |
|
| 55 |
+
| Property | Value |
|
| 56 |
+
|---|---|
|
| 57 |
+
| Base model | `thinkingmachines/Inkling` |
|
| 58 |
+
| Parameters | 952.4B |
|
| 59 |
+
| Layers | 66 |
|
| 60 |
+
| Experts | 256 routed (top-6) |
|
| 61 |
+
| Context length | not stated |
|
| 62 |
+
| Vocabulary | 201,024 |
|
| 63 |
+
| Modalities | Text, Image, Audio in the base model; text only in this repo, it ships no vision projector |
|
| 64 |
+
| Architecture | Mixture-of-Experts, 256 experts (top-6), 64 attention heads over 8 KV heads, `InklingForConditionalGeneration` |
|
| 65 |
+
| This repo | GGUF quants (imatrix); the importance matrix is published here as `imatrix/imatrix-code-at_128.gguf` |
|
| 66 |
|
| 67 |
+
<img src="https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/benchmark.png" alt="Inkling benchmark scores" style="width:100%; max-width:900px;"/>
|
| 68 |
|
| 69 |
+
Scores are Thinking Machines Lab's published results for the base `thinkingmachines/Inkling`, not our own measurements. Quantization preserves the large majority of this; `Q4_K_M` and up stay close to full precision.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
## Get started
|
| 72 |
|
| 73 |
+
Run Inkling locally with:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
|
|
|
| 75 |
- **[Atomic Chat](https://atomic.chat):** the easiest path. Open the app, search `AtomicChat/Inkling-GGUF`, pick a quant, hit **Use this model**.
|
| 76 |
+
- **llama.cpp:** `llama-server -hf AtomicChat/Inkling-GGUF:None --jinja -c 8192`
|
| 77 |
+
- **Ollama:** `ollama run hf.co/AtomicChat/Inkling-GGUF:None`
|
| 78 |
+
- **LM Studio / Jan:** search the repo id, download any quant.
|
| 79 |
|
| 80 |
## Best practices
|
| 81 |
|
| 82 |
+
| Parameter | Value |
|
| 83 |
+
|---|---|
|
| 84 |
+
| sampling defaults | not stated |
|
| 85 |
|
| 86 |
+
The base model card does not state sampling defaults.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
## Run in llama.cpp
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
```bash
|
| 91 |
git clone https://github.com/ggml-org/llama.cpp
|
| 92 |
+
cmake llama.cpp -B llama.cpp/build -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
|
| 93 |
+
cmake --build llama.cpp/build --config Release -j --target llama-cli llama-server
|
|
|
|
|
|
|
| 94 |
```
|
| 95 |
|
| 96 |
```bash
|
| 97 |
+
./llama.cpp/build/bin/llama-server \
|
| 98 |
+
-hf AtomicChat/Inkling-GGUF:None \
|
| 99 |
--jinja -ngl 99 -c 8192 -fa on
|
| 100 |
```
|
| 101 |
|
| 102 |
## How these were made
|
| 103 |
|
| 104 |
+
1. Download `thinkingmachines/Inkling` (original weights).
|
| 105 |
+
2. Convert to f16 GGUF with [llama.cpp](https://github.com/ggml-org/llama.cpp).
|
| 106 |
+
3. Build an importance matrix over our calibration corpus, published here as `imatrix/imatrix-code-at_128.gguf`.
|
| 107 |
+
4. Quantize the ladder with `--imatrix`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
## License
|
| 110 |
|
| 111 |
+
Original model by Thinking Machines Lab, released under the Apache 2.0 license. Full terms: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0). Quantized by Atomic Chat.
|
|
|