Inkling-2-Mini-Unbound-noloop

raspy135/Inkling-2-Mini-Unbound-noloop (now updated to v2) is a targeted weight-level anti-loop checkpoint built on top of nokeepai/Inkling-2-Mini-Unbound (v3, commit 14d5c3e1, derived from thinkingmachines/Inkling-2-Mini, 30B total / 3.8B active multimodal Loop-MoE).

It eliminates both thinking-block repetition spirals (exact verbatim loops, paraphrased spirals, and "almost-looping" overthinking cycles) and cross-turn agentic tool-call induction loops (e.g., repeating/incrementing tool calls across turns) across English and multilingual workloads — strictly in the model weights, with zero runtime loop-detection hacks or repetition penalties required — while boosting GPQA Diamond accuracy to 83.8% (+5.6% over v1) and preserving full multi-turn JSON tool calling, intentional repetition, and native DFlash 2 / DSpark speculative decoding compatibility.

v2 Update: main now ships v2 (v1 remains tagged as v1 in Git history). Compared to v1, v2 adds cross-turn tool-call loop suppression, multilingual (KO/JA/ZH/FR/DE/ES) coverage, FP8-KV-aware training, earliest-onset spiral detection, and native sentence-boundary thinking exits — cutting overthinking further and raising GPQA Diamond from 78.3% → 83.8% (+11 net correct) while lowering stuck problems on both GPQA (14 → 5) and HARD (6 → 5).


Highlights

  • GPQA Diamond (198 questions, effort=high, temp=0.6): 166 / 198 (83.84%) — up +5.56% over v1 (155/198 = 78.28%), with 193/198 answered (+12), 5/198 stuck (-64%), 0/198 tight loops, and -12% leaner thinking (8,816 vs 9,332 mean thinking chars).
  • 0 / 50 loops on a strictly held-out 50-run English stress suite (0 tight, 0 spiral — measured with all runtime loop detectors disabled): 19/24 hard prompts answered (up from 1/24 on official base, 14/24 on raw Unbound v3, and 18/24 on v1), cutting mean thinking length by 55.1% vs base (14,120 vs 31,475 chars) while producing 41× more answer content (6,159 vs 151 chars).
  • Cross-turn tool-call loop suppression (EN/KO/JA/ZH): 0/12 loops under greedy decoding (temp=0.0, 12/12 clean stops, -36% fewer redundant extra tool calls: 1.17 vs 1.83 on v1), 1/12 stochastic (temp=0.6, 1.17 extra calls vs 2/12 loops / 1.58 calls on v1), with exact parity (10/12) on legitimate multi-step agent tasks (LEGIT_AGENT, 0 loops).
  • Multilingual long-prose & native reasoning parity (KO/JA/ZH/FR/DE/ES): 0/12 loops, 12/12 answered, 2,854 mean output chars (vs 2,754 on v1), and 10/10 exact paragraph parity on long prose translations.
  • 100% pass rate on all automated checks (26/26): 8/8 multi-turn OpenAI JSON tool calls, 8/8 intentional repetition/copying tasks (0/8 spiral flags), and 10/10 exact math & unit-tested Python problems.
  • Minimal surgical weight delta: Stacked on v1's base edit, v2 adds a rank-8 LoRA merged into 126 BF16 attention/position matrices (wq_du, wk_dv, wv_dv, wo_ud, gate_attn, wr_du, attn_sink across Loop Core + Coda L6..L23; relative Frobenius norm |ΔW| / |W| = 0.0039–0.0052, mean 0.0044). Prelude (L0..L5) and all recurrent loop controllers (ctrl_*) are frozen.
  • All 3,072 NVFP4 & MXFP8 routed experts, vision tower, tokenizer, and MTP/DSpark weights are byte-identical to nokeepai/Inkling-2-Mini-Unbound v3 — drop-in compatible with SmallTide (NVIDIA CUDA & AMD ROCm), DFlash 2, and Transformers (existing SmallTide experts.stide caches remain 100% compatible).

Benchmarks

All evaluations below were run with SMALLTIDE_LOOP_DETECT=0 and SMALLTIDE_THINKING_LOOP_DETECT=0 (pure weight-level behavior) on strictly held-out suites completely disjoint from training.

1. GPQA Diamond (198 Questions)

