Ex0bit commited on
Commit
128fe45
·
verified ·
1 Parent(s): 3a566f2

Upgrade Inkblot-2-mini model card with figures, full benchmark table, and quick-start snippets

Browse files
Files changed (1) hide show
  1. README.md +95 -13
README.md CHANGED
@@ -1,21 +1,103 @@
1
  ---
 
 
 
2
  base_model: thinkingmachines/Inkling-2-Mini
 
 
3
  tags:
4
- - looped-transformer
5
- - moe
6
- - recursive-self-improvement
7
- - inkblot-2-mini
 
 
8
  ---
9
 
10
  # Inkblot-2-mini
11
 
12
- **Inkblot-2-mini** is an RSI-edited checkpoint of `thinkingmachines/Inkling-2-Mini` built with `rse_looper` (Eric E., Tensorbend.ai Research).
13
 
14
- - **Same architecture and parameter count:** `26,386,412,544` parameters, `1,244` safetensors keys.
15
- - **Zero expert edits:** Only `327` BF16/FP32 control and routing tensors changed (`0.84%` mean change). All `24.4B` quantized experts are untouched.
16
- - **Blind held-out scores vs. untouched Base:**
17
- - DeepScaleR-Test (`n=64`): `68.75%` (3-pass), **`70.31%`** (4-pass, `22.5x` Base, `0.0%` repeat loops), `65.62%` (5-pass).
18
- - GSM8K (`n=128`): `94.53%` (3-pass), **`96.09%`** (4-pass, `30.8x` Base, `0.0%` repeat loops).
19
- - LiveCodeBench v6 (`n=32`): **`40.62%`** at both 3-pass and 4-pass (`+6.24 pp` over Base 3-pass).
20
- - MMLU (`n=285`): **`83.51%`** (3-pass), **`83.16%`** (4-pass).
21
- - HellaSwag (`n=300`): **`63.33%`** (4-pass).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
  base_model: thinkingmachines/Inkling-2-Mini
6
+ pipeline_tag: text-generation
7
+ library_name: transformers
8
  tags:
9
+ - looped-transformer
10
+ - moe
11
+ - recursive-self-improvement
12
+ - inkling-2
13
+ - inkblot-2-mini
14
+ - rse-looper
15
  ---
16
 
17
  # Inkblot-2-mini
18
 
