{"slug": "caveling-2-mini-post-trained-fine-tuned-inkling-2-mini", "title": "Caveling-2-Mini (post-trained/fine-tuned Inkling-2-Mini)", "summary": "Caveling-2-Mini, a post-trained version of Thinking Machines' Inkling-2-Mini released under Apache-2.0 on Hugging Face, retains 100.5% of the base model's accuracy across 9 text and 1M long-context benchmarks at xhigh effort while using 43.1% fewer reasoning tokens, an estimated 1.71× average speedup in time to finished answer. On vision benchmarks it was never trained on, Caveling-2-Mini keeps 99.3% of base accuracy with 54.0% fewer output tokens, and in a two-task web-game build it finished in 167,655 tokens and 19.5 minutes versus 336,715 tokens and 41.3 minutes for Inkling-2-Mini. The base model's architecture, tokenizer and chat template are unchanged, and effort control, tool calling and image input work as before.", "body_md": "Thinking Machines' [Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)\npacks a lot into a small model: a looped mixture-of-experts with 26B total and\n3.4B active parameters, a 1M-token context, native NVFP4/MXFP8 weights, and\nstrong scores across math, coding and tool use. Its weak spot is how long it\ntakes to get there. It overthinks, re-checking answers it already has and\ncircling back through dead ends: on Artificial Analysis it uses 74% more tokens\nthan average across benchmarks, so even a straightforward answer often waits\nbehind pages of thinking.\n\n**Caveling-2-Mini** is Inkling-2-Mini post-trained to skip those loops. We\nbuilt it for reasoning, coding and tool-use work where Inkling-2-Mini gets the\nanswer right but takes too long. At `xhigh` effort across 9 text and 1M\nlong-context benchmarks it keeps **100.5%** of the base model's accuracy with\n**43.1% fewer reasoning tokens**, an estimated **1.71×** average speedup in\ntime to finished answer. On vision benchmarks it was never trained on, it keeps\n**99.3%** of base accuracy with **54.0% fewer output tokens**. The weights are\nopen today under Apache-2.0 on\n[Hugging Face](https://huggingface.co/caveman-so/caveling-2-mini), with the\nbase model's architecture, tokenizer and chat template unchanged.\n\nPost-training removed repeated self-checks and dead-end loops from the reasoning. Effort control, tool calling and image input work as before.\n\n## Side-by-side in practice\n\nWe gave both models the same two consecutive single-file web-game tasks under\nidentical conditions. First, build a playable, zero-dependency 2D\nPokémon-style \"Cave City\" RPG in one `index.html`. Then convert that passing 2D\ngame into a playable 3D Three.js version with the same mechanics.\n\nEach build had to reach a working MVP that passed two gates. An **automated\nheadless-browser check** required zero console or runtime errors,\nfull-viewport rendering and responsive controls. A **human usability check**\nrequired a playable spawn, a smooth camera, and working collision and hitboxes.\nWhen a build failed either gate, its errors or play-test notes went back to the\nmodel as follow-up messages until it fixed them, and every generated token and\nwall-clock second of that exchange counts toward the totals.\n\nAcross both tasks, Caveling-2-Mini finished in **167,655 tokens and 19.5\nminutes**, against 336,715 tokens and 41.3 minutes for Inkling-2-Mini: **50.2%\nfewer tokens** and **2.12× faster** to two working games. The exact\n[2D and 3D prompts](https://huggingface.co/caveman-so/caveling-2-mini/blob/main/prompts/cave-city-prompts.txt)\nare published with the weights, and the\n[recording](https://huggingface.co/caveman-so/caveling-2-mini/resolve/main/caveling-vs-inkling-cavecity-sidebyside.mp4)\nplays at full size there too. This is one task pair on one seed, so read it as\nan illustration of the benchmark results below, not as a separate measurement\nof them.\n\n### What changes inside the thinking\n\nTo see where those tokens go on a short everyday coding prompt, we ran both models at `xhigh` effort with the same seed on a straightforward grid-counting task. Both produce the same working Python solution, yet Inkling-2-Mini spends 778 reasoning tokens second-guessing an example and drafting the whole script inside its thoughts before writing it a second time. Caveling-2-Mini plans it in 48 tokens (93.8% fewer) and writes the solution straight away.\n\n### Same prompt at xhigh: reasoning and answer side by side\n\nxhigh effort (0.99) · identical seed\nGiven F friends' Y/N likes over I items and a threshold T, write a Python 3 program that counts how many items have at least T likes.\n\n```\nHere is a competitive programming task.\n\nYou're a Professional\n\nTime limit per test: 2.0 seconds; memory limit: 64.0 MB\n\nA simple recommendation system would recommend a user things liked by a certain number of their friends. In this problem you will implement part of such a system.\n\nYou are given user's friends' opinions about a list of items. You are also given a threshold T — the minimal number of \"likes\" necessary for an item to be recommended to the user.\n\nOutput the number of items in the list liked by at least T of user's friends.\n\nInput\nThe first line of the input will contain three space-separated integers: the number of friends F (1 ≤ F ≤ 10), the number of items I (1 ≤ I ≤ 10) and the threshold T (1 ≤ T ≤ F).\n\nThe following F lines of input contain user's friends' opinions. j-th character of i-th line is 'Y' if i-th friend likes j-th item, and 'N' otherwise.\n\nOutput\nOutput an integer — the number of items liked by at least T of user's friends.\n\nExamples\nInput\n3 3 2\nYYY\nNNN\nYNY\n\nOutput\n2\n\nInput\n4 4 1\nNNNY\nNNYN\nNYNN\nYNNN\n\nOutput\n4\n\nGive a complete Python 3 solution (read input with input() or sys.stdin, print the result) in a single code block.\n```\n\n#### Thinking · 778 tok\n\n#### Answer · 149 tok\n\n``` python\nimport sys\n\ndef main():\n    data = sys.stdin.read().split()\n    F, I, T = int(data[0]), int(data[1]), int(data[2])\n    lines = data[3:3 + F]\n    result = 0\n    for j in range(I):\n        likes = 0\n        for i in range(F):\n            if lines[i][j] == 'Y':\n                likes += 1\n        if likes >= T:\n            result += 1\n    print(result)\n\nmain()\n```\n\n#### Thinking · 48 tok\n\n#### Answer · 149 tok\n\n``` python\nimport sys\n\ndef main():\n    data = sys.stdin.read().split()\n    F, I, T = int(data[0]), int(data[1]), int(data[2])\n    lines = data[3:3 + F]\n    count = 0\n    for j in range(I):\n        c = 0\n        for i in range(F):\n            if lines[i][j] == 'Y':\n                c += 1\n        if c >= T:\n            count += 1\n    print(count)\n\nmain()\n```\n\n## Attention is all you need\n\nAttention is all you need, and we took that to heart with Caveling-2-Mini. Inkling-2-Mini is a 24-layer looped mixture-of-experts model. Layers 6 to 17 run three times per token with shared weights, and the routed experts ship natively in NVFP4/MXFP8. Fine-tuning the experts would mean dequantizing them, training, and quantizing again, which adds rounding drift to most of the model's parameters.\n\nSo we trained only the attention. Caveling-2-Mini updates the **168 BF16\nattention projection tensors** directly in the precision they are served in,\nand leaves the other **1,130** tensors byte-identical to the base checkpoint.\n\nLayer 0Layer 23\n\n**Vision carries over.** The vision encoder never saw a gradient, and on\n`CharXiv` and `MMMU-Pro` the model keeps 99.3% of base accuracy with 54.0%\nfewer output tokens: the shorter reasoning transferred to images we never\ntrained on.\n\n**Long-context recall holds.** On MRCR from 64K to 1M tokens at `xhigh`,\nCaveling-2-Mini scored 83.1% against 71.2% for the base model with 40.8% fewer\nreasoning tokens, on a small suite of 22 items.\n\n**The serving stack does not change.** The 3-layer MTP drafter ships\nbyte-identical, so Inkling's native speculative decoding loads it as before.\nWe have not yet benchmarked the speculative speedup on the released weights,\nand every number in this post was measured with the drafter off.\n\nThe cost is that attention has to carry the whole behaviour change. Because the looped middle layers share weights, anything they learn applies on all three passes, so a small update has a large effect, in both directions.\n\n## How we trained it\n\nWe trained in two steps, each with one job.\n\n**Step 1: on-policy self-distillation.** The model writes its own reasoning,\nand a reverse-KL anchor pulls each of its tokens toward the base model. On\neasy and medium problems, the base model it learns from is given rules for\nconcise reasoning, so the redundant verification loops get trimmed. On hard\nproblems, it learns from the plain base model, which keeps those tokens where\nthey already were. This step cut reasoning by about 20% while holding accuracy\nclose to the base model.\n\n**Step 2: verified preference optimization.** We then built 534 preference\npairs only from prompts the model solved reliably: both answers verified\ncorrect, with the shorter reasoning preferred. The pairs cover instruction\nfollowing, tool use, multiple choice, structured output and math. Training on\nthem doubled the cut, to the 43.1% at `xhigh` reported above, with accuracy\nintact. Verifying both answers matters: a pair where the short answer is wrong\nteaches the model to stop early.\n\n## Benchmarks across effort and 1M context\n\nInkling-2-Mini takes a thinking effort from `0.0` to `0.99` in the system\nmessage. We publish two settings, `xhigh` (0.99) and `low` (0.2), plus vision.\nWe also report **TTFA (time to finished answer)**: the time from sending a\nprompt until both the reasoning and the visible answer have finished. Both\nmodels share the same architecture and per-token decode path, so we estimate\nTTFA speedup as the ratio of mean output tokens per prompt, and average it\nacross benchmarks.\n\nAt `xhigh`, Caveling-2-Mini keeps 100.5% of base accuracy across 9 benchmarks\nwith 43.1% fewer reasoning tokens and a 1.71× average TTFA speedup. Its largest\nsingle loss is `LiveCodeBench v6`, 72.0% against 75.4%. Small suites such as\nAIME (30 and 60 problems) and MRCR (22 items) move by a few points between\nruns, so read their individual deltas as within run-to-run noise.\n\nSee the full per-benchmark tables on the\n[Hugging Face model card](https://huggingface.co/caveman-so/caveling-2-mini).\n\n### Long reasoning at xhigh: math, science, code and 1M context\n\nmean reasoning tokens per prompt\n### Everyday work at xhigh: grade-school math, knowledge, instructions, tools\n\nmean reasoning tokens per prompt\nAt `low`, the model keeps 95.6% of base accuracy with 26.4% fewer reasoning\ntokens and a 1.40× average TTFA speedup. General knowledge, instruction\nfollowing and tool use stay near the base model (98.4% to 100.6% retained);\nthe losses sit in competition math, PhD-level science and hard coding, such as\n`AIME 2025` at 84.5% retained and `LiveCodeBench v6` at 91.0%. MRCR is the one\nsuite where Caveling-2-Mini reasons more than the base model at `low`, 17.4%\nmore, for a TTFA ratio of 0.87×. On untrained vision, `CharXiv` gained 1.0\npoint and `MMMU-Pro` lost 2.0, for 99.3% retained.\n\n### Untrained vision, and two suites at low effort\n\nmean reasoning tokens per prompt\nPick the effort by the work. Use `xhigh` for competition math, hard coding and\nPhD-level science, and `low` for fast general, instruction-following and tool\ntasks, where accuracy stays near the base model.\n\n## Serve it as a drop-in\n\nCaveling-2-Mini serves with the same stack as Inkling-2-Mini. It needs a vLLM build with Inkling-2-Mini support and uses the same reasoning and tool-call parsers:\n\n`vllm serve caveman-so/caveling-2-mini --served-model-name caveling-2-mini --tensor-parallel-size 1 --max-model-len 262144 --gpu-memory-utilization 0.9 --reasoning-parser inkling --enable-auto-tool-choice --tool-call-parser inkling`\nSet the effort in the system message, for example `Thinking effort level: 0.99`\nfor `xhigh` or `0.2` for `low`. The weights also load with Transformers through\n`AutoModelForImageTextToText`.\n\nWe have not yet measured agentic software engineering suites (`SWE-bench Verified`, `Terminal-Bench`) or GGUF and MLX conversions, and Hopper GPUs,\nwhich serve the experts dequantized to BF16, may differ from these numbers.\n\n## Benchmark methodology notes\n\n**Models:** Inkling-2-Mini (`thinkingmachines/Inkling-2-Mini`, pinned at\nrevision `b85c3cfa615fc413cc9af3379f491b963f3b586a`) against Caveling-2-Mini as\npublished at `caveman-so/caveling-2-mini`.\n\n**Serving and hardware:** One pinned vLLM nightly build for both models, native\nNVFP4/MXFP8 weights, no speculative drafter, RTX PRO 6000 Blackwell (SM120). Standard suites used `max_model_len` 262,144 and up to\n131,072 output tokens; MRCR used `max_model_len` 1,048,576 and up to 32,768\noutput tokens.\n\n**Decoding:** `xhigh` is `Thinking effort level: 0.99` and `low` is\n`Thinking effort level: 0.2` in the system message. Temperature 1.0, `top_p`\n1.0, `top_k` −1, with identical per-item deterministic seeds for both models.\n\n**Benchmarks:** `AIME 2024` (n=30) and `AIME 2025` (n=60), each the mean of two\nsamples per problem. `GPQA Diamond` (n=198), `LiveCodeBench v6` (n=175),\n`GSM8K` (n=1,319), `MMLU-Pro` (n=840), `IFEval` (n=541), `BFCL v4` (n=750) and\nMRCR across 64K, 128K, 256K, 512K and 1M tokens (n=22), each one run per item.\nVision: `CharXiv` (n=100) and `MMMU-Pro` (n=150). That is 8,120 Caveling-2-Mini\ngenerations across both effort settings and vision, each scored against the\nbase model on the same item and seed.\n\n**Truncation and invalid outputs:** Truncated and unparseable outputs are\nscored as incorrect. Across all 8,120 generations, Caveling-2-Mini's highest\ntruncation rate on any suite is 2.3%, its highest unparseable rate is 0.0%, and\nits highest loop rate on the standard suites is 0.2%. MRCR had 0.0% truncation.\n\n**Token counts and TTFA:** Reasoning and answer tokens are counted separately\nand averaged per benchmark. TTFA speedup is base output tokens over\nCaveling-2-Mini output tokens per benchmark: an estimate, not a wall-clock\nmeasurement.\n\n**Uncertainty:** Every suite except AIME is a single run at temperature 1.0, so\ndifferences of a few points on small suites (AIME, MRCR, the vision sets) are\nwithin run-to-run noise. We did not compute confidence intervals for this\nrelease.\n\n**Cave City side-by-side:** `xhigh`, temperature 1.0, `top_p` 1.0, seed 42\nand concurrency 1, each model on one RTX PRO 6000 Blackwell GPU with the same\nnative NVFP4/MXFP8 vLLM setup. Totals count every generated reasoning and\nanswer token across both tasks and all follow-up messages. Times are measured\nwall clock, not estimates.", "url": "https://wpnews.pro/news/caveling-2-mini-post-trained-fine-tuned-inkling-2-mini", "canonical_source": "https://caveman.so/news/introducing-caveling-2-mini", "published_at": "2026-12-01 21:20:01+00:00", "updated_at": "2026-12-01 21:46:15.816581+00:00", "lang": "en", "topics": ["large-language-models", "ai-research", "ai-tools", "ai-products"], "entities": ["Caveling-2-Mini", "Inkling-2-Mini", "Thinking Machines", "Hugging Face", "Artificial Analysis", "Apache-2.0"], "also_reported_by": [], "takeaway": "Post-training Inkling-2-Mini to cut repeated self-checks and dead-end loops kept 100.5% of base accuracy on 9 text and long-context benchmarks with 43.1% fewer reasoning tokens and a 1.71× average speedup at xhigh effort.", "recommendation": {"advice": "Post-train away repeated self-checks and dead-end reasoning loops to cut token spend; the source kept 100.5% of base accuracy with 43.1% fewer reasoning tokens and a 1.71× speedup.", "playbook": "llm-cost", "playbook_url": "https://wpnews.pro/playbooks/llm-cost"}, "alternates": {"html": "https://wpnews.pro/news/caveling-2-mini-post-trained-fine-tuned-inkling-2-mini", "markdown": "https://wpnews.pro/news/caveling-2-mini-post-trained-fine-tuned-inkling-2-mini.md", "text": "https://wpnews.pro/news/caveling-2-mini-post-trained-fine-tuned-inkling-2-mini.txt", "jsonld": "https://wpnews.pro/news/caveling-2-mini-post-trained-fine-tuned-inkling-2-mini.jsonld"}}