Evaluated with reasoning_effort="high", temperature=0.6, max_tokens=16384 (fingertap/GPQA-Diamond, 198 PhD-level physics/chemistry/biology questions):

Model GPQA Diamond Accuracy Answered Stuck (No Answer) Loops (Tight / Spiral) Mean Comp. Tokens Mean Think (ch)
Inkling-2-Mini-Unbound-noloop (v1) 155 / 198 (78.3%) 181 / 198 14 / 198 9 / 198 (3T / 6S) 3,476 9,332
Inkling-2-Mini-Unbound-noloop (v2, this model) 166 / 198 (83.8%) 193 / 198 5 / 198 3 / 198 (0T / 3S)* 3,358 8,816

*Of the 3 spiral-flagged traces on v2, 2 (q_060, q_100) still exited thinking cleanly and answered correctly; 0/198 tight verbatim loops. Net v1 → v2: +20 gained (8 previously stuck/looped + 12 flipped wrong → right by cutting overthinking), -9 lost (+11 net).

2. Held-Out English Anti-Loop, Efficiency & Capability Suite (50 Runs)

  • HARD (24 runs = 12 hard prompts × 2 salts, effort=high, temp=0.6, max_tokens=10000): concurrency/memory-model bugs (seqlock, paxos, btree, ring, async_codec, mvcc_vacuum), billing/rounding (money), combinatorics (knights, turan_comb), physics/3D/regex synthesis (nbody_sim, threejs_vase, regex_engine).
  • AGENT (8 runs = 4 multi-turn 4K–6K token debugging sessions × 2 salts, effort=medium): validates OpenAI JSON tool-call schema and required arguments (edit_file, run_python, read_file).
  • LEGIT (8 runs, effort=low, temp=0.2): tasks that require intentional repetition (rep30, markdown tables, code renames, villanelle/song refrains).
  • CAP (10 runs, effort=medium, temp=0.2): exact math & unit-tested Python algorithm problems.
Model HARD Loops HARD Stuck HARD Answered HARD Mean Think (ch) HARD Mean Ans (ch) AGENT Pass LEGIT Pass CAP Pass
thinkingmachines/Inkling-2-Mini (base) 4/24 (3T / 1S) 20/24 1/24 31,475 151 7/8 8/8 10/10
nokeepai/Inkling-2-Mini-Unbound (raw) 5/24 (2T / 3S) 8/24 14/24 20,147 4,295 7/8 8/8 10/10
Inkling-2-Mini-Unbound-noloop (v1) 0/24 (0T / 0S) 6/24 18/24 17,115 5,047 8/8 8/8 10/10
Inkling-2-Mini-Unbound-noloop (v2, this model) 0/24 (0T / 0S) 5/24 19/24 14,120 6,159 8/8 8/8 10/10

3. Held-Out Cross-Turn Tool-Call Loops & Multilingual Long-Prose Suite (30 Runs)

  • TRAP (12 traps × 2 temperatures = 24 runs across EN/KO/JA/ZH): 10–18 prior turns of incrementing/EOF/no-op/failing tool calls with thinking-in-history (reproducing real-world Ran End39 → Thought → Ran End40 → ... agentic loops).
  • LEGIT_AGENT (6 multi-step EN/KO/JA/ZH tasks): requires 2–5 sequential productive tool calls (read → edit/write → verify → report) to verify zero over-suppression of normal tool calling.
  • EVAL_ML (12 prompts across KO/JA/ZH/FR/DE/ES): multi-paragraph literary translations and native technical reasoning.
Model Tool Traps (t=0.0 greedy) Tool Traps (t=0.6) LEGIT_AGENT (t=0.0 / t=0.6) EVAL_ML Loops EVAL_ML Answered EVAL_ML Mean Out (ch)
Inkling-2-Mini-Unbound-noloop (v1) 1/12 loops (1.83 extra calls) 2/12 loops (1.58 extra calls) 5/6 / 5/6 (0 loops) 0/12 12/12 2,754
Inkling-2-Mini-Unbound-noloop (v2, this model) 0/12 loops (1.17 extra calls) 1/12 loops (1.17 extra calls) 5/6 / 5/6 (0 loops) 0/12 12/12 2,854 (10/10 exact para parity)

