PEFT
Safetensors
lora
reasoning
inkling

Inkling2-26B-compact-thinking

A LoRA adapter for Inkling 2 Mini (26.4B total, 3.4B active) that makes the model think about half as long without losing accuracy.

Inkling reasons before every answer. This adapter was trained on its own shortest correct reasoning, so it keeps the habit but cuts the padding: on held-out math it uses half the tokens and scores slightly higher.

Results

Held-out math, 500 problems (300 GSM8K test, 200 MATH test), reasoning effort 0.9, temperature 1.0:

Base Compact thinking
Accuracy 96.4% 97.0%
Median completion tokens 337 201
Mean completion tokens 711 352

Coding, 24 tasks with hidden tests, 6 samples per task, effort 0.9:

Base Compact thinking
Fully passing 94.4% 92.4%
Median completion tokens 14.0k 4.4k

Coding gets the biggest saving (about 70% fewer tokens) for a small accuracy cost (about 3 of 144 samples).

Agent use (our tool-calling harness, effort none): no regressions on tool choice, search, code execution, calculator use or multi-step file tasks. Scores matched the base model within run-to-run noise.

Training

  • Data: Inkling2-compact-thinking-SFT. Inkling 2 Mini answered 1,500 training problems (900 GSM8K train, 600 MATH train, levels 2 to 5) at low and high effort, 2 samples each. For each problem we kept the shortest correct answer, dropped samples over 4,000 tokens and held out 73 for validation: 1,381 training examples. None of the evaluation problems are in the training set.
  • Method: supervised fine-tuning on Tinker, LoRA rank 32, alpha 32 (attention, MoE experts and output head), learning rate 2e-4 with linear decay, 1 epoch, batch size 32, max length 8,192.

Usage

vLLM (MoE expert LoRA support in vLLM is still marked experimental):

vllm serve thinkingmachines/Inkling-2-Mini --enable-lora --max-lora-rank 32 \
  --lora-modules compact=schneewolflabs/Inkling2-26B-compact-thinking

Then request "model": "compact".

Limitations

  • Trained on math only. The shorter thinking carries over to code and general use, but those were evaluated less thoroughly than math.
  • Tested at reasoning effort 0.9 and none. Other effort levels should behave similarly but were not measured.

Part of Klecks, Schneewolf Labs' adapter series for Inkling.

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

Model tree for schneewolflabs/Inkling2-26B-compact-thinking

Adapter
(16)
this model

Dataset used to train schneewolflabs/Inkling2-26B-compact-thinking