Caveling-2-Mini GGUF: Concise-reasoning fine-tune of Inkling-2-Mini (26.4B MoE, 3.4B active)

Caveling-2-Mini is a faster, more efficient version of Thinking Machines' Inkling-2-Mini (26B, 3.4B active, 1M context, text + vision), built as a drop-in replacement for reasoning, coding, and tool-use workloads. It trims repetitive overthinking so you get finished answers faster and at lower token cost without losing accuracy, achieved by lightly fine-tuning only the attention layers while leaving the rest of the base model untouched.

Looking for the original native NVFP4/MXFP8 SafeTensors checkpoint? See the original repo caveman-so/caveling-2-mini.

At xhigh reasoning effort across 9 text and 1M long-context benchmarks (n = 3,935), Caveling-2-Mini retains 100.5% of base accuracy (88.2% vs 87.7%) while cutting mean reasoning tokens by 43.1% and total output tokens by 40.7% (1.71ร— average TTFA speedup). On untrained vision benchmarks (CharXiv, MMMU-Pro), it retains 99.3% accuracy (71.5% vs 72.0%) with 54.0% fewer total output tokens. At low effort, it retains 95.6% accuracy while cutting reasoning tokens by 26.4% (1.40ร— average TTFA speedup).

โ†“ 43.1% Reasoning tokens cut at xhigh, cutting up to 93.1% at full accuracy 100.5% Accuracy retained at xhigh ~99% Untrained vision retained 1.71ร— Average TTFA speedup at xhigh purely from output reduction

What is TTFA? TTFA (Time to Finished Answer) is the total end-to-end latency from sending a prompt until both reasoning and the final visible answer have finished generating. Because Caveling-2-Mini preserves the exact architecture and per-token decode path of Inkling-2-Mini, TTFA speedup tracks total output token reduction directly โ€” averaging 1.71ร— at xhigh (up to 1.97ร— on IFEval) and 1.40ร— at low (up to 1.90ร— on LCB v6).

Side-by-side comparison

Both Caveling-2-Mini and Inkling-2-Mini (Base) were given the same two consecutive single-file web-game tasks under identical conditions (xhigh effort 0.99, temperature=1.0, top_p=1.0, seed=42, concurrency 1, native NVFP4/MXFP8 vLLM on matching 1ร— RTX PRO 6000 Blackwell GPUs): first building a playable, zero-dependency 2D Pokรฉmon-style "Cave City" RPG (index.html), then converting their own passing 2D game into a playable 3D Three.js version with the same mechanics. Each build had to reach a working MVP that passed both automated headless-browser checks (zero console or runtime errors, full-viewport rendering, responsive controls) and human usability checks (playable spawn, smooth camera, collision and hitboxes). Whenever a build failed either gate, its errors or play-test issues were fed back to the model in follow-up messages until it resolved them, with every generated token and wall-clock second across the full interaction counted in the displayed totals (167,655 tokens / 19.5 min combined for Caveling-2-Mini vs 336,715 tokens / 41.3 min for Base: 50.2% fewer tokens and 2.12ร— faster). See the full 2D and 3D prompts.

How it works

Inkling-2-Mini is a 24-layer looped MoE whose middle layers (6โ€“17) run three times with shared weights and whose routed experts ship natively in NVFP4/MXFP8. Instead of re-quantizing or altering the 4-bit experts, Caveling-2-Mini updates only the 168 BF16 attention projection tensors directly in served precision and leaves all 1,130 other tensors โ€” experts, router, loop gates, vision encoder, and 3-layer MTP drafter โ€” byte-identical to the base checkpoint. Post-training trims redundant self-verification and dead-end loops inside reasoning blocks while preserving Inkling's effort control (0.0 to 0.99), tool calling, and multimodal stack.

GGUF quantization & fidelity