How It Was Made

  1. Stage 1 (v1): Targeted cycle-survival anti-loop LoRA (r=8, α=16) trained on nokeepai/Inkling-2-Mini-Unbound v3 across the 120 BF16 attention matrices (wq_du, wk_dv, wv_dv, wo_ud, gate_attn, L0..L23), eliminating exact verbatim thinking loops (|ΔW| / |W| ≈ 0.0050).
  2. Stage 2 (v2, this release): Surgical attention-only refinement (r=8, α=16, 4.00M trainable parameters) across the 126 BF16 attention/position projections in Loop Core + Coda (wq_du, wk_dv, wv_dv, wo_ud, gate_attn, wr_du, attn_sink, L6..L23), leaving Prelude (L0..L5) and all recurrent loop controllers (ctrl_*) completely frozen:
    • Real multi-category training traces (zero synthetic paste-loops, zero eval overlap): 308 training sequences spanning exact verbatim loops, early-onset paraphrased thinking spirals, cross-turn tool-call loops across 6 languages (EN/KO/JA/ZH/DE/ES), healthy multilingual translations & reasoning, legitimate repetition anchors, and valid multi-step AGENT tool-calling traces.
    • Earliest-onset spiral detection + native sentence-boundary exit: Forward-scans for early circling onset (Cycle 2–3) so "almost-looping" cycles are suppressed instead of KL-anchored, and applies a gentle <|end_message|> probability floor (target=0.08) strictly at sentence-ending punctuation ('.', '。', '!', '?') inside verified spiral tails — matching Inkling-2-Mini's native '.' → <|end_message|> thinking termination.
    • Turn-decision masked CE + contrastive AGENT KL anchoring: Suppresses looped turn-entry tool re-invocation (<|content_invoke_tool_json|> / repeated tool starts) using the base model's own renormalized non-looping distribution, while explicitly KL-anchoring valid <|content_invoke_tool_json|> headers on productive multi-step AGENT/LEGIT traces (β_legit = 18.0).
    • FP8-KV-aware training: Enables per-(head, token) FP8 E4M3FN KV fake-quantization (STE) on loop examples during training so anti-loop behavior transfers cleanly under FP8 KV serving without adding noise to healthy KL anchors.
    • Merged cleanly in FP64 with round-to-nearest-even BF16 conversion at scale=0.75 (|ΔW| / |W| = 0.0039–0.0052, mean 0.0044). All NVFP4/MXFP8 MoE experts, embeddings, norms, loop controllers, vision tower, and MTP drafter weights remain untouched.

Usage

With SmallTide (Windows & Linux, NVIDIA CUDA & AMD ROCm)

SmallTide runs the native NVFP4/MXFP8 weights directly with zero GGUF re-quantization and supports DFlash 2 / DSpark speculative decoding:

# Point SMALLTIDE_MODEL_DIR at the downloaded directory
SMALLTIDE_MODEL_DIR=models/Inkling-2-Mini-Unbound-noloop

# Optional: disable thinking-block loop guard (no longer needed for this checkpoint)
SMALLTIDE_THINKING_LOOP_DETECT=0

Recommended sampling settings (matching upstream Inkling-2-Mini):

  • temperature: 0.6 (or 1.0 for creative tasks)
  • reasoning_effort: "medium" or "high" (0.9)
  • repetition_penalty: 1.0 (do not apply heavy repetition penalties; they are unnecessary and can hurt structured JSON/code output)

With Hugging Face Transformers / vLLM / SGLang

Follow the upstream thinkingmachines/Inkling-2-Mini setup (requires inkling2_loop model architecture support). Because all anti-loop fixes live purely in the BF16 attention weights, no engine-specific loop detectors or sampling hacks are required.


Limitations & Notes

  • Base model provenance: This model inherits the behavioral characteristics and reduced-refusal properties of nokeepai/Inkling-2-Mini-Unbound. Apply appropriate downstream guardrails if deploying in user-facing applications.
  • Very hard / open-ended reasoning: While repetition loops dropped to 0/24 on HARD and 0/198 tight loops on GPQA Diamond, 5/24 extremely difficult HARD problems still exhausted the 10,000-token thinking budget without looping (stuck_thinking). Raising max_tokens or using reasoning_effort="medium" avoids truncation on long problems.

Credits & License

Downloads last month
116
Safetensors
Model size
26B params
Tensor type
F32
·
BF16
·
F8_E4M3
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for raspy135/Inkling-2-Mini-Unbound-noloop

Finetuned
(5)
this model