A LoRA for Inkling-2-Mini that makes it think shorter. It was trained with SFT on short Opus reasoning traces, at the template's default effort (0.9).
| Method | LoRA SFT, rank 32, attention only, on Tinker |
| Data | 10,464 rows / 7.5M tokens, deduplicated: Roman1111111/claude-opus-4.6-10000x, lordx64/reasoning-distill-claude-opus-4-7-max, nohurry/Opus-4.6-Reasoning-3000x-filtered |
| Training | 1 epoch (327 steps), lr 5e-4 linear decay, batch 32, max length 8,192 |
| Files | Full model with the LoRA merged, in 4 sizes (below), mmproj-F16.gguf (image input), lora/ (llama.cpp --lora GGUF and PEFT adapter) |
Default settings (effort 0.9), temperature 0.7. 10 small Python tasks, 2 samples each; the code was run against asserts.
| Task | Base thinking tokens | Opus-Reasoning | Tests passed (base / LoRA) |
|---|---|---|---|
| Fibonacci, O(log n) | 1,238 | 184 | 2/2 / 2/2 |
| Bracket matching | 1,192 | 58 | 2/2 / 2/2 |
| Flatten nested list | 1,018 | 85 | 2/2 / 2/2 |
| Two-sum | 656 | 433 | 2/2 / 2/2 |
| Longest common subsequence | 516 | 115 | 2/2 / 2/2 |
| Merge intervals | 457 | 122 | 2/2 / 2/2 |
| Sieve of Eratosthenes | 442 | 107 | 2/2 / 2/2 |
| Palindrome check | 362 | 56 | 2/2 / 2/2 |
| Roman to int | 347 | 110 | 2/2 / 2/2 |
| Binary search | 222 | 198 | 2/2 / 2/2 |
| Average | 645 | 147 | 20/20 / 20/20 |
Example: the pens question.
On Tinker (BF16), temperature 0.7, up to 16K new tokens, 1 sample per problem, effort 0.9.
| Benchmark | Base | Opus-Reasoning | Base thinking tokens (avg) | Opus-Reasoning thinking tokens (avg) |
|---|---|---|---|---|
| MATH-500 (500) | 97.2% | 90.0% | 1,346 | 783 |
| HumanEval+ (164) | 94.5% | 81.7% | 1,563 | 409 |
| File | Size | Fits in (RAM + VRAM together) |
|---|---|---|
Inkling-2-Mini-Opus-Reasoning-Q2_K_XL.gguf |
9.9 GB | 16 GB |
Inkling-2-Mini-Opus-Reasoning-IQ3_XXS.gguf |
12.3 GB | 16 GB, tight |
Inkling-2-Mini-Opus-Reasoning-Q3_K_XL.gguf |
14.3 GB | 24 GB |
Inkling-2-Mini-Opus-Reasoning-Q4_K_M.gguf |
17.2 GB | 24 GB |
mmproj-F16.gguf |
0.6 GB | image input (the base model's projector) |
Each file is the matching unsloth/Inkling-2-Mini-GGUF UD quant with the LoRA merged into the attention weights, which stay at F16 (about +0.6 GB per file).
Pick a size from the table and put its name after the colon.
llama.cpp (b12622 or newer):
llama-server -hf banyohavlusu23/Inkling-2-Mini-Opus-Reasoning-GGUF:Q3_K_XL --jinja
Ollama:
ollama run hf.co/banyohavlusu23/Inkling-2-Mini-Opus-Reasoning-GGUF:Q3_K_XL
LM Studio: search Inkling-2-Mini-Opus-Reasoning-GGUF and pick a size.
8 GB GPU + 32 GB RAM (measured on an RTX 4060 laptop: 17.7 tok/s at 64K context, against 4.6 tok/s with --fit). Layers 6-17 run three times per token, so the experts of layers 6-14 (as many as fit) stay on the GPU and the other experts go to system RAM:
llama-server -m Inkling-2-Mini-Opus-Reasoning-Q4_K_M.gguf --jinja -ngl 99 -fa on \
-ctk q8_0 -ctv q8_0 -ub 128 -c 65536 -np 1 \
-ot "blk\.([0-5]|1[5-9]|2[0-3])\.ffn_.*_exps\.=CPU"
LoRA only, on top of any unsloth/Inkling-2-Mini-GGUF quant:
llama-server -hf unsloth/Inkling-2-Mini-GGUF:Q4_K_XL \
--lora lora/Inkling-2-Mini-Opus-Reasoning-LoRA-F16.gguf --jinja
To bake the LoRA into your own quant (Q8, IQ4, anything else):
llama-export-lora -m Inkling-2-Mini-UD-Q8_K_XL.gguf \
--lora lora/Inkling-2-Mini-Opus-Reasoning-LoRA-F16.gguf \
-o Inkling-2-Mini-Opus-Reasoning-Q8_K_XL.gguf
Transformers + PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling-2-Mini", device_map="auto")
model = PeftModel.from_pretrained(base, "banyohavlusu23/Inkling-2-Mini-Opus-Reasoning-GGUF", subfolder="lora")
Base model: Thinking Machines (Apache 2.0). Quantized base files: unsloth. Data: the three datasets above (MIT / Apache 2.0).
thinkingmachines/Inkling-2-Mini