Add README and benchmark/visual cards
Browse files- .gitattributes +3 -0
- README.md +81 -0
- banner.png +0 -0
- bench_ab_gsq.png +3 -0
- bench_quality.png +3 -0
- bench_threejs.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
bench_ab_gsq.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
bench_quality.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
bench_threejs.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- thinkingmachines/Inkling-2-Mini
|
| 5 |
+
- Ex0bit/Inkblot-2-mini
|
| 6 |
+
tags:
|
| 7 |
+
- gguf
|
| 8 |
+
- inkling2
|
| 9 |
+
- moe
|
| 10 |
+
- coding
|
| 11 |
+
- vision
|
| 12 |
+
- llama.cpp
|
| 13 |
+
pipeline_tag: image-text-to-text
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+

|
| 17 |
+
|
| 18 |
+
# Ember-2-Mini (GGUF)
|
| 19 |
+
|
| 20 |
+
A 14 GB GGUF of Thinking Machines' [Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (26.4B total, 3.4B active), built to fit comfortably on a 16 GB GPU with long context and strong coding + Three.js output.
|
| 21 |
+
|
| 22 |
+
- **Works anywhere GGUF works:** tested in `llama.cpp` (b12681).
|
| 23 |
+
- **Fast path on NVIDIA:** pair it with the optional [Ember engine](https://huggingface.co/Kryzern/ember-engine) for `113–197 tok/s` on an RTX 5070 Ti (vs `68 tok/s` in `llama.cpp` on the same card), static 128K context on 16 GB Windows, and `0.3s` native vision with `0 MiB` permanent VRAM overhead.
|
| 24 |
+
|
| 25 |
+
## Files in this repo
|
| 26 |
+
|
| 27 |
+
| File | Size | What it's for |
|
| 28 |
+
|---|---|---|
|
| 29 |
+
| `Ember-2-Mini.gguf` | 14.0 GB | Main model weights (experts `IQ3_S` / `IQ4_NL` on sensitive layers, attention `Q8_0`, output `Q6_K`) |
|
| 30 |
+
| `dflash2-Inkling-2-Mini-IQ4_NL.gguf` | 315 MiB | Optional `IQ4_NL` DFlash2 speculative drafter (259 MiB VRAM in Ember engine, converted from [`incoai/Inkling-2-Mini-DFlash2`](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2)) |
|
| 31 |
+
| `mmproj-Inkling-2-Mini-Q8_0.gguf` | 330 MiB | Optional `Q8_0` vision encoder (converted from `ISTA-DASLab`'s BF16 `mmproj`; `0 MiB` permanent VRAM in Ember engine, ~0.3s/image) |
|
| 32 |
+
|
| 33 |
+
Base weights are decoded losslessly to BF16 from the official `thinkingmachines/Inkling-2-Mini` checkpoint and blended with 40% [`Ex0bit/Inkblot-2-mini`](https://huggingface.co/Ex0bit/Inkblot-2-mini) (both Apache-2.0) before importance-matrix quantization.
|
| 34 |
+
|
| 35 |
+
## Quality & Benchmarks
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
|
| 39 |
+
All numbers below use the **exact same prompts, settings, and harness**: LiveCodeBench v6 (Jan–Apr 2025, 68 medium/hard problems), 10K thinking budget + forced answer, greedy decoding, Python unit tests run locally.
|
| 40 |
+
|
| 41 |
+
| LiveCodeBench v6 holdout (68 med/hard) | Pass |
|
| 42 |
+
|---|---|
|
| 43 |
+
| Official `Inkling-2-Mini` (unmodified NVFP4 API) | 35 / 68 (51.5%) |
|
| 44 |
+
| **Ember-2-Mini (this 14.0 GB GGUF)** | **43 / 68 (63.2%)** |
|
| 45 |
+
|
| 46 |
+
| Quantization fidelity vs original `Q8_0` (12K mixed text & code) | KLD | Top-1 agreement |
|
| 47 |
+
|---|---|---|
|
| 48 |
+
| Plain v6 quant (no blend, pure quant error) | 0.0129 | 96.4% |
|
| 49 |
+
| Ember-2-Mini (with 40% Inkblot blend) | 0.0221 | 95.5% |
|
| 50 |
+
| ISTA GSQ-RCO (`IQ3_S`, 11.4 GB) | 0.0249 | 95.1% |
|
| 51 |
+
|
| 52 |
+
The 40% Inkblot blend moves KLD up slightly on purpose. That blend is what adds +8 problems on LiveCodeBench (`10 won / 2 lost`, sign test `p = 0.04`).
|
| 53 |
+
|
| 54 |
+
## Visual Showcase (0-shot, no iteration, vision off)
|
| 55 |
+
|
| 56 |
+
Every scene below is a **single self-contained HTML file** generated 0-shot with **no visual iteration and vision turned off**, rendered in headless Chromium with 0 console errors:
|
| 57 |
+
|
| 58 |
+

|
| 59 |
+
|
| 60 |
+
Side-by-side comparison on the exact same prompt & settings (`0-shot`, no iteration, vision off):
|
| 61 |
+
|
| 62 |
+

|
| 63 |
+
|
| 64 |
+
## Quick start
|
| 65 |
+
|
| 66 |
+
### With Ember engine (fastest on NVIDIA, 113–197 tok/s + 0.3s vision)
|
| 67 |
+
Grab `ember-serve.exe` and `ember.bat` from [`Kryzern/ember-engine`](https://huggingface.co/Kryzern/ember-engine), drop them in the same folder as `Ember-2-Mini.gguf`, `dflash2-Inkling-2-Mini-IQ4_NL.gguf`, and `mmproj-Inkling-2-Mini-Q8_0.gguf`, and run `ember.bat`.
|
| 68 |
+
|
| 69 |
+
### With `llama.cpp`
|
| 70 |
+
```bash
|
| 71 |
+
llama-server -m Ember-2-Mini.gguf -ngl 99 -c 32768 -fa on --jinja
|
| 72 |
+
```
|
| 73 |
+
To enable vision in `llama.cpp` (use `--no-mmproj-offload` if you're tight on 16 GB VRAM):
|
| 74 |
+
```bash
|
| 75 |
+
llama-server -m Ember-2-Mini.gguf --mmproj mmproj-Inkling-2-Mini-Q8_0.gguf --no-mmproj-offload -ngl 99 -c 32768 -fa on --jinja
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
Recommended sampling: `temperature = 0.65–0.75`, `min_p = 0.05`.
|
| 79 |
+
|
| 80 |
+
## Credits
|
| 81 |
+
Huge thanks to **Thinking Machines** for `Inkling-2-Mini`, **Ex0bit** for `Inkblot-2-mini`, **incoai** for the DFlash2 drafter, **ISTA-DASLab** for the `mmproj` conversion, and the **llama.cpp** contributors.
|
banner.png
ADDED
|
bench_ab_gsq.png
ADDED
|
Git LFS Details
|
bench_quality.png
ADDED
|
Git LFS Details
|
bench_threejs.png
ADDED
|
Git LFS Details
|