Inkling-2-Mini-GGUF / README.md
INTERPRETIC's picture
Model card: perplexity and DSpark speculative decoding
08d0a66 verified
|
Raw History Blame Contribute Delete
3.53 kB
---
license: apache-2.0
license_link: https://www.apache.org/licenses/LICENSE-2.0
library_name: gguf
pipeline_tag: image-text-to-text
base_model:
- thinkingmachines/Inkling-2-Mini
tags:
- inkling
- moe
- gguf
---
# Inkling-2-Mini-GGUF
[Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) is a multimodal looped mixture-of-experts model from Thinking Machines Lab: 26.4B parameters, 3.4B active (5.4B effective with three passes through the looped middle layers), text and image input, up to 1M tokens of context. This repository is an unmodified quantization of the official checkpoint (revision `1fb4134`).
GGUF Q4_K_M for llama.cpp and LM Studio, with the vision projector. Fits a single 24 GB GPU.
Other formats from INTERPRETIC AI: [GGUF Q4_K_M](https://huggingface.co/InterpreticAI/Inkling-2-Mini-GGUF) · [GGUF IQ3_XXS](https://huggingface.co/InterpreticAI/Inkling-2-Mini-IQ3_XXS-GGUF) · [MLX 4-bit](https://huggingface.co/InterpreticAI/Inkling-2-Mini-MLX-4bit)
## Files
| File | Description | Size |
|---|---|---|
| `Inkling-2-Mini-Q4_K_M.gguf` | Language model, Q4_K_M | 17.5 GB |
| `mmproj-Inkling-2-Mini-F16.gguf` | Vision projector, F16 | 0.64 GB |
| `Inkling-2-Mini-DSpark-Q8_0.gguf` | DSpark draft model for speculative decoding (optional), Q8_0 | 0.35 GB |
SHA-256 checksums are listed in `SHA256SUMS`.
## Usage
Requires llama.cpp with Inkling 2 Mini support (commit `29b52d3` or later).
```bash
llama-server -m Inkling-2-Mini-Q4_K_M.gguf \
--mmproj mmproj-Inkling-2-Mini-F16.gguf \
-ngl 999 -c 32768 --jinja
```
The `--mmproj` file is only needed for image input. Measured on one RTX PRO 6000: about 65 tokens/s single-stream generation.
### Speculative decoding (optional)
`Inkling-2-Mini-DSpark-Q8_0.gguf` is the official DSpark draft model of Inkling 2 Mini in GGUF form. The same file works with every Inkling 2 Mini GGUF here. llama.cpp mainline does not load it yet: it needs a build of pull request [#32218](https://github.com/ggml-org/llama.cpp/pull/32218) (commit `0a9105d`), and the draft format may still change before that pull request is merged.
```bash
llama-server -m Inkling-2-Mini-Q4_K_M.gguf \
--mmproj mmproj-Inkling-2-Mini-F16.gguf \
-md Inkling-2-Mini-DSpark-Q8_0.gguf --spec-type draft-dspark \
--spec-draft-n-max 3 --spec-draft-sampling greedy \
-ngl 999 -ngld 999 -c 32768 --jinja
```
Measured with IQ3_XXS on one RTX A4000, greedy: structured text (lists) 1.23x faster, with 66% of draft tokens accepted; code 1.06x. The gain depends on how predictable the text is.
## Perplexity
WikiText-2 (raw) test set, 4,096-token context, 76 chunks, second half of each chunk scored (the `llama-perplexity` method). Lower is better.
| Build | Perplexity | vs. original |
|---|---|---|
| Original checkpoint (NVFP4 / MXFP8) | 5.760 | – |
| GGUF Q4_K_M | 5.802 ± 0.034 | +0.7% |
| GGUF IQ3_XXS | 5.973 ± 0.035 | +3.7% |
## Notes
- Inkling 2 Mini is a thinking model: it writes its reasoning before the answer. Use a chat client or server that applies the model's chat template.
- Besides perplexity, quality checks are spot checks (English, Chinese, code and one image).
- Support for this architecture is new in all runtimes. Use a recent build.
## License
Apache 2.0, as the original model. See the [model card of Thinking Machines Lab](https://huggingface.co/thinkingmachines/Inkling-2-Mini) and its [acceptable use policy](https://thinkingmachines.ai/model-acceptable-use-policy/).
INTERPRETIC AI · [interpretic.ai](https://interpretic.ai)