Run this model with HF Jobs

Run TooSlow79/swift-inkling-2-mini-iq4r-v4 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 to fine-tune https://huggingface.co/TooSlow79/swift-inkling-2-mini-iq4r-v4. 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/TooSlow79/swift-inkling-2-mini-iq4r-v4 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/TooSlow79/swift-inkling-2-mini-iq4r-v4. 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.

Swift Inkling 2 Mini IQ4R-V4 + DFlash2: radiance container

ukisai/Swift-Inkling-2-Mini (UkisAI's finetune of Thinking Machines' Inkling 2 Mini that uses fewer thinking tokens) as a single .rad container for the radiance inference engine (AMD RDNA4, ROCm), with incoai/Inkling-2-Mini-DFlash2 as its speculative drafter and the vision tower.

This is a community conversion. It is not affiliated with or endorsed by UkisAI, Thinking Machines, incoai or the radiance project. The recipe is StillDeadcode/inkling-2-mini-iq4r-v4's, unchanged, with Hessians recorded from Swift's own weights.

File swift-inkling-2-mini-iq4r-v4.rad, 14.43 GiB
Experts 128 routed experts of all 24 layers in IQR-V4's four-bit trellis form, fitted by GPTQ against Hessians recorded from Swift Inkling 2 Mini
Attention, head, embedding int8 (attention rotated)
Speculator DFlash2 drafter, quantised as the recipe says. It was trained on the original Inkling 2 Mini, not on Swift. Every draft is verified by the target
Vision the vision tower, bf16: images in chat requests
Needs radiance 2.3.0 or later by the recipe; made and tested with 2.4.1 only
SHA-256 12ad51b549f3e2f170ce454e3aeef06ed03bb265b46f2ac7322e3b0f92718f97

Quality

Measured with radiance's KL mode against Swift Inkling 2 Mini's own weights (its NVFP4 / MXFP8 experts dequantised to bf16), on 114 held-out documents (118,633 positions, at most 1,500 tokens each, drawn from rows of the source datasets the calibration text did not use), int8 KV cache as served below.

positions n mean KL median p99 top-1 agreement
plain text (web, Wikipedia, code) 62,275 0.0059 0.0021 0.055 96.95 %
text the model writes (thinking, answers, tool calls) 36,258 0.0026 0.0005 0.027 98.34 %
user, system and tool turns (read, never generated) 20,100 0.2135 0.0115 4.02 88.10 %
everything 118,633 0.0400 0.0016 0.83 95.88 %

The whole-corpus mean is dominated by the turns the model reads but does not write, and I have not established why those positions differ so much (a likely reason is that the model was never trained to predict them). Judge by the first two rows for how it behaves when generating, but the full table is here so you can decide for yourself. With a bf16 KV cache the same corpus scores 0.0388 overall, 0.0056 plain, 0.0025 for model-written text.

These figures come from a different corpus and reference than the other Inkling containers' cards, so they are not directly comparable with them. Context beyond 1,500 tokens, long agentic sessions and vision quality were not measured; a chat, a tool call and an image request were only smoke-tested.

Speed

2x Radeon AI PRO R9700 (gfx1201, one card power-capped at 210 W), tp: 2, int8 KV cache, greedy, one stream, ~1,200-token essay: 153 to 177 tok/s including prefill, against 159 to 182 for StillDeadcode's base Inkling 2 Mini container in the same test.

Serve

# radiance.yaml
server:
  host: 127.0.0.1
  port: 8000
models:
  swift-inkling-2-mini:
    model: swift-inkling-2-mini-iq4r-v4.rad
    tp: 2
    max-model-len: 200000
    max-num-seqs: 8
    kv-cache-dtype: i8
    num-speculative-tokens: 7
    draft-window: adaptive
radiance --config radiance.yaml

Chat completions with tool calls, reasoning_content and image_url parts work. UkisAI made the model for reasoning effort max.

How this file was made

# 1. the bf16 calibration container
rad-convert Swift-Inkling-2-Mini -o swift-inkling2-bf16.rad --recipe inkling2-mini-bf16.recipe
# 2. Hessians: that container served with `calib-corpus` and `calib-dir`, tp 2
radiance --config cal.yaml
# 3. the container, then the vision tower
CALIB=calib/hessians rad-convert Swift-Inkling-2-Mini --recipe inkling2-mini-iq4r-v4.recipe \
    --draft-model Inkling-2-Mini-DFlash2 --max-ctx 200000 --gpus 0,1,2 -o text.rad
rad-convert Swift-Inkling-2-Mini --add-vision text.rad -o swift-inkling-2-mini-iq4r-v4.rad

The calibration text is 390 documents, 578,984 tokens, from public datasets: fineweb-edu and fineweb-2 (German, French, Russian, Japanese, Chinese), Wikipedia (English, German), Python code (codeparrot), reasoning traces (OpenCodeReasoning, OpenR1-Math, OpenThoughts), Hermes function calling and UltraChat. Chat documents were rendered with the model's own chat template. 9 of the 3,072 experts' down projections saw too few rows and use their layer's pooled Hessian, as the recipe provides. Source revisions: ukisai/Swift-Inkling-2-Mini b4c962b25540c023f77ff688919ffd2e454fb62a, incoai/Inkling-2-Mini-DFlash2 4f9088ea66c21f2b99ed657d1941c306b03e84d2. The recipe file in this repository is radiance 2.4.1's, unchanged.

License

Apache 2.0, as Inkling 2 Mini, Swift Inkling 2 Mini and the DFlash2 drafter; see LICENSE and NOTICE. Thinking Machines' acceptable use policy applies to Inkling 2 Mini. Credit: UkisAI (Swift Inkling 2 Mini), Thinking Machines (Inkling 2 Mini), incoai (DFlash2 drafter), StillDeadcode (radiance and the IQ4R-V4 recipe).

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for TooSlow79/swift-inkling-2-mini-iq4r-v4

Quantized
(25)
this model