Run this model with HF Jobs

Run saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
File size: 7,456 Bytes
206553b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---

base_model: thinkingmachines/Inkling-2-Mini
license: apache-2.0
license_link: https://www.apache.org/licenses/LICENSE-2.0
pipeline_tag: image-text-to-text
library_name: transformers
tags:
- inkling2
- moe
- expert-pruning
- la-reap
- reap
- looped-transformer
- multimodal
- vision
- code
- coder
- tool-calling
- domain-specialized
---


# Inkling-2-Mini-LA-REAP-64E-Coder

**Loop-Aware REAP (LA-REAP)** pruned checkpoint of [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (`c9d028302cd0`), uniformly compressed from `128 -> 64` routed experts per layer (50.0% expert sparsity, ~14.15B total parameters) while preserving native NVFP4/MXFP8 storage precision, vision projector compatibility, and DSpark speculative drafter (`mtp.safetensors`).

**Code, Tool-Calling & Terminal Agent Specialist (`v1.1.0`)**: Calibrated with 600 decontaminated sequences (`60%` code, `20%` tool-calling, `10%` math, `10%` UI) and healed via 80-step zero-overfit router/cross-pass KL-distillation (`CodeKLD 0.2147 -> 0.1879`).

- **GGUF + Vision + DSpark Release:** [`saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder-GGUF`](https://huggingface.co/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder-GGUF)
- **Code & Reproduction Toolkit:** [`inkling-prune`](https://github.com/saim-x/inkling-prune)
- **Author:** Muhammad Saim (`x_aci@hotmail.com`)

## Download

```bash

hf download saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder --local-dir ./Inkling-2-Mini-LA-REAP-64E-Coder

```

## Verified Evaluation Results

### Wave 2 (`v1.1.0`) — General Sparsity Cliff (`128E → 96E → 80E → 64E`, Unhealed Tier-0)

| Experts (Sparsity) | Mean KLD ↓ | Top-1 Agree ↑ | WikiText-2 PPL ↓ | Code KLD ↓ | ARC-Challenge (250) ↑ | MMLU-Pro 10-way (200) ↑ |
|---|---:|---:|---:|---:|---:|---:|
| `128E` (0.0%) | 0.0496 | 98.47% | 9.092 | 0.0034 | 95.2% | 36.5% |
| `96E` (25.0%) | 0.4397 | 83.12% | 10.945 | 0.0760 | 93.6% | 15.0% |
| `80E` (37.5%) | 0.6503 | 78.83% | 12.726 | 0.1682 | 92.0% | 11.5% |
| `64E` (50.0%) | 0.8451 | 74.04% | 15.724 | 0.3189 | 71.6% | 12.5% |
| *Ref: Unpruned `128E UD-IQ2_XXS` (8.49 GB)* | — | — | — | — | **94.4%** | **33.5%** |

### `LA-REAP-64E-Coder` Zero-Overfit Code-Weighted Healing Trajectory (600-Seq Decontaminated Calibration)

| Stage (`LA-REAP-64E-Coder`, Native NVFP4/MXFP8) | Code KLD ↓ | Code PPL ↓ | Code Top-1 ↑ | Mean KLD ↓ | WikiText-2 PPL ↓ |
|---|---:|---:|---:|---:|---:|
| Tier-0 Direct Slice (On-Disk) | 0.2147 | 1.5463 | 91.52% | 1.1081 | 25.001 |
| Tier-1 Router/Cross-Pass KL (Step 50, On-Disk) | 0.1961 | 1.5127 | 92.21% | 1.0917 | 24.656 |
| **Extended Router/Cross-Pass KL (Step 80, Released)** | 0.1879 | 1.5017 | 92.27% | 1.0843 | 24.468 |

### `LA-REAP-64E-Coder` GGUF Quantization Ladder

| File (`saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder-GGUF`) | Quantization | Size (GB) | Greedy Sanity | Recommended Hardware |
|---|---|---:|:---:|---|
| `Inkling-2-Mini-LA-REAP-64E-Coder-IQ4_XS.gguf` | `IQ4_XS` | 7.74 GB | PASS | RTX 3060 12 GB Recommended (54.0 tok/s DSpark, 11.2 GB VRAM, 1.29 GB RSS, 64K ctx) |
| `Inkling-2-Mini-LA-REAP-64E-Coder-LA-Q4_Mix.gguf` | `LA-Q4_Mix` | 8.86 GB | PASS | 12 GB Linux / 16 GB VRAM (Loop-Aware 4/5-bit core protection) |
| `Inkling-2-Mini-LA-REAP-64E-Coder-Q4_K_M.gguf` | `Q4_K_M` | 9.31 GB | PASS | 12-16 GB VRAM (Uniform 4-bit K-quant) |
| `Inkling-2-Mini-LA-REAP-64E-Coder-Q8_0.gguf` | `Q8_0` | 14.81 GB | PASS | 24 GB VRAM (8-bit quality reference) |
| `mmproj-F16.gguf` | Companion | 0.639 GB | PASS | Vision projector (F16) |
| `dspark-Inkling-2-Mini-Q8_0.gguf` | Companion | 0.504 GB | PASS | DSpark speculative drafter (Q8_0, mainline) |

| `imatrix.gguf` | Companion | 0.048 GB | PASS | Code-weighted importance matrix (392 entries) |



### Apples-to-Apples Full Coding & Tool-Calling Suite (Fixed Native `Thinking effort level` Harness)



| Model (Native `/completion`, `llama-server b12818`) | Size | HumanEval-164 (`effort=0`) | MBPP-100 (`effort=0`) | Tool-100 Unconstrained | Tool-100 `json_schema` | HumanEval-164 (`effort=0.2`) | GSM8K-60 (`effort=0.2`) |
|---|---:|---:|---:|---:|---:|---:|---:|
| Unpruned 128E `UD-IQ2_XXS` | 8.49 GB | 88.4% | 82.0% | 100.0% | 100.0% | 60.4% | — |
| **`LA-REAP-64E-Coder` (`LA-Q4_Mix`)** | 8.86 GB | 57.3% | 38.0% | 71.0% | 100.0% | 58.5% | 33.3% |

| **`LA-REAP-64E-Coder` (`IQ4_XS`)** | 7.74 GB | 61.6% | 46.0% | 75.0% | 100.0% | 55.5% | 25.0% |
| Wave 1 `LA-REAP-64E` General (`IQ4_XS`) | 7.74 GB | 18.9% | — | — | — | — | — |

### `LA-REAP-64E-Coder-IQ4_XS` Ground-Truth RTX 3060 12 GB + 16 GB RAM Telemetry



| Configuration (`LA-REAP-64E-Coder-IQ4_XS`, 7.74 GB, RTX 3060 12 GB) | Prefill / Mean Decode (tok/s) | DSpark Accept % | Peak VRAM (MiB) | Peak Host RSS (MiB) |
|---|---:|---:|---:|---:|
| `llama-bench 4K` | 1090.1 pp / 52.2 tg | — | 9243 | 982 |
| `llama-bench 16K` | 676.8 pp / 47.1 tg | — | 9599 | 1405 |
| `llama-bench 32K` | 517.5 pp / 43.0 tg | — | 9871 | 1760 |
| `llama-bench 64K` | 352.5 pp / 36.7 tg | — | 10415 | 2415 |
| `llama-server + mmproj + no_draft (16K)` | **51.5** (edit 51.6, json 51.8) | — | 9763 | 1091 |
| `llama-server + mmproj + draft_max_2 (16K)` | **54.0** (edit 55.0, json 56.6) | 56.5% | 11199 | 1319 |
| `llama-server + mmproj + draft_max_3 (16K)` | **52.8** (edit 61.9, json 60.2) | 48.5% | 11203 | 1322 |
| Playwright `1280x800` Set-of-Marks (`som`) | **5/5 (100%)** @ **2.89 s/step** | — | — | — |
| Playwright `1280x800` Raw Pixels (`coords`) | 1/5 (20%) @ 15.58 s/step | — | — | — |

## Honest Limitations

- **Intentional Domain Specialization Tradeoff:** Calibrated on 600 13-gram-decontaminated code/tool/math/UI sequences (`201,379` tokens, `0` leaked eval rows) and healed for 80 steps of zero-overfit router + cross-pass query KL-distillation (`CodeKLD 0.2147 -> 0.1879`, `CodePPL 1.5463 -> 1.5017`; note: attention LoRA matched `0` non-standard Inkling2 submodule names, so healing was strictly 1-epoch router + cross-pass query KL-distillation). This more than triples direct HumanEval-164 pass@1 vs General `64E` (`18.9% -> 61.6%` on `IQ4_XS`, `57.3%` on `LA-Q4_Mix`), while deliberately trading away general science/prose trivia (`ARC-C 54.4%`, `HellaSwag 38.0%`, `MMLU-Pro 18.0%`).
- **Honest Comparison vs Unpruned 2-Bit (`UD-IQ2_XXS`, `8.49 GB`):** On Inkling 2 Mini (already mid-training-pruned `384 -> 128`), keeping all 128 experts at 2-bit dynamic (`UD-IQ2_XXS`) retains higher task accuracy (`88.4%` HumanEval-164, `82.0%` MBPP-100, `100%` unconstrained Tool-100). Choose `LA-REAP-64E-Coder` when you need **native `NVFP4/MXFP8` Safetensors** (`vLLM`/`SGLang`/`transformers`), **fastest 12 GB + DSpark throughput (`54.0 tok/s` mean, `61.9 tok/s` edit)**, **tightest 12 GB VRAM headroom (`11,199 MiB` with Vision+DSpark, `10,415 MiB` at 64K ctx)**, or **`100%` grammar-constrained JSON tool calling** + **`2.89 s/step` `5/5` Playwright SoM**.
- For browser grounding, always use Set-of-Marks (`som`, `5/5 = 100%`) rather than raw pixel coordinate regression (`coords`, `1/5`).

## License & Attribution

Released under **Apache 2.0**, matching upstream `thinkingmachines/Inkling-2-Mini` and subject to Thinking Machines Lab's Model Acceptable Use Policy. Credits: Thinking Machines Lab, Cerebras/UCalgary (REAP, ICLR 2026), Unsloth, and Jake Harris (`jjh-inkling-2-mini-12gb`).