Run this model with HF Jobs
Run Cold-ServeLabs/Swift-Inkling-2-Mini-Unofficial-LoRA 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/Cold-ServeLabs/Swift-Inkling-2-Mini-Unofficial-LoRA. 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/Cold-ServeLabs/Swift-Inkling-2-Mini-Unofficial-LoRA 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.
Instructions to use Cold-ServeLabs/Swift-Inkling-2-Mini-Unofficial-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Cold-ServeLabs/Swift-Inkling-2-Mini-Unofficial-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling-2-Mini") model = PeftModel.from_pretrained(base_model, "Cold-ServeLabs/Swift-Inkling-2-Mini-Unofficial-LoRA") - Notebooks
- Google Colab
- Kaggle
Swift-Inkling-2-Mini β Unofficial SVD-Extracted LoRA (PEFT + GGUF)
Independent open-weight lab β every model, dataset, and honest benchmark (including failed runs) is free and open-source. Support on Ko-fi goes straight toward compute and evals Β· coldservelabs.com Β· X (@Coldservelabs) Β· GitHub
Unofficial community extraction. All credit for training the underlying weights belongs to ukisai/Swift-Inkling-2-Mini (and Thinking Machines Lab for the Apache-2.0 base model thinkingmachines/Inkling-2-Mini). Cold-Serve Labs did not train these weights β we only extracted a lightweight low-rank adapter from the published weight difference. If UkisAI releases an official LoRA, we will gladly archive or transfer this repository.
Why We Extracted This LoRA
ukisai/Swift-Inkling-2-Mini was published as full merged weights only. A byte-level diff against thinkingmachines/Inkling-2-Mini revealed two useful structural facts:
- Pure attention-only delta: All 128 NVFP4/MXFP8 MoE experts, embeddings, and
lm_head(unembed) are 100% untouched. Only the96attention projection tensors (wq_du,wk_dv,wv_dv,wo_udacross 24 layers) changed. - Exact rank-32 spectral cliff: Singular Value Decomposition (SVD) of the weight delta shows a sharp
1.74Γβ1.93Γsingular-value drop right atr = 32(with Layer 23wo_udrank-1 alone carrying88.9%of layer energy).
Extracting this delta as a 25.5 MB LoRA (PEFT + GGUF) lets local users:
- Apply Swift's concise thinking directly onto an existing
Inkling-2-MiniGGUF (--lora) without downloading another 16+ GB full model. - Compose Swift cleanly with orthogonal
lm_head-only adapters (such asCold-ServeLabs/Inkling-2-Mini-Mimic-Human), since their weight supports have 0% overlap.
Included Artifacts
| File / Folder | Format | Rank | Captured Delta Energy | Size |
|---|---|---|---|---|
Root (adapter_model.safetensors, adapter_config.json) |
PEFT (BF16) | r=32 |
87.0% |
25.52 MB |
gguf/Swift-Inkling-2-Mini-Unofficial-LoRA-r32-inkling2.gguf |
llama.cpp GGUF LoRA (inkling2 arch) |
r=32 |
87.0% |
25.51 MB |
r16/ |
PEFT (BF16) | r=16 |
83.5% |
12.77 MB |
r4/ |
PEFT (BF16) | r=4 |
72.4% |
3.21 MB |
All extracted tensors were verified finite (0 NaN/Inf) with exact base-model shape parity across all 96 attention modules (lora_alpha = r, so effective scale = 1.0).
Local Verification (llama.cpp HIP, Inkling-2-Mini-UD-IQ4_XS.gguf)
Tested live on AMD Strix Halo (gfx1151, Unsloth llama.cpp b12588 HIP, --temp 0 --top-k 1 -c 2048):
- GSM8K word problem (
$30change): Base24.8s(rambled 35 extra words after solving) ->r=32GGUF LoRA12.3s(2.0Γfaster), exact\boxed{$9}. - Quadratic integer inequality (
n^2 - 19n + 99 <= 15):16.2s, exact\boxed{6}. - Plain 2-sentence CPU cache-miss explanation:
16.0s, clean 2-sentence answer, zero formatting drift.
Usage
llama.cpp (Unsloth inkling2 GGUF layout)
llama-cli \
-m Inkling-2-Mini-UD-IQ4_XS.gguf \
--lora Swift-Inkling-2-Mini-Unofficial-LoRA-r32-inkling2.gguf \
-ngl 99 -c 4096
PEFT (Python)
from peft import PeftModel
# Load base thinkingmachines/Inkling-2-Mini, then:
model = PeftModel.from_pretrained(base_model, "Cold-ServeLabs/Swift-Inkling-2-Mini-Unofficial-LoRA")
License & Attribution
- Original fine-tuned weights: ukisai/Swift-Inkling-2-Mini (Apache-2.0)
- Base model: thinkingmachines/Inkling-2-Mini (Apache-2.0)
- Extraction & GGUF packaging: Cold-Serve Labs (Apache-2.0)
- Downloads last month
- 90
We're not able to determine the quantization variants.
Model tree for Cold-ServeLabs/Swift-Inkling-2-Mini-Unofficial-LoRA
Base model
thinkingmachines/Inkling-2-Mini