Image-Text-to-Text
Transformers
Safetensors
inkling2_loop
inkling
Mixture of Experts
reasoning
efficient-thinking
token-efficient
post-training
agentic
terminal-bench
conversational
8-bit precision
modelopt
Run this model with HF Jobs
Run ukisai/Swift-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/ukisai/Swift-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/ukisai/Swift-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/ukisai/Swift-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/ukisai/Swift-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 ukisai/Swift-Inkling-2-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ukisai/Swift-Inkling-2-Mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ukisai/Swift-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("ukisai/Swift-Inkling-2-Mini") model = AutoModelForMultimodalLM.from_pretrained("ukisai/Swift-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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ukisai/Swift-Inkling-2-Mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ukisai/Swift-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": "ukisai/Swift-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/ukisai/Swift-Inkling-2-Mini
- SGLang
How to use ukisai/Swift-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 "ukisai/Swift-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": "ukisai/Swift-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 "ukisai/Swift-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": "ukisai/Swift-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 ukisai/Swift-Inkling-2-Mini with Docker Model Runner:
docker model run hf.co/ukisai/Swift-Inkling-2-Mini
Card: match Swift card format (headline, training approach, evaluation order, quantized models, how to use)
Browse files123456789101112133 unmodified lines1718192021222324252627282930313233343536373839404142434445464727 unmodified lines75767778798081827 unmodified lines9091929394959697981 unmodified line1001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301 unmodified line132133134135136137138139140141142143144145146147148149150151152153---license: apache-2.0library_name: transformerspipeline_tag: image-text-to-texttags:- inkling- efficient-thinking- reasoning- token-efficient- swiftbase_model: thinkingmachines/Inkling-2-Minibase_model_relation: finetune---3 unmodified lines<div style="display:flex;justify-content:center;gap:0.6em;margin-bottom:1em;"><a href="https://ukisai.com"><strong>Website</strong></a> • <a href="https://ukisai.com/products/swift"><strong>Learn more</strong></a> • <a href="https://huggingface.co/thinkingmachines/Inkling-2-Mini"><strong>Base model</strong></a> • <a href="https://huggingface.co/ukisai/Swift-Inkling-2-Mini/blob/main/LICENSE"><strong>License</strong></a></div></div># Swift Inkling 2 MiniSwift Inkling 2 Mini is UkisAI's reasoning-efficient derivative of [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini).It uses **42.3% fewer thinking tokens** while scoring **0.22 pp below** the base across ten benchmarks.<video controls autoplay muted loop playsinline style="width:100%;max-width:100%;height:auto;display:block;border-radius:12px;margin:0.8em 0 1.4em;" src="https://huggingface.co/ukisai/Swift-Inkling-2-Mini/resolve/main/swift-inkling-2-demo.mp4"></video><p align="center" style="font-size:13px;color:#8C94A8;margin:-0.6em 0 1.4em;">Inkling 2 Mini vs Swift Inkling 2 Mini on the same competitive-programming prompt — Swift finishes with 46.2% less time and 46.4% fewer tokens.</p>## Training approachWe post-trained Swift Inkling 2 Mini from [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)to finish its reasoning sooner: to skip unnecessary elaboration, redundant steps and restating the problem, andfocus on the steps needed to reach the answer.## Evaluation scope> All results below compare the Inkling 2 Mini base with Swift Inkling 2 Mini,> with thinking on, under the same harness, sampling, seeds and caps.## Benchmarks<style>.swift15-table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; overflow:hidden; border:1px solid #27344A; border-radius:20px; background:#0D111B; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; font-size:14px; color:#BFBDBD; }27 unmodified lines<tr><th class="benchmark-heading" rowspan="2" style="width:32%;text-align:left;padding-left:18px;vertical-align:bottom;">Benchmark</th><th class="score-heading" colspan="2">Score</th><th class="tokens-heading" colspan="3">Mean thinking tokens</th><th class="median-heading">Median thinking tokens</th></tr><tr><th>Base</th>7 unmodified lines<tbody><tr><td class="section" colspan="7">General reasoning</td></tr><tr><td class="model">GPQA-Diamond</td><td><strong>86.67%</strong></td><td class="swift15">85.45%</td><td>16,571</td><td class="swift15">9,455</td><td class="change">↓ 42.9%</td><td class="change">↓ 56.6%</td></tr><tr><td class="model">C-Eval</td><td>82.15%</td><td class="swift15"><strong>84.40%</strong></td><td>3,317</td><td class="swift15">1,611</td><td class="change">↓ 51.4%</td><td class="change">↓ 52.4%</td></tr><tr><td class="model">IFBench</td><td><strong>76.07%</strong></td><td class="swift15">73.73%</td><td>5,596</td><td class="swift15">2,247</td><td class="change">↓ 59.8%</td><td class="change">↓ 53.5%</td></tr><tr><td class="model">MMLU-Pro</td><td><strong>83.19%</strong></td><td class="swift15">82.41%</td><td>5,471</td><td class="swift15">2,521</td><td class="change">↓ 53.9%</td><td class="change">↓ 58.6%</td></tr><tr><td class="section" colspan="7">Mathematics</td></tr><tr><td class="model">AIME 2026</td><td><strong>99.33%</strong></td><td class="swift15">95.33%</td><td>18,730</td><td class="swift15">12,185</td><td class="change">↓ 34.9%</td><td class="change">↓ 46.5%</td></tr><tr><td class="model">HMMT (Nov 2025)</td><td><strong>66.67%</strong></td><td class="swift15">64.67%</td><td>20,715</td><td class="swift15">15,282</td><td class="change">↓ 26.2%</td><td class="change">↓ 40.1%</td></tr>1 unmodified line<tr><td class="model">ERQA</td><td><strong>63.25%</strong></td><td class="swift15">61.50%</td><td>4,134</td><td class="swift15">1,653</td><td class="change">↓ 60.0%</td><td class="change">↓ 58.6%</td></tr><tr><td class="section" colspan="7">Coding</td></tr><tr><td class="model">LiveCodeBench v6</td><td><strong>86.41%</strong></td><td class="swift15">85.99%</td><td>15,990</td><td class="swift15">11,140</td><td class="change">↓ 30.3%</td><td class="change">↓ 33.7%</td></tr><tr><td class="model">Terminal-Bench 2.1*</td><td><strong>57.98%</strong></td><td class="swift15">57.75%</td><td>36,720</td><td class="swift15">27,454</td><td class="change">↓ 25.2%</td><td class="change">↓ 57.0%</td></tr><tr><td class="model">DeepSWE v1.1*</td><td>28.32%</td><td class="swift15"><strong>36.58%</strong></td><td>80,594</td><td class="swift15">49,883</td><td class="change">↓ 38.1%</td><td class="change">↓ 41.1%</td></tr></tbody></table><p><strong>* Note on agent benchmarks (Terminal-Bench 2.1 and DeepSWE v1.1):</strong> Both Inkling 2 Mini and Swift Inkling 2 Mini ran under the exact same local harness, <code>reasoning_effort="max"</code>, and context limits (131,072 in Harbor 0.20.0 + Terminus 2 for Terminal-Bench 2.1; 262,144 in mini-swe-agent 2.4.6 for DeepSWE v1.1). Absolute scores sit below the base model card (71.6% in pi v0.83.0 on Terminal-Bench 2.1; 48.2% on DeepSWE v1.1) because our harness differs on Terminal-Bench 2.1 and both runs cap context below Inkling 2 Mini's 1M native window. Under those shared budgets, shorter trajectories directly reduce context-limit failures: agent timeouts fell from 147 to 67 on Terminal-Bench 2.1, and context-limit exits fell from 98 to 15 on DeepSWE v1.1 (+8.26 pp). On tasks solved by both models, Swift cuts mean thinking tokens by 42.4% on Terminal-Bench 2.1 (63 common tasks) and 42.4% on DeepSWE v1.1 (44 common tasks).</p><details><summary><strong>How to reproduce</strong></summary><p style="font-size:13px;line-height:1.5;margin:8px 0;"><strong>Serving:</strong> native mixed precision (BF16 attention, NVFP4/MXFP8 experts) · vLLM (Inkling 2 Mini build) · data-parallel across 2 GPUs · context 262,144 · thinking on (<code>enable_thinking=True</code>, <code>reasoning_effort="max"</code>).<br><strong>Sampling:</strong> temperature 1.0 · top_p 0.95 · top_k 20 · min_p 0.0 · no repeat penalty.<br><strong>Benchmarks:</strong> every benchmark averaged over five seeds (0–4) per model, same caps and scorer for base and Swift.</p><table style="display:table;width:100%;border-collapse:collapse;font-size:13px;line-height:1.3;margin:8px 0;"><thead><tr><th style="padding:4px 8px;text-align:left;">Benchmark</th><th style="padding:4px 8px;text-align:right;">Runs</th><th style="padding:4px 8px;text-align:right;">Output cap</th></tr></thead><tbody><tr><td style="padding:3px 8px;">GPQA-Diamond</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">100,000</td></tr><tr><td style="padding:3px 8px;">C-Eval</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">16,384</td></tr><tr><td style="padding:3px 8px;">IFBench</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">81,920</td></tr><tr><td style="padding:3px 8px;">AIME 2026</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">250,000</td></tr><tr><td style="padding:3px 8px;">HMMT Nov 2025</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">250,000</td></tr><tr><td style="padding:3px 8px;">ERQA</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">100,000</td></tr><tr><td style="padding:3px 8px;">LiveCodeBench v6</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">100,000</td></tr><tr><td style="padding:3px 8px;">MMLU-Pro</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">100,000</td></tr><tr><td style="padding:3px 8px;">Terminal-Bench 2.1</td><td style="padding:3px 8px;text-align:right;">5 per task</td><td style="padding:3px 8px;text-align:right;">agent limit 5 h per task, context 131,072, Harbor 0.20.0 + Terminus 2; thinking tokens per trial (all agent turns)</td></tr><tr><td style="padding:3px 8px;">DeepSWE v1.1</td><td style="padding:3px 8px;text-align:right;">3 per task</td><td style="padding:3px 8px;text-align:right;">mini-swe-agent 2.4.6, task time limits; thinking tokens per trial (all agent turns)</td></tr></tbody>1 unmodified line</details>## License and accessSwift Inkling 2 Mini is a derivative of [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)(Copyright the Inkling authors, distributed under the Inkling 2 Mini model license terms).UkisAI's contribution, including the adapted weights, is licensed under the**Apache License 2.0**.See [NOTICE](https://huggingface.co/ukisai/Swift-Inkling-2-Mini/blob/main/NOTICE) for the change notice andattribution details. Use of this model must also comply with the base model's license terms.## Citation```bibtex@misc{swift-inkling-2-mini,title = {Swift Inkling 2 Mini},author = {UkisAI},year = {2026},url = {https://huggingface.co/ukisai/Swift-Inkling-2-Mini}}```12345678910111213141516173 unmodified lines212223242526272829303132333435363738394041424344454647484950515253545527 unmodified lines83848586878889907 unmodified lines98991001011021031041051061 unmodified line1081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401 unmodified line142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256---license: apache-2.0license_link: https://huggingface.co/ukisai/Swift-Inkling-2-Mini/blob/main/LICENSElibrary_name: transformerspipeline_tag: image-text-to-texttags:- inkling- moe- reasoning- efficient-thinking- token-efficient- post-training- agentic- terminal-benchbase_model: thinkingmachines/Inkling-2-Minibase_model_relation: finetune---3 unmodified lines<div style="display:flex;justify-content:center;gap:0.6em;margin-bottom:1em;"><a href="https://ukisai.com"><strong>Website</strong></a> • <a href="https://ukisai.com/products/swift"><strong>Learn more</strong></a> • <a href="https://huggingface.co/ukisai/Swift-Inkling-2-Mini-GGUF"><strong>GGUF</strong></a> • <a href="https://huggingface.co/ukisai/Swift-Inkling-2-GSQ-RCO-GGUF"><strong>GSQ-RCO GGUF</strong></a> • <a href="#evaluation"><strong>Evaluation</strong></a> • <a href="#license-and-access"><strong>License</strong></a></div></div># Swift Inkling 2 MiniSwift Inkling 2 Mini is UkisAI's reasoning-efficient derivative of [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini).It uses **56.6% fewer thinking tokens**, with a **1.86× speed-up**, while keeping the **accuracy loss <1%** vs base across ten benchmarks.## Demo<video controls autoplay muted loop playsinline style="width:100%;max-width:100%;height:auto;display:block;border-radius:12px;margin:0.8em 0 1.4em;" src="https://huggingface.co/ukisai/Swift-Inkling-2-Mini/resolve/main/swift-inkling-2-demo.mp4"></video><p align="center" style="font-size:13px;color:#8C94A8;margin:-0.6em 0 1.4em;">Inkling 2 Mini vs Swift Inkling 2 Mini on the same competitive-programming prompt — Swift finishes with 46.2% less time and 46.4% fewer tokens.</p>## Training approachWe made Swift Inkling 2 Mini efficient in two stages.First, we identified the tokens linked to pathological overthinking and penalized them at the model's output head, without "attacking" the reasoning length directly.Then we added a step that is new in this release: contextual on-policy self-distillation. The teacher is the model itself, given an instruction to solve the problem concisely. The student is the same model without that instruction. On the student's own rollouts, we train it to match the teacher token by token, so it learns to reason concisely without being told to, and without answer keys or length targets. The method builds on [CRISP](https://arxiv.org/abs/2603.05433).## EvaluationAll scores compare the Inkling 2 Mini base with Swift Inkling 2 Mini, both served in their native mixed precision.Token columns report **thinking tokens**; for Terminal-Bench 2.1 and DeepSWE v1.1 they count all agent turns of a trial.<style>.swift15-table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; overflow:hidden; border:1px solid #27344A; border-radius:20px; background:#0D111B; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; font-size:14px; color:#BFBDBD; }27 unmodified lines<tr><th class="benchmark-heading" rowspan="2" style="width:32%;text-align:left;padding-left:18px;vertical-align:bottom;">Benchmark</th><th class="score-heading" colspan="2">Score</th><th class="tokens-heading" colspan="3">Mean tokens</th><th class="median-heading">Median tokens</th></tr><tr><th>Base</th>7 unmodified lines<tbody><tr><td class="section" colspan="7">General reasoning</td></tr><tr><td class="model">GPQA-Diamond</td><td><strong>86.67%</strong></td><td class="swift15">85.45%</td><td>16,571</td><td class="swift15">9,455</td><td class="change">↓ 42.9%</td><td class="change">↓ 56.6%</td></tr><tr><td class="model">MMLU-Pro</td><td><strong>83.19%</strong></td><td class="swift15">82.41%</td><td>5,471</td><td class="swift15">2,521</td><td class="change">↓ 53.9%</td><td class="change">↓ 58.6%</td></tr><tr><td class="model">C-Eval</td><td>82.15%</td><td class="swift15"><strong>84.40%</strong></td><td>3,317</td><td class="swift15">1,611</td><td class="change">↓ 51.4%</td><td class="change">↓ 52.4%</td></tr><tr><td class="model">IFBench</td><td><strong>76.07%</strong></td><td class="swift15">73.73%</td><td>5,596</td><td class="swift15">2,247</td><td class="change">↓ 59.8%</td><td class="change">↓ 53.5%</td></tr><tr><td class="section" colspan="7">Mathematics</td></tr><tr><td class="model">AIME 2026</td><td><strong>99.33%</strong></td><td class="swift15">95.33%</td><td>18,730</td><td class="swift15">12,185</td><td class="change">↓ 34.9%</td><td class="change">↓ 46.5%</td></tr><tr><td class="model">HMMT (Nov 2025)</td><td><strong>66.67%</strong></td><td class="swift15">64.67%</td><td>20,715</td><td class="swift15">15,282</td><td class="change">↓ 26.2%</td><td class="change">↓ 40.1%</td></tr>1 unmodified line<tr><td class="model">ERQA</td><td><strong>63.25%</strong></td><td class="swift15">61.50%</td><td>4,134</td><td class="swift15">1,653</td><td class="change">↓ 60.0%</td><td class="change">↓ 58.6%</td></tr><tr><td class="section" colspan="7">Coding</td></tr><tr><td class="model">LiveCodeBench v6</td><td><strong>86.41%</strong></td><td class="swift15">85.99%</td><td>15,990</td><td class="swift15">11,140</td><td class="change">↓ 30.3%</td><td class="change">↓ 33.7%</td></tr><tr><td class="section" colspan="7">Agentic coding</td></tr><tr><td class="model">Terminal-Bench 2.1*</td><td><strong>57.98%</strong></td><td class="swift15">57.75%</td><td>36,720</td><td class="swift15">27,454</td><td class="change">↓ 25.2%</td><td class="change">↓ 57.0%</td></tr><tr><td class="model">DeepSWE v1.1*</td><td>28.32%</td><td class="swift15"><strong>36.58%</strong></td><td>80,594</td><td class="swift15">49,883</td><td class="change">↓ 38.1%</td><td class="change">↓ 41.1%</td></tr></tbody></table><p><strong>* Note:</strong> Terminal-Bench 2.1 and DeepSWE v1.1 ran both models under the same local harness and context caps (131,072 and 262,144 tokens), below Inkling 2 Mini's 1M-token window, so absolute scores sit under the base model card. Under those caps, shorter reasoning keeps Swift inside the context: agent timeouts fell from 147 to 67 on Terminal-Bench 2.1, and context-limit exits fell from 98 to 15 on DeepSWE v1.1. On tasks both models solve, Swift uses 42.4% fewer mean thinking tokens on both benchmarks.</p><details><summary><strong>How to reproduce</strong></summary><p style="font-size:13px;line-height:1.5;margin:8px 0;"><strong>Serving:</strong> native mixed precision (BF16 attention, NVFP4/MXFP8 experts) · vLLM (<code>vllm/vllm-openai:inkling-2-mini</code> image) · data-parallel across 2 GPUs · context 262,144 · thinking on (<code>enable_thinking=True</code>, <code>reasoning_effort="max"</code>).<br><strong>Sampling:</strong> temperature 1.0 · top_p 0.95 · top_k 20 · min_p 0.0 · no repeat penalty.<br><strong>Benchmarks:</strong> every benchmark averaged over five seeds (0–4) per model, same caps and scorer for base and Swift.<br><strong>Agent benchmarks:</strong> Terminal-Bench 2.1 in Harbor 0.20.0 + Terminus 2 at context 131,072; DeepSWE v1.1 in mini-swe-agent 2.4.6 at context 262,144. The base model card reports 71.6% on Terminal-Bench 2.1 (pi v0.83.0) and 48.2% on DeepSWE v1.1; our harness and context caps differ, so compare base and Swift only within this table.</p><table style="display:table;width:100%;border-collapse:collapse;font-size:13px;line-height:1.3;margin:8px 0;"><thead><tr><th style="padding:4px 8px;text-align:left;">Benchmark</th><th style="padding:4px 8px;text-align:right;">Runs</th><th style="padding:4px 8px;text-align:right;">Output cap</th></tr></thead><tbody><tr><td style="padding:3px 8px;">GPQA-Diamond</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">100,000</td></tr><tr><td style="padding:3px 8px;">MMLU-Pro</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">100,000</td></tr><tr><td style="padding:3px 8px;">C-Eval</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">16,384</td></tr><tr><td style="padding:3px 8px;">IFBench</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">81,920</td></tr><tr><td style="padding:3px 8px;">AIME 2026</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">250,000</td></tr><tr><td style="padding:3px 8px;">HMMT Nov 2025</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">250,000</td></tr><tr><td style="padding:3px 8px;">ERQA</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">100,000</td></tr><tr><td style="padding:3px 8px;">LiveCodeBench v6</td><td style="padding:3px 8px;text-align:right;">5</td><td style="padding:3px 8px;text-align:right;">100,000</td></tr><tr><td style="padding:3px 8px;">Terminal-Bench 2.1</td><td style="padding:3px 8px;text-align:right;">5 per task</td><td style="padding:3px 8px;text-align:right;">agent limit 5 h per task, context 131,072, Harbor 0.20.0 + Terminus 2; thinking tokens per trial (all agent turns)</td></tr><tr><td style="padding:3px 8px;">DeepSWE v1.1</td><td style="padding:3px 8px;text-align:right;">3 per task</td><td style="padding:3px 8px;text-align:right;">mini-swe-agent 2.4.6, task time limits; thinking tokens per trial (all agent turns)</td></tr></tbody>1 unmodified line</details>## Quantized models| Format | Repository | Runtime || --- | --- | --- || GGUF | [Swift-Inkling-2-Mini-GGUF](https://huggingface.co/ukisai/Swift-Inkling-2-Mini-GGUF) | llama.cpp || GSQ-RCO GGUF (compact 2–3 bit) | [Swift-Inkling-2-GSQ-RCO-GGUF](https://huggingface.co/ukisai/Swift-Inkling-2-GSQ-RCO-GGUF) | llama.cpp || MLX BF16 | [Swift-Inkling-2-Mini-MLX-bf16](https://huggingface.co/ukisai/Swift-Inkling-2-Mini-MLX-bf16) | Apple MLX || MLX 8-bit | [Swift-Inkling-2-Mini-MLX-8bit](https://huggingface.co/ukisai/Swift-Inkling-2-Mini-MLX-8bit) | Apple MLX || MLX 4-bit | [Swift-Inkling-2-Mini-MLX-4bit](https://huggingface.co/ukisai/Swift-Inkling-2-Mini-MLX-4bit) | Apple MLX |## How to useThe checkpoint is about 20 GB in Inkling 2 Mini's native mixed NVFP4/MXFP8 precision, so it runs on a single GPUwith 32 GB or more of memory, including NVIDIA DGX Spark. On Apple silicon, use the MLX versions above.### GGUF downloadThe **[GGUF version](https://huggingface.co/ukisai/Swift-Inkling-2-Mini-GGUF)** isavailable for compatible llama.cpp-based runtimes. For the smallest files, use the**[GSQ-RCO GGUF version](https://huggingface.co/ukisai/Swift-Inkling-2-GSQ-RCO-GGUF)**: 9–11.6 GB mixed-precision quants refined for Swift Inkling 2 Mini.### TransformersUse a Transformers release with Inkling 2 Mini support:~~~pythonimport torchfrom transformers import AutoModelForMultimodalLM, AutoProcessormodel_id = "ukisai/Swift-Inkling-2-Mini"processor = AutoProcessor.from_pretrained(model_id)model = AutoModelForMultimodalLM.from_pretrained(model_id,dtype=torch.bfloat16,device_map="auto",)~~~### vLLMUse a vLLM build with Inkling 2 Mini support, such as the `vllm/vllm-openai:inkling-2-mini` image:~~~bashvllm serve ukisai/Swift-Inkling-2-Mini \--tensor-parallel-size 1 \--max-model-len 262144 \--reasoning-parser inkling \--enable-auto-tool-choice \--tool-call-parser inkling \--port 8000~~~Reasoning effort is set per request through the chat template, for example`"chat_template_kwargs": {"reasoning_effort": "max"}`. `high` is the default; `max` was used for all results above.### SGLangAlternatively, use an SGLang build with Inkling 2 Mini support:~~~bashsglang serve \--model-path ukisai/Swift-Inkling-2-Mini \--context-length 262144 \--reasoning-parser inkling \--tool-call-parser inkling2 \--enable-multimodal \--port 8000~~~Adjust tensor parallelism and context length to your GPU memory. The model supports up to 1,048,576 tokens of context.See the base model's [vLLM recipe](https://recipes.vllm.ai/thinkingmachines/Inkling-2-Mini) and[SGLang cookbook](https://docs.sglang.io/cookbook/autoregressive/ThinkingMachines/Inkling-2-Mini)for installation and hardware-specific settings.### Optional MTP decodingThe checkpoint includes the base model's MTP draft head, unchanged. To enable DSpark speculativedecoding, append the corresponding flags to the server command above:~~~bash# vLLM--speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic"}'# SGLang--speculative-algorithm DSPARK~~~## License and accessSwift Inkling 2 Mini is a derivative of [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)by Thinking Machines Lab, Inc., licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).UkisAI's contribution, including the adapted weights, is also licensed under the**[Apache License 2.0](https://huggingface.co/ukisai/Swift-Inkling-2-Mini/blob/main/LICENSE)**.See [NOTICE](https://huggingface.co/ukisai/Swift-Inkling-2-Mini/blob/main/NOTICE) for the change notice andattribution details. Use of this model must also comply with the base model's license terms.## Citation~~~bibtex@misc{swift-inkling-2-mini,title = {Swift Inkling 2 Mini},author = {UkisAI},year = {2026},url = {https://huggingface.co/ukisai/Swift-Inkling-2-Mini}}~~~## AcknowledgementsWe acknowledge [Amazon Web Services](https://aws.amazon.com/) and[Google Cloud](https://cloud.google.com/) for providing thecompute for Swift Inkling 2 Mini's development, training, and evaluation.
README.md+127-24