worthant commited on
Commit
af0a81b
·
verified ·
1 Parent(s): 39178a6

card: README.md

Browse files
Files changed (1) hide show
  1. README.md +54 -68
README.md CHANGED
@@ -1,134 +1,120 @@
1
  ---
2
  license: apache-2.0
3
- license_link: https://huggingface.co/thinkingmachines/Inkling/blob/main/LICENSE
4
- base_model:
5
- - thinkingmachines/Inkling
6
  base_model_relation: quantized
7
  quantized_by: AtomicChat
8
  pipeline_tag: text-generation
9
- library_name: gguf
10
  tags:
11
  - atomic-chat
12
  - inkling
13
  - thinking-machines
14
  - moe
15
- - multimodal
16
- - gguf
17
  - imatrix
18
  - quantized
19
  - llama.cpp
20
  ---
21
 
22
- <center>
 
 
23
 
24
- <div style="display:flex; justify-content:center; align-items:center; gap:2%; max-width:560px; margin:0 auto;">
25
- <a href="https://atomic.chat" style="flex:0 1 auto; min-width:0;"><img src="https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/pill_atomic_v3.png" alt="Atomic Chat" style="width:100%; height:auto; max-width:186px;"></a>
26
- <a href="https://discord.gg/8wGSsvmg4V" style="flex:0 1 auto; min-width:0;"><img src="https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/pill_discord_v3.png" alt="Join Discord" style="width:100%; height:auto; max-width:184px;"></a>
27
- <a href="https://github.com/AtomicBot-ai/Atomic-Chat" style="flex:0 1 auto; min-width:0;"><img src="https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/pill_github_v3.png" alt="GitHub" style="width:100%; height:auto; max-width:141px;"></a>
28
- </div>
29
 
30
- <br/>
31
 
