Image-Text-to-Text
Transformers
Safetensors
inkling2_loop
conversational
Mixture of Experts
Eval Results
8-bit precision
modelopt
Run this model with HF Jobs
Run thinkingmachines/Inkling-2-Mini 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/thinkingmachines/Inkling-2-Mini. 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/thinkingmachines/Inkling-2-Mini 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/thinkingmachines/Inkling-2-Mini. 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.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/thinkingmachines/Inkling-2-Mini. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use thinkingmachines/Inkling-2-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thinkingmachines/Inkling-2-Mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="thinkingmachines/Inkling-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("thinkingmachines/Inkling-2-Mini") model = AutoModelForMultimodalLM.from_pretrained("thinkingmachines/Inkling-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]:])) - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use thinkingmachines/Inkling-2-Mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "thinkingmachines/Inkling-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": "thinkingmachines/Inkling-2-Mini", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/thinkingmachines/Inkling-2-Mini
- SGLang
How to use thinkingmachines/Inkling-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 "thinkingmachines/Inkling-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": "thinkingmachines/Inkling-2-Mini", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "thinkingmachines/Inkling-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": "thinkingmachines/Inkling-2-Mini", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use thinkingmachines/Inkling-2-Mini with Docker Model Runner:
docker model run hf.co/thinkingmachines/Inkling-2-Mini
Guidance for RL fine-tuning Inkling 2 Mini at 100k to 262k tokens per sequence (8x H100)
#96 opened about 1 hour ago
by
forwards
Inkling-2-Mini has great reasoning, but struggles with other languages
#95 opened about 7 hours ago
by
Kamil21322
Bug: Unable to start on H200 TP 1
1
#94 opened about 14 hours ago
by
jtvino
4.27x prefill speedup on Inkling-2-Mini – sharing some independent research
4
#93 opened about 14 hours ago
by
fsn007
Writes `from helpers import *` for functions the system prompt says are already defined, with the allowed imports listed
1
#92 opened 1 day ago
by
juyil
inkling mini is broken on very big complex system prompt
1
#91 opened 2 days ago
by
helobongo
60B model please ?
#90 opened 2 days ago
by
ashuezy
I'm testing it day and night, but I have a lot of problems...!
#89 opened 2 days ago
by
ParsaMah
Refusals are WAY to strick with this one
#88 opened 3 days ago
by
keick
Add community evaluation results for Physical-Engineering’s Last Exam
#87 opened 3 days ago
by
nielsr
Add community evaluation results for Long-Horizon Terminal-Bench (LHTB)
#86 opened 3 days ago
by
nielsr
The true benchmarks?
#85 opened 3 days ago
by
Duonglv
Run Inkling-2-Mini (26B) with a 256,000-token context, locally, on a 16 GB M6 machine.
1
#84 opened 3 days ago
by
nandraj
"Thank you, officer"
#83 opened 3 days ago
by
localisbest
Long reasoning in code-revision turns is mostly the whole program re-drafted inside the reasoning, not verbatim loops
#82 opened 3 days ago
by
juyil
3x throughput that safely hits the 1M context size on a Mac Book Pro M4 Max
#81 opened 4 days ago
by
flelay
Add IFBench evaluation result (73.3, prompt-level loose)
#80 opened 4 days ago
by
nielsr
Running Inkling-2-Mini on 2× Tesla T4 (sm_75) at 41.0 tok/s with custom Triton kernels
#78 opened 4 days ago
by
lacesseapp
Congrats! Qs on Loops
👀 1
1
#77 opened 6 days ago
by
M-o-r-p-h-e-u-s
Overhyped
👍 1
7
#74 opened 7 days ago
by
invincibilul
No Balance
👍 4
3
#73 opened 7 days ago
by
phil111
Reasoning goes into a loop (openrouter)
2
#72 opened 7 days ago
by
Mk2Oracle
Getting stuck in a infinite loop in reasoning stops me from using the model!
➕ 1
8
#71 opened 7 days ago
by
artden111
This model is a winner!
👍 1
3
#70 opened 7 days ago
by
llmmonster
Speed up rendering long Inkling 2 Mini tool histories
#69 opened 7 days ago
by
snygginghani
Open SAEs and a steering playground for Inkling 2 Mini
❤️ 1
1
#67 opened 7 days ago
by
mm1m1
Ran the full quant ladder (Q3_K_M → Q6_K + MXFP4_MOE) of this model on three architectures with a pinned 400 KB corpus: Strix Halo 128 GB (Vulkan), M1 Max 64 GB (Metal), RTX 5060 Ti 16 GB (CUDA).
#66 opened 7 days ago
by
hoodllm
Optional "runs local" badge, plus a measured Mac run
#65 opened 8 days ago
by
HanktheAssistant
Inkling 2 Mini writes tool calls as XML text and loops in reasoning, on three different engines
4
#64 opened 8 days ago
by
simpleengraver
Apache 2.0 Character-Manipulation LoRA + Note on Preserving `low` (0.2) Thinking Effort During SFT
1
#63 opened 8 days ago
by
Nori103
[chat_template] Empty text part on a tool-call turn renders an empty text message, unlike "content": ""
👍 1
1
#62 opened 8 days ago
by
krishgondaliya10
guys I think this model is RLHF-overoptimized (meaning they trained it too far on human feedback. Kimi k3 has the same problem)
5
#61 opened 9 days ago
by
john1248
PRIME-Quant: Running Inkling-2-Mini 100% resident on 12–16 GB GPUs (8.83 GB / 10.87 GB, 54–56 tok/s on RX 9060 XT, 0.054 KLD) + OpenAI server
#60 opened 9 days ago
by
batteryphil
I reproduced Inkling 2's loop at 23M parameters.
#59 opened 9 days ago
by
SkyIsNotGreen
Training data and steps for Inkling 2 Mini’s DSpark drafter
#57 opened 9 days ago
by
antonio-lopez
Chinese prompts: Manim code passes `size=` to `Text` (removed in Manim CE 0.12), most of a 10-point Exec drop on PRISM-zh
#56 opened 9 days ago
by
juyil
Mjolnir: Inkling-2-Mini on NVIDIA Jetson Thor: ~40-60 tok/s decode @ 131K ctx (+26% vs stock vLLM)
#55 opened 10 days ago
by
narandill
Model options for Mac
1
#54 opened 10 days ago
by
Romeo2377
Inkling 2 Mini's three files: 64.974 GB → one 16.827 GB download 🔥
#53 opened 10 days ago
by
optimatechlabs
Card check: the 26.4B total and the 1M context, read from the files
#52 opened 11 days ago
by
nootxlm
Increasing num_experts_per_tok at inference time, is this supported?
1
#51 opened 11 days ago
by
Schestex
Decent speed on Apple silicon with Splash
👍 2
2
#50 opened 11 days ago
by
s8kpw7yci
Keep looping
2
#48 opened 11 days ago
by
jacktang
Inkling - 2 mini on Poly Strata For Intel Arc B70
6
#46 opened 11 days ago
by
Lunacyworks
Looping
👍 2
#45 opened 12 days ago
by
darkmatter2222
Inkling 2 Mini on a 16 GB MacBook with Memory-Sparse MoE (MS-MoE): about 2x more memory-efficient
2
#42 opened 12 days ago
by
Sadanie
This is the shit, no benchmaxing
👀 2
5
#40 opened 12 days ago
by
AlioLeuchtmann
Inkling Hasn't Achieved True Adaptive Looping Yet — Could This Be the Breakthrough That Makes Small Models Competitive?
👍 1
4
#39 opened 12 days ago
by
wxjmodel
Inkling mini on 1/2/4 Intel B70/b65
1
#37 opened 12 days ago
by
ulkaa