Instructions to use bipul22/Inkling-2-Mini-Decision-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bipul22/Inkling-2-Mini-Decision-LoRA with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Inkling-2-Mini Decision QLoRA Adapters (System 1 & System 1.5)
Exact Unsloth QLoRA adapters (r=16, lora_alpha=32, attention + 128-expert MoE
attention_mlp, 405,110,784 / 26,791,523,328 trainable params = 1.5121%) corresponding 1:1 to
bipul22/Inkling-2-Mini-Decision-GGUF,
trained on
unsloth/Inkling-2-Mini-unsloth-bnb-4bit
(base_model:
thinkingmachines/Inkling-2-Mini).
System 1 vs. System 1.5 Decision Architecture
These models implement a single-token (max_tokens=1) Decisions API (/v1beta/decisions) with calibrated top_logprobs extraction and $0 output-token verbosity overhead:
- System 1 (Direct Decision Reflex): LoRA / QLoRA fine-tuned directly on ground-truth labels across three structured decision primitives:
choice(A..Zcategorical selection with shuffled option order at training time)noul(Yes/Nocalibrated binary predicate probability)score(0..9ordered rubric with ordinal + Brier regularization)
- System 1.5 (Reasoning-Distilled Decision Reflex): Distills slow System 2 chain-of-thought traces (
enable_thinking=True/reasoning_effort="low") into a single output token using non-collapsed temperature-smoothed comparative + direct probability blending (kl_alpha+ Brier + ordinal score loss) so the model retains soft uncertainty calibration at single-token latency.
Companion Repositories
- Gemma 4 26B-A4B LoRAs (vLLM):
bipul22/Gemma-4-26B-A4B-Decision-LoRA - Inkling-2-Mini Selective GGUFs (
llama.cpp):bipul22/Inkling-2-Mini-Decision-GGUF - Inkling-2-Mini QLoRA Adapters (Unsloth /
SM90+vLLM):bipul22/Inkling-2-Mini-Decision-LoRA
Included QLoRA Adapters (~1.6 GB each)
| Folder | Matching GGUF | Mode & Teacher | Public Val Acc | Calibration (C / N / S) |
|---|---|---|---|---|
system1-v1/ |
System1-v1-IQ4_NL |
Hard / Distill v1, 1,200 v1 samples, 2 ep |
92.5% |
1.75 / 2.60 / 1.80 |
system1-v2/ |
System1-v2-IQ4_NL |
System 1 Hard CE, 5,000 1024px 4-domain, 1 ep |
86.75% |
1.35 / 2.45 / 1.55 |
system-1.5-self-v2/ |
System1.5-Self-v2-IQ4_NL |
System 1.5 Self (reasoning_effort="low", T=3.5, kl=0.30) |
85.75% |
1.65 / 2.35 / 1.80 |
system-1.5-cross-v2/ |
System1.5-Cross-v2-IQ4_NL |
System 1.5 Cross (Gemma 4 enable_thinking=True, T=5.0, kl=0.35) |
85.00% |
2.00 / 2.50 / 2.95 |
Observations on Hard Zero-Shot Fine-Grained Vision (Teaser)
When evaluating these System 1 and System 1.5 decision models zero-shot on a challenging proprietary multi-crop fine-grained physical-object inspection benchmark (distinguishing visually similar instances from sub-millimeter geometry, surface finish, and multi-stage candidate disambiguation), several instructive architectural behaviors emerged:
- System 1.5 Distillation Shifts Fine-Grained Visual Calibration & Attribute Accuracy (
noul): High-resolution16x162D-RoPE vision tokenization paired with temperature-smoothed System 2 reasoning distillation (system-1.5-v2) substantially tightened binary morphological attribute judgment and calibration compared to uncalibrated base models and cloud baselines β while delivering 6 bundled questions in138.3 ms(55.5 mssingle-question) via prefix caching. - Looped MoE Recurrence (
Inkling-2-Mini) Aids Direct Multi-Class Discrimination (choice): The 3-iteration latent-looped MoE architecture paired with System 1 hard target tuning led local direct category discrimination and dual-crop candidate disambiguation. - Cross-Model Distillation Combines Both Worlds (
System1.5-Cross-v2): Distilling Gemma 4 System 2 reasoning distributions into the 3x looped Inkling-2-Mini student yielded our highest top-K candidate recall in zero-shot fine-grained disambiguation.
Detailed ablation findings, error breakdowns, and hard fine-grained visual benchmarks are intentionally held out from public release. If you are working on hard fine-grained visual decision systems and would like deeper insights or collaboration, reach out to bippthk22@gmail.com.
Loading with Unsloth or Merging for SM90+ vLLM
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="bipul22/Inkling-2-Mini-Decision-LoRA",
subfolder="system-1.5-cross-v2",
max_seq_length=4096,
load_in_4bit=True,
)
FastModel.for_inference(model)
For Hopper / Blackwell (SM90+) vLLM deployment (vllm/vllm-openai:inkling-2-mini), merge
the chosen subfolder to 16-bit BF16
(model.save_pretrained_merged(..., save_method="merged_16bit"))
and front it with the bundled quickstart/decisions_quickstart.py server and subfolder
calibration.json. For Ampere / Ada (SM80/SM86/SM89), use the pre-exported GGUFs in
bipul22/Inkling-2-Mini-Decision-GGUF.
License & Attribution
Published under Apache 2.0 in alignment with
thinkingmachines/Inkling-2-Mini
and subject to the Thinking Machines Acceptable Use Policy referenced on the upstream model card.
- Downloads last month
- -
Model tree for bipul22/Inkling-2-Mini-Decision-LoRA
Base model
thinkingmachines/Inkling-2-Mini