19
+ **`Inkblot-2-mini`** is a recursively self-improved checkpoint of [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini), built with [`rse_looper`](https://github.com/eelbaz/Recursive-Self-Improving-Loopers) by **Eric E., Tensorbend.ai Research**.
20
 
21
+ > **TL;DR.** Standard `Inkling-2-Mini` runs its 12 middle layers (`L6–L17`) 3 times per token and breaks when pushed to 4 passes (`3.1%` blind math, `3.1%` GSM8K, `95.3%` repeat loops). `Inkblot-2-mini` fixes that Layer-17 fault and improves across four autonomous self-verified generations with zero external teacher. It reaches **70.3% on blind 4-pass math** (`22.5×` Base, `0.0%` repeat loops), **96.1% on 4-pass GSM8K**, **40.6% on LiveCodeBench v6**, and **83.5% on MMLU** — with **exact identical parameters (`26.39B`)** and **0 expert weights changed**.
22
+
23
+ - **Code, tests & 4-page paper:** [`github.com/eelbaz/Recursive-Self-Improving-Loopers`](https://github.com/eelbaz/Recursive-Self-Improving-Loopers)
24
+ - **Architecture:** `Inkling2LoopForCausalLM` (`26.39B` total / `3.4B` active, 24 layers, 128 MoE experts top-8)
25
+ - **Weight changes:** Only `327` BF16/FP32 attention, short-convolution, memory-gate, and router tensors edited (`0.84%` mean relative change). All `24.4B` packed NVFP4/MXFP8 experts and vision weights are bit-for-bit identical to Base.
26
+
27
+ ![Two-step local RSI recipe and blind test accuracy](assets/fig1_recipe_and_gains.png)
28
+
29
+ ---
30
+
31
+ ## Blind Held-Out Benchmarks
32
+
33
+ All evaluations use deterministic greedy decoding (`temperature=0.0`) on locked held-out test sets.
34
+
35
+ | Locked Blind Benchmark | Passes | Untouched Base | `FP-Solve` (0-Backprop) | **`Inkblot-2-mini`** |
36
+ |---|---:|---:|---:|---:|
37
+ | **DeepScaleR-Test** (`n=64`, `2048` tok) | 3-Pass | 50.00% | 50.00% | **68.75%** |
38
+ | **DeepScaleR-Test** (`n=64`, `2048` tok) | 4-Pass | 3.12% (`95.3%` rep) | 42.19% (`0.0%` rep) | **70.31%** (`22.5×`, `0.0%` rep) |
39
+ | **DeepScaleR-Test** (`n=64`, `2048` tok) | 5-Pass | 18.75% | 34.38% | **65.62%** (`0.0%` rep) |
40
+ | **GSM8K** (`n=128`, test) | 3-Pass | 93.75% (`1.56%` rep) | **96.88%** (`0.0%` rep) | 94.53% |
41
+ | **GSM8K** (`n=128`, test) | 4-Pass | 3.12% (`93.0%` rep) | 95.31% (`0.0%` rep) | **96.09%** (`30.8×`, `0.0%` rep) |
42
+ | **LiveCodeBench v6** (`n=32`, live tests) | 3-Pass | 34.38% | 37.50% | **40.62%** (`+6.24 pp`) |
43
+ | **LiveCodeBench v6** (`n=32`, live tests) | 4-Pass | 3.12% | 37.50% | **40.62%** (`13.0×`, `0.0%` rep) |
44
+ | **2025–2026 Olympiad** (`n=64`) | 3-Pass / 4-Pass | 20.31% / 0.00% | 21.88% / 17.19% | **32.81% / 34.38%** |
45
+ | **MMLU** (`n=285`, 57 subjects) | 3-Pass / 4-Pass | 82.46% / 74.74% | 81.40% / 81.05% | **83.51% / 83.16%** |
46
+ | **ARC-Challenge** (`n=300`) | 3-Pass / 4-Pass | **94.33%** / 90.00% | **94.33%** / 93.00% | 94.00% / **93.67%** |
47
+ | **HellaSwag** (`n=300`) | 3-Pass / 4-Pass | 61.67% / 59.67% | 61.67% / 61.33% | 61.00% / **63.33%** |
48
+ | **WinoGrande** (`n=300`) | 3-Pass / 4-Pass | 68.67% / 60.67% | **70.00% / 67.00%** | 67.00% / 64.67% |
49
+
50
+ ![Layer 17 sign flip and zero-backprop repair](assets/fig2_layer17_and_fpsolve.png)
51
+
52
+ ![Multi-generation climb to Inkblot-2-mini and broad benchmark proof](assets/fig3_multigen_and_benchmarks.png)
53
+
54
+ ---
55
+
56
+ ## Quick Start
57
+
58
+ Because `Inkblot-2-mini` keeps all `1,244` safetensors keys and quantized experts identical to `thinkingmachines/Inkling-2-Mini`, it loads directly into standard runtimes with zero overhead.
59
+
60
+ ### Hugging Face `transformers`
61
+ ```python
62
+ import torch
63
+ from transformers import AutoTokenizer, Inkling2LoopForCausalLM
64
+
65
+ model_id = "Ex0bit/Inkblot-2-mini"
66
+ tok = AutoTokenizer.from_pretrained(model_id)
67
+ model = Inkling2LoopForCausalLM.from_pretrained(
68
+ model_id,
69
+ dtype=torch.bfloat16,
70
+ device_map="auto",
71
+ experts_implementation="grouped_mm",
72
+ ).eval()
73
+
74
+ messages = [{"role": "user", "content": "Solve 3x^2 - 12x + 9 = 0 and put your answer in \\boxed{}."}]
75
+ prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
76
+ inputs = tok(prompt, return_tensors="pt").to(model.device)
77
+ out = model.generate(**inputs, max_new_tokens=1024, do_sample=False)
78
+ print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=False))
79
+ ```
80
+
81
+ ### Extended 4-Pass / 5-Pass Looping with `rse_looper`
82
+ ```python
83
+ from rse_looper import LoopConfig, install_midstack_loop_forward
84
+
85
+ install_midstack_loop_forward(model, LoopConfig(num_passes=4))
86
+ ```
87
+
88
+ ### vLLM & Apple Silicon (`oMLX`)
89
+ - **vLLM:** Serve directly with `vllm/vllm-openai:inkling-2-mini` pointing to `Ex0bit/Inkblot-2-mini`.
90
+ - **Apple Silicon:** Load directly in `oMLX >= 0.8.3` as a drop-in replacement for `Inkling-2-Mini`.
91
+
92
+ ---
93
+
94
+ ## Citation
95
+ ```bibtex
96
+ @misc{elbaz2026inkblot2mini,
97
+ title = {Recursive Self-Improving Loopers: A Practical Recipe for Local Self-Improvement (Inkblot-2-mini)},
98
+ author = {Eric E.},
99
+ howpublished = {Tensorbend.ai Research},
100
+ year = {2026},
101
+ url = {https://github.com/eelbaz/Recursive-Self-Improving-Loopers}
102
+ }
103
+ ```