Because Caveling-2-Mini's entire post-training update lives in the 168 BF16 attention projection tensors (2.4% of parameters) while all 4-bit routed experts remain untouched from Base, both GGUF builds below preserve all 168 fine-tuned attention tensors bit-for-bit lossless in BF16.

  • Caveling-2-Mini-NVFP4.gguf (18.23 GB, recommended): Keeps all 40 native NVFP4 routed-expert tensors (layers 0โ€“19) bit-for-bit untouched alongside our 168 lossless BF16 attention tensors โ€” zero double-quantization, delivering 3.0ร— lower KL divergence than Q4_K_M on wikitext-2 (0.00303 vs 0.00913) and 98.04% same top-1 token agreement on Caveling's own <think> traces (KLD = 0.00256). Fits a single 24 GB GPU or 32 GB Apple Silicon Mac.
  • Caveling-2-Mini-Q4_K_M.gguf (18.40 GB, universal fallback): Calibrated with an importance matrix (imatrix.gguf, computed from Caveling BF16 on bartowski's v6 calibration set rendered through Inkling's chat template) with all 168 fine-tuned attention tensors pinned to BF16. Use this for frontends or GPU backends (e.g., older LM Studio / Ollama / Vulkan builds) that don't yet expose GGML_TYPE_NVFP4.
GGUF Build Size Attention KLD (wiki) KLD (traces) Top-1 A100 Speedpp512 / tg128 (tok/s)
QUANTIZATION FIDELITY VS FULL BF16 (LLAMA.CPP 9fcc40d3d4)
Caveling-2-Mini-NVFP4.gguf 18.23 GB BF16 0.00303 0.00256 98.04% 1,982 / 59.9
Caveling-2-Mini-Q4_K_M.gguf 18.40 GB BF16 0.00913 0.00590 96.85% 2,795 / 60.9
Why BF16 attention? Ablation vs Q8_0 attention (measured on NVIDIA A100 40GB)
Candidate Size KLDwiki KLDtraces Top-1 pp512tok/s tg128tok/s
NVFP4 ATTENTION ABLATION
NVFP4 + BF16 attention (shipped) 18.23 GB 0.00303 0.00256 98.04% 1,982 (+7.0%) 59.94 (-0.6%)
NVFP4 + Q8_0 attention 17.63 GB 0.00325 0.00293 97.99% 1,852 60.29
Q4_K_M ATTENTION ABLATION
Q4_K_M + BF16 attention (shipped) 18.40 GB 0.00913 0.00590 96.85% 2,795 (+10.0%) 60.90 (-0.5%)
Q4_K_M + Q8_0 attention 17.79 GB 0.00909 0.00600 96.81% 2,541 61.23

Keeping our 168 fine-tuned attention tensors in BF16 instead of Q8_0 adds only 0.60 GB, lowers reasoning-trace KL divergence by 13% on NVFP4, speeds up prefill (pp512) by 7โ€“10%, and stays within 0.5โ€“0.6% on single-stream decode (tg128).

Paired Cave City 2D RPG test in llama.cpp

To verify that Caveling-2-Mini's reasoning reduction and end-to-end coding quality carry over directly in llama.cpp, we ran the exact same single-file Cave City 2D RPG coding prompt (xhigh effort 0.99, temperature=1.0, top_p=1.0, seed=42, max_tokens=48,000, single stream in llama-server on A100 40GB) on both Caveling GGUFs and the official Base GGUF (ggml-org/Inkling-2-Mini-GGUF:NVFP4):

Model (GGUF) Wall Time Output Tokens Reasoning Chars Finish Playable HTML
CAVE CITY 2D RPG SINGLE-SHOT BUILD IN LLAMA-SERVER (XHIGH 0.99, 48K CAP)
Inkling-2-Mini-NVFP4.gguf (Base) 14.7 min 48,000 (cap) 98,941 length Truncated
Caveling-2-Mini-NVFP4.gguf 14.1 min 45,617 (โ†“ 5.0%) 67,804 (โ†“ 31.5%) stop Complete
Caveling-2-Mini-Q4_K_M.gguf 9.7 min 32,380 (โ†“ 32.5%) 42,860 (โ†“ 56.7%) stop Complete

Additional llama-server checks on the shipped GGUFs confirmed BFCL tool calling (n=10: 90% on NVFP4, 70% on Q4_K_M, 0 truncated) and effort scaling (low 3,292 mean tokens vs xhigh 6,817 mean tokens on AIME 2025, 2.07ร—).

Benchmarks

Evaluation setup

