worthant commited on
Commit
c4c9f21
·
verified ·
1 Parent(s): 8a0debe

forge: regenerate the model card

Browse files
Files changed (1) hide show
  1. README.md +51 -110
README.md CHANGED
@@ -1,20 +1,21 @@
1
  ---
2
  license: apache-2.0
 
 
3
  base_model:
4
- - thinkingmachines/Inkling
5
  base_model_relation: quantized
6
  quantized_by: AtomicChat
7
  pipeline_tag: text-generation
8
  library_name: gguf
9
  tags:
10
- - atomic-chat
11
- - inkling
12
- - thinking-machines
13
- - moe
14
- - gguf
15
- - imatrix
16
- - quantized
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:380px; max-width:100%; height:auto; margin-bottom:0.6em;"/>
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), self-quantized to GGUF by
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
- - **975B-parameter MoE with 41B active**: each token is routed to 6 of 256
45
- experts, plus 2 shared experts active on every token, across a 66-layer
46
- decoder.
47
- - **Context up to 1M tokens** with a hybrid of local and global attention
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
- ## Model Overview
 
75
 
76
- | Property | Value |
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
- <img src="https://huggingface.co/AtomicChat/Inkling-GGUF/resolve/main/benchmark.png" alt="Inkling benchmark scores" style="width:100%; max-width:900px;"/>
87
 
88
- Scores are Thinking Machines' published results for the base
89
- `thinkingmachines/Inkling`, reported at thinking effort 0.99. Quantization
90
- preserves the large majority of this; low-bit builds trade some quality for
91
- size.
 
 
 
 
 
 
 
92
 
93
- ## Choosing a quant
94
 
95
- | Quant | Size | Notes |
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 needs a llama.cpp build with the `inkling` architecture (see **Run in
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
- Thinking Machines does not publish recommended sampler settings for local
124
- inference. Two things do matter:
 
125
 
126
- - Always pass `--jinja`. The Inkling template carries the model's interleaved
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
- cd llama.cpp
141
- gh pr checkout 25731
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:MXFP4 \
149
  --jinja -ngl 99 -c 8192 -fa on
150
  ```
151
 
152
  ## How these were made
153
 
154
- 1. Download `thinkingmachines/Inkling` (original BF16 weights, about 2 TB).
155
- 2. Convert to GGUF with llama.cpp built from
156
- [PR #25731](https://github.com/ggml-org/llama.cpp/pull/25731), which adds the
157
- `inkling` architecture.
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
- Released by Thinking Machines Lab under the Apache 2.0 license. Quantized by
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.