Instructions to use Ex0bit/Inkblot-2-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ex0bit/Inkblot-2-mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Ex0bit/Inkblot-2-mini") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Ex0bit/Inkblot-2-mini") model = AutoModelForMultimodalLM.from_pretrained("Ex0bit/Inkblot-2-mini", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Ex0bit/Inkblot-2-mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ex0bit/Inkblot-2-mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ex0bit/Inkblot-2-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Ex0bit/Inkblot-2-mini
- SGLang
How to use Ex0bit/Inkblot-2-mini with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Ex0bit/Inkblot-2-mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ex0bit/Inkblot-2-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Ex0bit/Inkblot-2-mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ex0bit/Inkblot-2-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Ex0bit/Inkblot-2-mini with Docker Model Runner:
docker model run hf.co/Ex0bit/Inkblot-2-mini
Inkblot-2-mini
Inkblot-2-mini is an edited checkpoint of thinkingmachines/Inkling-2-Mini, built with rse_looper by Eric E., Tensorbend.ai Research.
TL;DR.
Inkling-2-Miniruns Layers 6–17 three times per token by default. Overriding the loop depth to 4 passes at inference time drops unmodified Base to3.1%on math and GSM8K with95.3%repeat loops.rse_looperedits only the327BF16/FP32 loop-control weights (memory gates, MoE routers, short convolutions, and attention output projections;0.84%mean change) while leaving all24.4Bquantized experts untouched. Compared directly against untouched default 3-pass Base,Inkblot-2-miniimproves lockedDeepScaleR-Test(50.0% → 68.8%at 3 passes;70.3%at 4 passes,n=64),LiveCodeBench v6(34.4% → 40.6%,n=32),GSM8K(93.8% → 96.1%at 4 passes,n=128), andMMLU(82.5% → 83.5%,n=285), with exact identical parameters (26,386,412,544).
- Code, tests & 4-page paper:
github.com/eelbaz/Recursive-Self-Improving-Loopers - Architecture:
Inkling2LoopForCausalLM(26.39Btotal /3.4Bactive, 24 layers, 128 MoE experts top-8) - Weight integrity: Exact
1,244safetensors keys,327BF16/FP32 tensors edited,0expert or vision weights changed.
Blind Held-Out Benchmarks (Compared Directly Against Default 3-Pass Base)
| Locked Benchmark (Sample Size) | Passes | Default Base | FP-Solve (0-Backprop) |
Inkblot-2-mini |
Gain vs. Base 3-Pass |
|---|---|---|---|---|---|
DeepScaleR-Test (n=64, 2048 tok) |
3-Pass | 50.0% (32/64) |
50.0% (32/64) |
68.8% (44/64) |
+18.8 pp |
DeepScaleR-Test (n=64, 2048 tok) |
4-Pass | 3.1% (2/64*) |
42.2% (27/64, 0% rep) |
70.3% (45/64, 0% rep) |
+20.3 pp |
DeepScaleR-Test (n=64, 2048 tok) |
5-Pass | 18.8% (12/64*) |
34.4% (22/64) |
65.6% (42/64, 0% rep) |
+15.6 pp |
GSM8K (n=128, test) |
3-Pass | 93.8% (120/128) |
96.9% (124/128, 0% rep) |
94.5% (121/128) |
+3.1 pp |
GSM8K (n=128, test) |
4-Pass | 3.1% (4/128*) |
95.3% (122/128, 0% rep) |
96.1% (123/128, 0% rep) |
+2.3 pp |
LiveCodeBench v6 (n=32, live tests) |
3-Pass / 4-Pass | 34.4% / 3.1%* | 37.5% / 37.5% | 40.6% / 40.6% (0% rep) |
+6.2 pp |
2025–2026 Olympiad (n=64) |
3-Pass / 4-Pass | 20.3% / 0.0%* | 21.9% / 17.2% | 32.8% / 34.4% | +14.1 pp |
MMLU (n=285, 57 subjects) |
3-Pass / 4-Pass | 82.5% / 74.7%* | 81.4% / 81.1% | 83.5% / 83.2% | +1.0 pp |
ARC-Challenge (n=300, test) |
3-Pass / 4-Pass | 94.3% / 90.0%* | 94.3% / 93.0% | 94.0% / 93.7% | -0.3 pp |
HellaSwag (n=300, val) |
3-Pass / 4-Pass | 61.7% / 59.7%* | 61.7% / 61.3% | 61.0% / 63.3% | +1.6 pp |
WinoGrande (n=300, val) |
3-Pass / 4-Pass | 68.7% / 60.7%* | 70.0% / 67.0% | 67.0% / 64.7% | +1.3 pp |
*Base 4-pass and 5-pass rows reflect overriding Inkling-2-Mini's default 3-pass depth via LoopConfig(num_passes=4/5). Evaluations use fixed public slices (n=32–300), greedy decoding, and open deterministic grading (rse_looper/grader.py); independent third-party reproduction is welcomed.
Quick Start
import torch
from transformers import AutoTokenizer, Inkling2LoopForCausalLM
from rse_looper import LoopConfig, install_midstack_loop_forward
model_id = "Ex0bit/Inkblot-2-mini"
tok = AutoTokenizer.from_pretrained(model_id)
model = Inkling2LoopForCausalLM.from_pretrained(
model_id, dtype=torch.bfloat16, device_map="auto", experts_implementation="grouped_mm"
).eval()
# Optional: run 4 passes cleanly without repeat loops
install_midstack_loop_forward(model, LoopConfig(num_passes=4))
- Downloads last month
- 84