The full 9-suite tables below were measured on the primary native NVFP4/MXFP8 SafeTensors checkpoint in caveman-so/caveling-2-mini (GGUF closeness to that checkpoint is verified in GGUF quantization & fidelity above).

Both Caveling-2-Mini and Inkling-2-Mini (Base) were evaluated with the same native NVFP4/MXFP8 vLLM serving configuration (max_model_len=262144 / max_output_tokens=131072 for standard suites; max_model_len=1048576 / max_output_tokens=32768 for MRCR 64Kโ€“1M, temperature=1.0, top_p=1.0, top_k=-1, no drafter) and identical per-item deterministic seeds on RTX PRO 6000 Blackwell (SM120). Truncated or unparseable outputs are scored as incorrect; across all 8,120 benchmark generations below, Caveling-2-Mini has a max truncation rate of 2.3%, max unparseable rate of 0.0%, and max loop rate of 0.2% on standard suites (0.0% truncation on MRCR).

xhigh effort (0.99)

Model AIME 24n=30 AIME 25n=60 GPQAn=198 LCB v6n=175 GSM8Kn=1,319 MMLU-Pron=840 IFEvaln=541 BFCL v4n=750 MRCR 1Mn=22 Average
ACCURACY
Caveling-2-Mini 100.0% 96.7% 85.9% 72.0% 95.9% 83.5% 91.9% 84.8% 83.1% 88.2%
Inkling-2-Mini (Base) 100.0% 98.3% 86.4% 75.4% 96.2% 84.0% 93.3% 84.5% 71.2% 87.7%
Retention of Base accuracy 100.0% 98.3% 99.4% 95.5% 99.7% 99.3% 98.4% 100.3% 116.8% 100.5%
REASONING TOKENS VS BASE
Caveling-2-Mini โ†“ 25.9% โ†“ 41.2% โ†“ 40.4% โ†“ 36.5% โ†“ 49.8% โ†“ 44.4% โ†“ 53.8% โ†“ 54.9% โ†“ 40.8% โ†“ 43.1%
OUTPUT TOKENS VS BASE
Caveling-2-Mini โ†“ 25.8% โ†“ 40.8% โ†“ 40.4% โ†“ 36.0% โ†“ 49.0% โ†“ 44.2% โ†“ 49.2% โ†“ 43.7% โ†“ 37.6% โ†“ 40.7%
EST. TTFA SPEEDUP VS BASE
Caveling-2-Mini 1.35ร— 1.69ร— 1.68ร— 1.56ร— 1.96ร— 1.79ร— 1.97ร— 1.77ร— 1.60ร— 1.71ร—
Mean reasoning & answer tokens per prompt
Model AIME 24n=30 AIME 25n=60 GPQAn=198 LCB v6n=175 GSM8Kn=1,319 MMLU-Pron=840 IFEvaln=541 BFCL v4n=750 MRCR 1Mn=22 Average
MEAN REASONING TOKENS
Caveling-2-Mini 10,563 11,220 9,901 19,613 327 2,588 898 167 3,312 6,510
Inkling-2-Mini (Base) 14,248 19,076 16,622 30,892 651 4,651 1,945 370 5,594 10,450
MEAN ANSWER TOKENS
Caveling-2-Mini 314 355 49 478 33 31 298 89 450 233
Inkling-2-Mini (Base) 423 478 83 499 63 50 414 97 439 283
MRCR (64Kโ€“1M) breakdown by context length
Model 64Kn=4 128Kn=4 256Kn=6 512Kn=4 1Mn=4 Alln=22
MRCR SCORE BY CONTEXT LENGTH (XHIGH)
Caveling-2-Mini 100.0% 99.3% 69.5% 78.0% 75.7% 83.1%
Inkling-2-Mini (Base) 78.5% 75.5% 69.0% 51.3% 82.8% 71.2%
Retention of Base accuracy 127.4% 131.5% 100.7% 152.1% 91.5% 116.8%

low effort (0.2)

