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
Update model card
Browse files123456712 unmodified lines20212223242526272829303132333435363738394041424388 unmodified lines1321331341351361371381391401411423 unmodified lines146147148149150151152153154155---license: otherlicense_name: swift-open-license-1.0license_link: https://huggingface.co/ukisai/Swift-2-Inkling-Mini/blob/main/LICENSElibrary_name: transformerspipeline_tag: image-text-to-texttags:12 unmodified lines<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-2-Inkling-Mini/blob/main/LICENSE"><strong>License</strong></a></div></div># Swift 2 Inkling MiniSwift 2 Inkling Mini is UkisAI's reasoning-efficient derivative of [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini).It uses **44.6% fewer thinking tokens** while scoring **1.29 pp below** the base across ten benchmarks.## Training approachWe post-trained Swift 2 Inkling 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 2 Inkling Mini,> with thinking on, under the same harness, sampling, seeds and caps.## Benchmarks88 unmodified lines## License and accessSwift 2 Inkling 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**[Swift Open License v1.0](https://huggingface.co/ukisai/Swift-2-Inkling-Mini/blob/main/LICENSE)**.See [NOTICE](https://huggingface.co/ukisai/Swift-2-Inkling-Mini/blob/main/NOTICE) for the change notice andattribution details. Use of this model must also comply with the base model's license terms.Personal, research, educational, evaluation, and commercial use are free for individuals3 unmodified lines## Citation```bibtex@misc{swift-2-inkling-mini,title = {Swift 2 Inkling Mini},author = {UkisAI},year = {2026},url = {https://huggingface.co/ukisai/Swift-2-Inkling-Mini}}```123456712 unmodified lines20212223242526272829303132333435363738394041424388 unmodified lines1321331341351361371381391401411423 unmodified lines146147148149150151152153154155---license: otherlicense_name: swift-open-license-1.0license_link: https://huggingface.co/ukisai/Swift-Inkling-2-Mini/blob/main/LICENSElibrary_name: transformerspipeline_tag: image-text-to-texttags:12 unmodified lines<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 **44.6% fewer thinking tokens** while scoring **1.29 pp below** the base across ten benchmarks.## 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.## Benchmarks88 unmodified lines## 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**[Swift Open License v1.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.Personal, research, educational, evaluation, and commercial use are free for individuals3 unmodified lines## 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}}```
README.md+12-12