32
- <img src="https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/hero.png" alt="Inkling" style="width:420px; max-width:100%; height:auto; margin-bottom:0.6em;"/>
33
-
34
- <div style="display:flex; justify-content:center; gap:0.5em;">
35
- <a href="https://huggingface.co/thinkingmachines/Inkling"><strong>Base model: thinkingmachines/Inkling</strong></a>
36
- </div>
37
- </center>
38
-
39
- **Inkling**, self-quantized to GGUF by [Atomic Chat](https://atomic.chat). Built straight from Thinking Machines' original weights with a per-tensor importance matrix, which we publish alongside the quants. Runs fully offline, including a 1-bit build that brings this 975B model down to 226GB.
40
 
41
  ## Highlights
42
 
43
- - **975B parameters with 41B active**: a sparse Mixture-of-Experts backbone with 256 experts, top-6 routed per token plus 2 shared experts always on.
44
- - **1M context** across 66 decoder layers that alternate sliding-window and global attention in a 5:1 pattern.
45
- - **Relative attention instead of RoPE**: each attention layer learns position directly in the attention logits via a per-token, per-head relative feature.
46
- - **Natively multimodal** (image, text and audio in, text out) with a hierarchical MLP patchifier for vision and a discretized mel spectrogram for audio. These GGUF quants cover the text path.
47
- - **Frontier scores** (Thinking Machines-reported): AIME 2026 97.1, VoiceBench 91.4, GPQA Diamond 87.2, SWEBench Verified 77.6, MMMU Pro 73.3.
48
- - **Built for reasoning across modalities**, agentic and tool-use systems, and domain adaptation via fine-tuning.
49
- - **Full imatrix quantization** over [`calibration_datav3`](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8), down to a 1-bit `IQ1_M`.
50
 
51
- > [!NOTE]
52
  > 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.
 
 
 
53
 
54
- > [!IMPORTANT]
55
- > Always pass `--jinja` so the **Inkling chat template** is applied. Without it the model can emit malformed turns.
56
 
57
  ## Model Overview
58
 
59
  | Property | Value |
60
- |---|---|
61
  | Base model | `thinkingmachines/Inkling` |
62
  | Total / active parameters | 975B total / 41B active |
63
- | Layers | 66, alternating sliding-window and global attention (5:1) |
64
- | Experts | 256 experts, top-6 routed + 2 shared always active |
65
- | Context length | 1M |
66
- | Architecture | Decoder-only sparse MoE transformer; relative attention in the logits (no RoPE); natively multimodal (hierarchical patchifier for vision, discretized mel for audio) |
67
- | This repo | GGUF quants (imatrix), text path: `IQ1_M` at 1-bit, `MXFP4`, and `Q8_0` for reference. Files are multi-part; the importance matrix we built is published here too. |
68
 
69
- <img src="https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/benchmark.png" alt="Inkling benchmark scores" style="width:100%; max-width:900px;"/>
70
-
71
- Scores are Thinking Machines's published results for the base `thinkingmachines/Inkling`. Quantization preserves the large majority of this; `Q4_K_M` and up sit within a point or two of full precision.
72
 
 
73
 
74
  ## Choosing a quant
75
 
76
  | Quant | Size | Notes |
77
- |---|---|---|
78
- | **`IQ1_M`** | 226 GB | **Smallest. 1-bit imatrix build that brings the 975B model down to 226GB. Expect quality tradeoffs at this bitrate.** |
79
- | **`MXFP4`** | 514 GB | **4-bit MXFP4. The balanced pick: far closer to reference than 1-bit, at half the size of Q8_0.** |
80
- | `Q8_0` | 1006 GB | Effectively lossless, reference quality. For rigs that can hold the full thing. |
81
 
82
  ## Get started
83
 
84
- Inkling is a 975B model, so each quant ships as a **multi-part GGUF** inside its own folder (`IQ1_M-final/`, `MXFP4/`, `Q8_0/`). Pull the folder you want, then point llama.cpp at the **first shard** and it loads the rest automatically.
85
-
86
- - **[Atomic Chat](https://atomic.chat):** the easiest path. Open the app, search `AtomicChat/Inkling-GGUF`, pick a quant, hit **Use this model**.
87
-
88
- Download one quant:
89
 
90
  ```bash
91
- hf download AtomicChat/Inkling-GGUF --include "MXFP4/*" --local-dir Inkling
92
  ```
93
 
94
- Run it:
95
 
96
  ```bash
97
- llama-server -m Inkling/MXFP4/Inkling-Atomic-MXFP4-00001-of-00013.gguf \
98
- --jinja -ngl 99 -c 8192 -fa on
99
  ```
100
 
 
 
 
 
101
  ## Best practices
102
 
103
- | Parameter | Value |
104
- |---|---|
105
- | temperature | 1.0 |
106
- | top_p | 1.0 |
107
 
108
- Thinking Machines does not publish recommended sampling settings for Inkling. These are neutral starting points, so tune them for your task.
 
109
 
110
  ## Run in llama.cpp
111
 
 
 
112
  ```bash
113
- git clone https://github.com/ggerganov/llama.cpp
114
- cmake llama.cpp -B llama.cpp/build -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
115
- cmake --build llama.cpp/build --config Release -j --target llama-cli llama-server
 
 
116
  ```
117
 
118
  ```bash
119
- ./llama.cpp/build/bin/llama-server \
120
- -hf AtomicChat/Inkling-GGUF:IQ1_M \
121
  --jinja -ngl 99 -c 8192 -fa on
122
  ```
123
 
124
  ## How these were made
125
 
126
- 1. Download `thinkingmachines/Inkling` (original weights).
127
- 2. Convert to GGUF with a [llama.cpp](https://github.com/ggerganov/llama.cpp) build that supports the Inkling architecture (banded relative attention, hybrid sliding-window and global layers).
128
- 3. Build an importance matrix over `calibration_datav3`. We publish it in this repo under `imatrix/`.
129
- 4. Quantize with `--imatrix`: `Q8_0` as the reference, `MXFP4` for balance, and `IQ1_M` for the smallest footprint that keeps this 975B model coherent.
130
 
131
  ## License
132
 
133
  Released by Thinking Machines Lab under the Apache 2.0 license. Quantized by Atomic Chat.
134
-
 
1
  ---
2
  license: apache-2.0
3
+ base_model: thinkingmachines/Inkling
 
 
4
  base_model_relation: quantized
5
  quantized_by: AtomicChat
6
  pipeline_tag: text-generation
 
7
  tags:
8
  - atomic-chat
9
  - inkling
10
  - thinking-machines
11
  - moe
 
 
12
  - imatrix
13
  - quantized
14
  - llama.cpp
15
  ---
16
 
17
+ [![Atomic Chat](https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/pill_atomic_v3.png)](https://atomic.chat)
18
+ [![Join Discord](https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/pill_discord_v3.png)](https://discord.gg/8wGSsvmg4V)
19
+ [![GitHub](https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/pill_github_v3.png)](https://github.com/AtomicBot-ai/Atomic-Chat)
20
 
21
+ ![Inkling](https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/hero.png)
 
 
 
 
22
 
23
+ [**Base model: thinkingmachines/Inkling**](https://huggingface.co/thinkingmachines/Inkling)
24
 
25
+ **Inkling** (Thinking Machines Lab), self-quantized to GGUF by [Atomic Chat](https://atomic.chat). Built straight from Thinking Machines' original BF16 weights with a per-tensor importance matrix. Runs fully offline, including a 1-bit build that brings this 975B model down to 226 GB.
 
 
 
 
 
 
 
26
 
27
  ## Highlights
28
 
29
+ - **975B-parameter MoE with 41B active**: each token is routed to 6 of 256 experts, plus 2 shared experts active on every token, across a 66-layer decoder.
30
+ - **Context up to 1M tokens** with a hybrid of local and global attention layers.
31
+ - **Natively multimodal base**: the original model reasons over text, images and audio in a shared hidden space. This repo ships the text path.
32
+ - **Strong reasoning scores** (Thinking Machines-reported, effort=0.99): AIME 2026 97.1, GPQA Diamond 87.2, SWEBench Verified 77.6.
33
+ - **Built to be fine-tuned**: Thinking Machines positions Inkling as a base for domain adaptation, released under Apache 2.0.
34
+ - **Full imatrix quantization over a code corpus**, including a 1-bit `IQ1_M` and an `MXFP4` build with Q8 attention and routing.
 
35
 
 
36
  > 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.
37
+ > Always pass `--jinja` so the **Inkling chat template** (interleaved thinking and tool calls) is applied. Without it the model can emit malformed turns.
38
+
39
+ > **Support status:** the `inkling` architecture is not yet in a mainline llama.cpp release. Until [PR #25731](https://github.com/ggml-org/llama.cpp/pull/25731) is merged, build llama.cpp from that PR (instructions below). Standard Ollama / LM Studio flows will work once support lands upstream.
40
 
41
+ > This repo ships the **text path only**: no vision or audio projector (`mmproj`) is included. For multimodal use, run the original weights.
 
42
 
43
  ## Model Overview
44
 
45
  | Property | Value |
46
+ | --- | --- |
47
  | Base model | `thinkingmachines/Inkling` |
48
  | Total / active parameters | 975B total / 41B active |
49
+ | Layers | 66 |
50
+ | Experts | 256 routed (top-6) + 2 shared, active on every token |
51
+ | Context length | up to 1M tokens |
52
+ | Architecture | Decoder-only Mixture-of-Experts, hybrid local/global attention, natively multimodal (text, image, audio in; text out) |
53
+ | This repo | GGUF quants (imatrix), text path: `Q8_0` reference, `MXFP4` with Q8 attention/routing, and a 1-bit `IQ1_M` (226 GB) |
54
 
55
+ ![Inkling benchmark scores](https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/benchmark.png)
 
 
56
 
57
+ Scores are Thinking Machines' published results for the base `thinkingmachines/Inkling`, reported at thinking effort 0.99. Quantization preserves the large majority of this; low-bit builds trade some quality for size.
58
 
59
  ## Choosing a quant
60
 
61
  | Quant | Size | Notes |
62
+ | --- | --- | --- |
63
+ | **`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.** |
64
+ | **`MXFP4`** | 479 GB | **Recommended for quality. 4.34 bits per weight: expert FFN weights in MXFP4, with attention, expert router and shared experts held at Q8_0.** |
65
+ | `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. |
66
 
67
  ## Get started
68
 
69
+ Inkling needs a llama.cpp build with the `inkling` architecture (see **Run in llama.cpp** below). Then:
 
 
 
 
70
 
71
  ```bash
72
+ ./build/bin/llama-server -hf AtomicChat/Inkling-GGUF:IQ1_M --jinja -c 8192
73
  ```
74
 
75
+ Or download a quant explicitly:
76
 
77
  ```bash
78
+ hf download AtomicChat/Inkling-GGUF --include "IQ1_M-final/*" --local-dir Inkling-GGUF
79
+ # "MXFP4/*" for 4-bit, "Q8_0/*" for the reference build
80
  ```
81
 
82
+ <!-- Atomic Chat: раскомментируй, когда билд приложения включает поддержку inkling (PR #25731)
83
+ - **[Atomic Chat](https://atomic.chat):** the easiest path. Open the app, search `AtomicChat/Inkling-GGUF`, pick a quant, hit **Use this model**.
84
+ -->
85
+
86
  ## Best practices
87
 
88
+ Thinking Machines does not publish recommended sampler settings for local inference. Two things do matter:
 
 
 
89
 
90
+ - Always pass `--jinja`. The Inkling template carries the model's interleaved thinking and tool-call blocks; without it output breaks.
91
+ - Benchmark numbers above are reported at **thinking effort 0.99**. Inkling's thinking effort is adjustable, so shorter-thinking runs will score below the chart.
92
 
93
  ## Run in llama.cpp
94
 
95
+ Inkling support lives in [PR #25731](https://github.com/ggml-org/llama.cpp/pull/25731) until it is merged upstream:
96
+
97
  ```bash
98
+ git clone https://github.com/ggml-org/llama.cpp
99
+ cd llama.cpp
100
+ gh pr checkout 25731
101
+ cmake -B build -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
102
+ cmake --build build --config Release -j --target llama-cli llama-server
103
  ```
104
 
105
  ```bash
106
+ ./build/bin/llama-server \
107
+ -hf AtomicChat/Inkling-GGUF:MXFP4 \
108
  --jinja -ngl 99 -c 8192 -fa on
109
  ```
110
 
111
  ## How these were made
112
 
113
+ 1. Download `thinkingmachines/Inkling` (original BF16 weights, about 2 TB).
114
+ 2. Convert to GGUF with llama.cpp built from [PR #25731](https://github.com/ggml-org/llama.cpp/pull/25731), which adds the `inkling` architecture.
115
+ 3. Produce a `Q8_0` reference and compute an importance matrix over an 18 MB code corpus (Linux, CPython, Rust and llama.cpp sources), 7,040 chunks of 512 tokens, with 93-99% expert activation coverage. The imatrix files are published in [`imatrix/`](https://huggingface.co/AtomicChat/Inkling-GGUF/tree/main/imatrix).
116
+ 4. Quantize with `--imatrix`: `MXFP4` for expert FFNs with attention, router and shared experts at Q8_0, and `IQ1_M` with the same Q8 overlay for the smallest coherent build.
117
 
118
  ## License
119
 
120
  Released by Thinking Machines Lab under the Apache 2.0 license. Quantized by Atomic Chat.