Model AIME 24n=30 AIME 25n=60 GPQAn=198 LCB v6n=175 GSM8Kn=1,319 MMLU-Pron=840 IFEvaln=541 BFCL v4n=750 MRCR 1Mn=22 Average
ACCURACY
Caveling-2-Mini 90.0% 81.7% 75.8% 63.4% 96.4% 81.8% 88.9% 85.1% 72.9% 81.8%
Inkling-2-Mini (Base) 100.0% 96.7% 81.8% 69.7% 96.4% 81.3% 90.4% 86.1% 67.2% 85.5%
Retention of Base accuracy 90.0% 84.5% 92.6% 91.0% 99.9% 100.6% 98.4% 98.8% 108.5% 95.6%
REASONING TOKENS VS BASE
Caveling-2-Mini โ†“ 26.1% โ†“ 34.8% โ†“ 28.5% โ†“ 49.1% โ†“ 23.1% โ†“ 28.7% โ†“ 33.0% โ†“ 31.5% โ†‘ 17.4% โ†“ 26.4%
OUTPUT TOKENS VS BASE
Caveling-2-Mini โ†“ 27.2% โ†“ 35.5% โ†“ 29.4% โ†“ 47.5% โ†“ 30.2% โ†“ 29.7% โ†“ 28.4% โ†“ 18.3% โ†‘ 14.6% โ†“ 25.7%
EST. TTFA SPEEDUP VS BASE
Caveling-2-Mini 1.37ร— 1.55ร— 1.42ร— 1.90ร— 1.43ร— 1.42ร— 1.40ร— 1.22ร— 0.87ร— 1.40ร—
Mean reasoning & answer tokens per prompt
Model AIME 24n=30 AIME 25n=60 GPQAn=198 LCB v6n=175 GSM8Kn=1,319 MMLU-Pron=840 IFEvaln=541 BFCL v4n=750 MRCR 1Mn=22 Average
MEAN REASONING TOKENS
Caveling-2-Mini 4,613 6,742 1,190 7,164 135 417 396 74 2,210 2,549
Inkling-2-Mini (Base) 6,244 10,340 1,663 14,071 176 585 590 108 1,883 3,962
MEAN ANSWER TOKENS
Caveling-2-Mini 99 100 20 453 12 15 223 85 439 161
Inkling-2-Mini (Base) 231 272 54 440 38 32 277 90 428 207
MRCR (64Kโ€“1M) breakdown by context length
Model 64Kn=4 128Kn=4 256Kn=6 512Kn=4 1Mn=4 Alln=22
MRCR SCORE BY CONTEXT LENGTH (LOW)
Caveling-2-Mini 76.2% 59.6% 85.3% 78.5% 58.7% 72.9%
Inkling-2-Mini (Base) 100.0% 77.0% 84.3% 28.2% 37.9% 67.2%
Retention of Base accuracy 76.3% 77.4% 101.2% 278.0% 154.9% 108.5%

Vision (untrained)

Model CharXivn=100 MMMU-Pron=150 Average
ACCURACY
Caveling-2-Mini 65.0% 78.0% 71.5%
Inkling-2-Mini (Base) 64.0% 80.0% 72.0%
Retention of Base accuracy 101.6% 97.5% 99.3%
REASONING TOKENS VS BASE
Caveling-2-Mini โ†“ 52.3% โ†“ 56.2% โ†“ 54.3%
OUTPUT TOKENS VS BASE
Caveling-2-Mini โ†“ 51.9% โ†“ 56.1% โ†“ 54.0%
EST. TTFA SPEEDUP VS BASE
Caveling-2-Mini 2.08ร— 2.28ร— 2.18ร—
Mean reasoning & answer tokens per prompt
Model CharXivn=100 MMMU-Pron=150 Average
MEAN REASONING TOKENS
Caveling-2-Mini 720 2,814 1,767
Inkling-2-Mini (Base) 1,509 6,431 3,970
MEAN ANSWER TOKENS
Caveling-2-Mini 10 25 17
Inkling-2-Mini (Base) 16 43 30

Usage

Requires a llama.cpp build (b12600+) with inkling2_loop and NVFP4 support (or an updated llama.app, LM Studio, or Ollama runtime).

Serve with llama-server (llama.cpp)

# Recommended: native NVFP4 experts untouched + lossless BF16 attention
llama-server -hf caveman-so/caveling-2-mini-GGUF:NVFP4 \
  --jinja --reasoning-format auto \
  --temp 1.0 --top-p 1.0 -ngl 99

