davide221's picture
Upload README.md with huggingface_hub
1a9dd90 verified
|
Raw History Blame Contribute Delete
3.47 kB
---
license: apache-2.0
base_model: thinkingmachines/Inkling-2-Mini
tags:
- gguf
- inkling2
- inkling2_loop
- lucebox
- rocm
- speculative-decoding
- concise-reasoning
language:
- en
pipeline_tag: text-generation
---
# Inkling 2 Mini Fast (GGUF)
**2.01x faster end-to-end answers with +3.8% higher accuracy** for Thinking Machines Lab's [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (`26.4B` looped MoE).
Standard GGUF checkpoints that drop directly into [`luce_server`](https://github.com/Luce-Org/lucebox) and `llama.cpp` with **zero prompt, template, or runtime changes** — bundled with the official `mtp.safetensors` DSpark speculator.
## Released Files
| File | Precision | Size | Notes |
|---|---|---:|---|
| `Inkling-2-Mini-Fast-UD-Q8_K_XL.gguf` | Full Dynamic Q8 (`UD-Q8_K_XL`) | `21.3 GiB` | Highest precision; fits 24–32 GB GPUs and Strix Halo |
| `Inkling-2-Mini-Fast-IQ4_NL.gguf` | `IQ4_NL` MoE + `Q8_0` attn/coda/head | `16.4 GiB` | Verified benchmark build below (**114/130**, **2.01x faster**) |
| `Inkling-2-Mini-Fast-IQ4_NL-16GB.gguf` | Full `IQ4_NL` (attn/coda/head/MoE) | `14.0 GiB` | Custom-speed 4-bit build: **fits 16 GB GPUs** + **+17% AR decode** |
| `mtp.safetensors` | Official DSpark speculator | `607 MiB` | Place beside the GGUF for automatic speculative decoding in `luce_server` |
## Official Public Benchmarks
Measured head-to-head on one AMD Radeon AI PRO R9700 (`luce_server`, DSpark enabled, default reasoning effort, `temp=0.0`, zero prompt changes) across **130 official Hugging Face test questions**:
| Official Benchmark (`test` split) | Baseline (`IQ4_NL`) | **Inkling 2 Mini Fast (`IQ4_NL`)** | Accuracy Δ | Tokens Δ | Wall-Clock Speedup |
|---|---:|---:|---:|---:|---:|
| **`HuggingFaceH4/MATH-500`** (`0:40`, L1–5) | `31/40` (77.5%) · `210.1s` | **`33/40` (82.5%)** · **`106.3s`** | **`+5.0%`** | **`-50.0%`** | **`1.98x`** |
| **`openai/openai_humaneval`** (`0:40`, exec) | `38/40` (95.0%) · `186.5s` | **`38/40` (95.0%)** · **`84.5s`** | `0.0%` | **`-49.0%`** | **`2.21x`** |
| **`TIGER-Lab/MMLU-Pro`** (`0:50`, 10-way) | `40/50` (80.0%) · `271.1s` | **`43/50` (86.0%)** · **`141.9s`** | **`+6.0%`** | **`-51.3%`** | **`1.91x`** |
| **Combined (130 problems)** | `109/130` (83.8%) · `667.7s` | **`114/130` (87.7%)** · **`332.8s`** | **`+3.8%`** | **`-50.2%`** | **`2.01x`** |
- **HumanEval DSpark speed**: rose from `126.0` → **`141.9 tok/s`** while cutting thinking tokens by `74%` (`2.21x` faster wall clock).
- **MATH-500 truncations**: dropped from `5/40` → **`0/40`**.
- **General distribution preservation**: held-out generic prose KL divergence is **`0.023 nats`** (`93.4%` Top-1 agreement).
## Quick Start (`luce_server`)
```bash
hf download Lucebox/Inkling-2-Mini-Fast-GGUF \
Inkling-2-Mini-Fast-IQ4_NL.gguf mtp.safetensors --local-dir models/inkling2-fast
# Single R9700 (32 GB VRAM, up to 262K context)
./server/build/luce_server models/inkling2-fast/Inkling-2-Mini-Fast-IQ4_NL.gguf \
--target-device hip:0 --max-ctx 65536 --port 8080
# Dual-GPU Lucebox (R9700 + Strix Halo)
./server/build/luce_server models/inkling2-fast/Inkling-2-Mini-Fast-IQ4_NL.gguf \
--target-device hip:0 --expert-device hip:1 --max-ctx auto --port 8080
```
## License & Attribution
Derivative of [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) by Thinking Machines Lab, released under the **Apache 2.0** license.