For universal Q4_K_M compatibility, swap :NVFP4 for :Q4_K_M. To enable vision, pass --mmproj mmproj-Caveling-2-Mini-BF16.gguf (always keep --jinja enabled). For local DSpark speculative decoding, attach dspark-Caveling-2-Mini-Q8_0.gguf with --spec-type draft-dspark --spec-draft-n-max 2.

Query via OpenAI-compatible client

Pass reasoning_effort ("xhigh" / 0.99 recommended for maximum accuracy; "low" / 0.2 for faster responses) when using --jinja --reasoning-format auto:

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8080/v1", api_key="EMPTY")

resp = client.chat.completions.create(
    model="caveling-2-mini",
    temperature=1.0,
    top_p=1.0,
    max_tokens=16384,
    extra_body={"reasoning_effort": "xhigh"},
    messages=[
        {"role": "user", "content": "Prove that there are infinitely many primes congruent to 3 mod 4."},
    ],
)

msg = resp.choices[0].message
print("THINKING:", getattr(msg, "reasoning_content", ""))
print("ANSWER:", msg.content)

Run in LM Studio or Ollama

  • LM Studio: Update your llama.cpp runtime pack (b12600+), search for caveman-so/caveling-2-mini-GGUF, select Caveling-2-Mini-NVFP4.gguf (or Caveling-2-Mini-Q4_K_M.gguf on older Vulkan/ROCm backends), and keep the Jinja chat template enabled.
  • Ollama: Run ollama run hf.co/caveman-so/caveling-2-mini-GGUF:Q4_K_M (or :NVFP4 on Ollama builds with GGML_TYPE_NVFP4 enabled for inkling2_loop).

Files

File Size Description
Caveling-2-Mini-NVFP4.gguf 18.23 GB Recommended: 40 native NVFP4 experts untouched + 168 fine-tuned BF16 attention tensors untouched (0.00256 trace KLD)
Caveling-2-Mini-Q4_K_M.gguf 18.40 GB Universal Q4_K_M (imatrix-calibrated on bartowski v6, 168 fine-tuned BF16 attention tensors untouched)
mmproj-Caveling-2-Mini-BF16.gguf 0.64 GB Multimodal vision projector in BF16 (byte-identical to base)
mmproj-Caveling-2-Mini-Q8_0.gguf 0.35 GB Compact Q8_0 multimodal vision projector
dspark-Caveling-2-Mini-Q8_0.gguf 0.40 GB Optional 3-layer DSpark / MTP speculative drafter
imatrix.gguf 0.09 GB Importance matrix computed from Caveling BF16 on bartowski v6 (96ร—512 chunks)
LICENSE 11.4 KB Apache License 2.0

Limitations

  • Recommended effort settings: Use xhigh (0.99) for competition math, hard competitive coding, and PhD-level science. At low (0.2), fast general, instruction-following, and tool-use benchmarks stay near base (98.4%โ€“100.6% retention), while competition math and PhD science trade accuracy for speed (AIME 2025 โˆ’15.0 pts, AIME 2024 โˆ’10.0 pts, GPQA Diamond โˆ’6.1 pts).
  • GGUF runtime requirements: Running these GGUFs requires a modern llama.cpp build (b12600+) with inkling2_loop support and --jinja enabled. On older backends or wrappers without GGML_TYPE_NVFP4, use Caveling-2-Mini-Q4_K_M.gguf.
  • Evaluation scope: Full 9-suite accuracy benchmarks above were measured on the primary native NVFP4/MXFP8 SafeTensors checkpoint in caveman-so/caveling-2-mini (SM120 Blackwell vLLM). GGUF fidelity is independently verified via BF16 KL divergence (wikitext-2 + Caveling <think> traces), llama-bench, paired Cave City 2D RPG builds, BFCL tool calling, and effort scaling on NVIDIA A100 40GB.

License

Apache-2.0, matching caveman-so/caveling-2-mini and thinkingmachines/Inkling-2-Mini.

Downloads last month
1,051
GGUF
Model size
26B params
Architecture
inkling2_loop
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

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

Model tree for caveman-so/caveling-2-mini-GGUF

Quantized
(2)
this model