Instructions to use caveman-so/caveling-2-mini-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use caveman-so/caveling-2-mini-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf caveman-so/caveling-2-mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf caveman-so/caveling-2-mini-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf caveman-so/caveling-2-mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf caveman-so/caveling-2-mini-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf caveman-so/caveling-2-mini-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf caveman-so/caveling-2-mini-GGUF:Q4_K_M
Use Docker
docker model run hf.co/caveman-so/caveling-2-mini-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use caveman-so/caveling-2-mini-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "caveman-so/caveling-2-mini-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "caveman-so/caveling-2-mini-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/caveman-so/caveling-2-mini-GGUF:Q4_K_M
- Ollama
How to use caveman-so/caveling-2-mini-GGUF with Ollama:
ollama run hf.co/caveman-so/caveling-2-mini-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use caveman-so/caveling-2-mini-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf caveman-so/caveling-2-mini-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "caveman-so/caveling-2-mini-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use caveman-so/caveling-2-mini-GGUF with Docker Model Runner:
docker model run hf.co/caveman-so/caveling-2-mini-GGUF:Q4_K_M
- Lemonade
How to use caveman-so/caveling-2-mini-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull caveman-so/caveling-2-mini-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.caveling-2-mini-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use caveman-so/caveling-2-mini-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf caveman-so/caveling-2-mini-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default caveman-so/caveling-2-mini-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use caveman-so/caveling-2-mini-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf caveman-so/caveling-2-mini-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "caveman-so/caveling-2-mini-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
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.
Official 4-bit GGUF builds (
17.63β18.40 GB) forllama.cpp, LM Studio, and Ollama β flagshipNVFP4, pre-AmpereNVFP4-attnQ8, and universalQ4_K_M.Other formats: See all official SafeTensors, GGUF, GSQ-RCO, and MLX builds in the Caveling-2-Mini collection.
At xhigh reasoning effort across 10 text, 1M long-context, and agentic coding benchmarks (n = 4,024, incl. Terminal-Bench 2.1 avg@3), Caveling-2-Mini retains 101.0% of base accuracy (84.6% vs 83.8%) while cutting mean reasoning tokens by 42.6% and total output tokens by 39.8% (1.68Γ 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.3% accuracy while cutting reasoning tokens by 25.6% (1.37Γ average TTFA speedup).
| β 42.6% Reasoning tokens cut at xhigh, cutting up to 93.1% at full accuracy | 101.0% Accuracy retained at xhigh | ~99% Untrained vision retained | 1.68Γ Average TTFA speedup at xhigh purely from output reduction |
TTFA (Time to Finished Answer): end-to-end latency through reasoning and final answer β tracks total output reduction directly, averaging 1.68Γ at xhigh (up to 1.97Γ on IFEval) and 1.37Γ at low (up to 1.90Γ on LCB v6).
See what others have to say about us
39 runs on GB300 beat our benchmark cuts (18/21 vs 19/21) β "like a free speed upβ¦ a direct drop-in replacement."
RTX 5090 vLLM eval: "much shorter thinking loops" and base-level accuracy in far fewer turns.
Local Q4_K_M test: 40/48 reasoning, 15/15 on 256K memory, and 91.6K tokens 1-shot on Seating Planner.
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, we ship 3 GGUF quant builds: two keep all 168 fine-tuned attention tensors bit-for-bit lossless in BF16, and one stores them in Q8_0 for GPUs without native BF16 tensor cores.
Caveling-2-Mini-NVFP4.gguf(18.23 GB, recommended on Ampere+ / Apple Silicon): Keeps all40nativeNVFP4routed-expert tensors (layers 0β19) bit-for-bit untouched alongside our168losslessBF16attention tensors β zero double-quantization, delivering 3.0Γ lower KL divergence thanQ4_K_Monwikitext-2(0.00303vs0.00913) and98.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-NVFP4-attnQ8.gguf(17.63 GB, recommended for pre-Ampere GPUs without native BF16 β V100 / RTX 20-series / NInfer β and Gufo on AMD Strix Halo): Keeps the same40nativeNVFP4routed-expert tensors untouched, stores the144main attention projections (q/k/v/gate/rel/output) plus embeddings/output inQ8_0, and preserves the32tinyattn_sink_projandattn_k/v_conv_projtensors in bit-exactF32(zeroBF16tensors). This enables both fast non-BF16 decode and Gufo'sBatchCapable()concurrent batching + DFlash2 path while preserving97.99%same top-1 agreement on Caveling's<think>traces (KLD = 0.00293).Caveling-2-Mini-Q4_K_M.gguf(18.40 GB, universal fallback): Calibrated with an importance matrix (imatrix.gguf, computed from CavelingBF16on bartowski's v6 calibration set rendered through Inkling's chat template) with all168fine-tuned attention tensors pinned toBF16. Use this for frontends or GPU backends (e.g., older LM Studio / Ollama / Vulkan builds) that don't yet exposeGGML_TYPE_NVFP4. Attention stays losslessBF16.
| 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-NVFP4-attnQ8.gguf | 17.63 GB | Q8_0 | 0.00325 | 0.00293 | 97.99% | 1,852 / 60.3 |
| Caveling-2-Mini-Q4_K_M.gguf | 18.40 GB | BF16 | 0.00913 | 0.00590 | 96.85% | 2,795 / 60.9 |
BF16 vs Q8_0 attention: ablation (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 (shipped β pre-Ampere) | 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). That makes BF16 attention the better choice on GPUs with native BF16 tensor cores (Ampere, Hopper, Blackwell) and on Apple Silicon. Pre-Ampere GPUs (V100 / Turing) have no native BF16 kernels, so BF16 attention falls back to slower emulated paths; Caveling-2-Mini-NVFP4-attnQ8.gguf stores attention in Q8_0 to avoid them, at a small fidelity cost (0.00293 vs 0.00256 trace KLD). The Q4_K_M + Q8_0 variant is not shipped.
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 10-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).
Caveling-2-Mini, Inkling-2-Mini (Base), and Swift-Inkling-2-Mini were evaluated with the same native NVFP4/MXFP8 vLLM serving configuration (temperature=1.0, top_p=1.0, top_k=-1, identical per-item deterministic seeds on RTX PRO 6000 Blackwell SM120): max_model_len=262144 / max_output_tokens=131072 (no drafter) for the 8 standard suites; max_model_len=1048576 / max_output_tokens=32768 for MRCR 64Kβ1M; and max_model_len=131072 / max_output_tokens=32768 (lossless probabilistic DSpark K=7, harbor==0.27.0 + pi@1.7.0, uniform 3600s timeout) for Terminal-Bench 2.1 (n=89, avg@3, evaluated on Caveling-2-Mini vs Base; blank β for Swift-Inkling-2-Mini, whose averages compare against Base on the 9 matched suites). Truncated or unparseable outputs are scored as incorrect; across standard suites, Caveling-2-Mini has a max truncation rate of 2.3%, max unparseable rate of 0.0%, and max loop rate of 0.2% (0.0% truncation on MRCR; 0 tool-parse errors on Terminal-Bench 2.1).
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 | TB 2.1n=89 | Average |
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACCURACY | |||||||||||
| Caveling-2-Mini | 100.0% | 96.7% | 85.9% | 72.0% | 95.9% | 83.5% | 91.9% | 84.8% | 83.1% | 52.8% | 84.6%9s: 88.2% |
| Inkling-2-Mini (Base) | 100.0% | 98.3% | 86.4% | 75.4% | 96.2% | 84.0% | 93.3% | 84.5% | 71.2% | 48.7% | 83.8%9s: 87.7% |
| Swift-Inkling-2-Mini | 100.0% | 100.0% | 86.9% | 74.3% | 95.0% | 83.1% | 92.2% | 84.1% | 66.4% | β | 86.9%β 9 suites |
| RETENTION | |||||||||||
| Caveling-2-Mini | 100.0% | 98.3% | 99.4% | 95.5% | 99.7% | 99.3% | 98.4% | 100.3% | 116.8% | 108.5% | 101.0%9s: 100.5% |
| Swift-Inkling-2-Mini | 100.0% | 101.7% | 100.6% | 98.5% | 98.7% | 98.9% | 98.8% | 99.5% | 93.3% | β | 99.1%β vs 9 Base |
| 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% | β 38.6% | β 42.6%9s: β 43.1% |
| Swift-Inkling-2-Mini | β 18.1% | β 41.6% | β 42.4% | β 34.7% | β 50.5% | β 46.6% | β 44.9% | β 8.1% | β 1.5% | β | β 31.7%β 9 suites |
| 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% | β 31.5% | β 39.8%9s: β 40.7% |
| Swift-Inkling-2-Mini | β 19.0% | β 41.9% | β 42.5% | β 34.5% | β 52.0% | β 46.8% | β 48.1% | β 2.7% | β 0.9% | β | β 31.2%β 9 suites |
| 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.46Γ | 1.68Γ9s: 1.71Γ |
| Swift-Inkling-2-Mini | 1.24Γ | 1.72Γ | 1.74Γ | 1.53Γ | 2.08Γ | 1.88Γ | 1.93Γ | 0.97Γ | 0.99Γ | β | 1.56Γβ 9 suites |
β Swift-Inkling-2-Mini (9 of 10 suites, excl. TB 2.1): Swift's Average, Retention, and token cuts compare against Base on those 9 matched suites (shown as the 9s sub-line on Caveling and Base: Caveling 88.2% / 100.5% ret / β 43.1% reasoning vs Swift 86.9% / 99.1% ret / β 31.7% reasoning vs Base 87.7%).
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 | TB 2.1n=89 | Average |
|---|---|---|---|---|---|---|---|---|---|---|---|
| MEAN REASONING TOKENS | |||||||||||
| Caveling-2-Mini | 10,563 | 11,220 | 9,901 | 19,613 | 327 | 2,588 | 898 | 167 | 3,312 | 21,322 | 7,9919s: 6,510 |
| Inkling-2-Mini (Base) | 14,248 | 19,076 | 16,622 | 30,892 | 651 | 4,651 | 1,945 | 370 | 5,594 | 34,701 | 12,8759s: 10,450 |
| Swift-Inkling-2-Mini | 11,666 | 11,137 | 9,572 | 20,165 | 322 | 2,483 | 1,072 | 340 | 5,677 | β | 6,937β 9 suites |
| MEAN ANSWER TOKENS | |||||||||||
| Caveling-2-Mini | 314 | 355 | 49 | 478 | 33 | 31 | 298 | 89 | 450 | 9,039 | 1,1149s: 233 |
| Inkling-2-Mini (Base) | 423 | 478 | 83 | 499 | 63 | 50 | 414 | 97 | 439 | 9,648 | 1,2199s: 283 |
| Swift-Inkling-2-Mini | 210 | 227 | 30 | 406 | 16 | 16 | 149 | 78 | 411 | β | 172β 9 suites |
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% |
| Swift-Inkling-2-Mini | 99.9% | 100.0% | 69.5% | 28.3% | 32.8% | 66.4% |
| RETENTION | ||||||
| Caveling-2-Mini | 127.4% | 131.5% | 100.7% | 152.1% | 91.5% | 116.8% |
| Swift-Inkling-2-Mini | 127.3% | 132.5% | 100.7% | 55.2% | 39.6% | 93.3% |
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 | TB 2.1n=89 | Average |
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACCURACY | |||||||||||
| Caveling-2-Mini | 90.0% | 81.7% | 75.8% | 63.4% | 96.4% | 81.8% | 88.9% | 85.1% | 72.9% | 46.8% | 78.3%9s: 81.8% |
| Inkling-2-Mini (Base) | 100.0% | 96.7% | 81.8% | 69.7% | 96.4% | 81.3% | 90.4% | 86.1% | 67.2% | 51.3% | 82.1%9s: 85.5% |
| Swift-Inkling-2-Mini | 83.3% | 88.3% | 76.3% | 63.4% | 95.5% | 82.0% | 90.2% | 83.7% | 79.5% | β | 82.5%β 9 suites |
| RETENTION | |||||||||||
| Caveling-2-Mini | 90.0% | 84.5% | 92.6% | 91.0% | 99.9% | 100.6% | 98.4% | 98.8% | 108.5% | 91.2% | 95.3%9s: 95.6% |
| Swift-Inkling-2-Mini | 83.3% | 91.4% | 93.2% | 91.0% | 99.1% | 100.9% | 99.8% | 97.2% | 118.3% | β | 96.5%β vs 9 Base |
| 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% | β 18.6% | β 25.6%9s: β 26.4% |
| Swift-Inkling-2-Mini | β 31.8% | β 33.2% | β 16.8% | β 30.3% | β 27.7% | β 13.0% | β 14.5% | β 1.3% | β 68.7% | β | β 11.1%β 9 suites |
| 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% | β 11.1% | β 24.3%9s: β 25.7% |
| Swift-Inkling-2-Mini | β 32.9% | β 34.0% | β 18.3% | β 29.5% | β 35.8% | β 15.7% | β 26.7% | β 8.7% | β 55.4% | β | β 16.2%β 9 suites |
| 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.12Γ | 1.37Γ9s: 1.40Γ |
| Swift-Inkling-2-Mini | 1.49Γ | 1.51Γ | 1.22Γ | 1.42Γ | 1.56Γ | 1.19Γ | 1.36Γ | 1.10Γ | 0.64Γ | β | 1.28Γβ 9 suites |
β Swift-Inkling-2-Mini (9 of 10 suites, excl. TB 2.1): Swift's Average, Retention, and token cuts compare against Base on those 9 matched suites (shown as the 9s sub-line on Caveling and Base: Caveling 81.8% / 95.6% ret / β 26.4% reasoning vs Swift 82.5% / 96.5% ret / β 11.1% reasoning vs Base 85.5%).
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 | TB 2.1n=89 | Average |
|---|---|---|---|---|---|---|---|---|---|---|---|
| MEAN REASONING TOKENS | |||||||||||
| Caveling-2-Mini | 4,613 | 6,742 | 1,190 | 7,164 | 135 | 417 | 396 | 74 | 2,210 | 12,914 | 3,5859s: 2,549 |
| Inkling-2-Mini (Base) | 6,244 | 10,340 | 1,663 | 14,071 | 176 | 585 | 590 | 108 | 1,883 | 15,862 | 5,1529s: 3,962 |
| Swift-Inkling-2-Mini | 4,260 | 6,910 | 1,384 | 9,813 | 127 | 509 | 504 | 106 | 3,176 | β | 2,977β 9 suites |
| MEAN ANSWER TOKENS | |||||||||||
| Caveling-2-Mini | 99 | 100 | 20 | 453 | 12 | 15 | 223 | 85 | 439 | 7,319 | 8779s: 161 |
| Inkling-2-Mini (Base) | 231 | 272 | 54 | 440 | 38 | 32 | 277 | 90 | 428 | 6,897 | 8769s: 207 |
| Swift-Inkling-2-Mini | 81 | 96 | 17 | 416 | 8 | 11 | 129 | 73 | 419 | β | 139β 9 suites |
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% |
| Swift-Inkling-2-Mini | 78.2% | 100.0% | 100.0% | 53.8% | 55.4% | 79.5% |
| RETENTION | ||||||
| Caveling-2-Mini | 76.3% | 77.4% | 101.2% | 278.0% | 154.9% | 108.5% |
| Swift-Inkling-2-Mini | 78.2% | 129.9% | 118.7% | 190.3% | 146.0% | 118.3% |
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% |
| Swift-Inkling-2-Mini | 60.0% | 76.0% | 68.0% |
| RETENTION | |||
| Caveling-2-Mini | 101.6% | 97.5% | 99.3% |
| Swift-Inkling-2-Mini | 93.8% | 95.0% | 94.4% |
| REASONING TOKENS VS BASE | |||
| Caveling-2-Mini | β 52.3% | β 56.2% | β 54.3% |
| Swift-Inkling-2-Mini | β 58.9% | β 60.1% | β 59.5% |
| OUTPUT TOKENS VS BASE | |||
| Caveling-2-Mini | β 51.9% | β 56.1% | β 54.0% |
| Swift-Inkling-2-Mini | β 58.6% | β 60.0% | β 59.3% |
| EST. TTFA SPEEDUP VS BASE | |||
| Caveling-2-Mini | 2.08Γ | 2.28Γ | 2.18Γ |
| Swift-Inkling-2-Mini | 2.42Γ | 2.50Γ | 2.46Γ |
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 |
| Swift-Inkling-2-Mini | 620 | 2,569 | 1,594 |
| MEAN ANSWER TOKENS | |||
| Caveling-2-Mini | 10 | 25 | 17 |
| Inkling-2-Mini (Base) | 16 | 43 | 30 |
| Swift-Inkling-2-Mini | 7 | 16 | 12 |
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).
Pre-Ampere GPUs (V100 / RTX 20-series / no native BF16) & Gufo (gufo serve llm): use -hf caveman-so/caveling-2-mini-GGUF:NVFP4-attnQ8 (or load Caveling-2-Mini-NVFP4-attnQ8.gguf directly). It has zero BF16 tensors (avoiding slow emulated BF16 kernels in llama.cpp and NInfer) while keeping the 32 tiny attn_sink_proj and attn_k/v_conv_proj tensors in lossless F32 from our original BF16 weights so Gufo enables concurrent batching and DFlash2 speculative decoding out of the box.
DSpark speculative decoding: attach dspark-Caveling-2-Mini-Q8_0.gguf (0.40 GB, compact default for llama.cpp) with --spec-type draft-dspark --spec-draft-n-max 2. For NInfer, use dspark-Caveling-2-Mini-BF16.gguf (0.75 GB), whose bit-exact BF16 Markov tables NInfer's converter requires. Caveling-2-Mini's 3-layer DSpark drafter (mtp.safetensors) is byte-identical to Inkling-2-Mini's, so any existing base Inkling-2-Mini DSpark draft works identically with Caveling-2-Mini.
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.cppruntime pack (b12600+), search forcaveman-so/caveling-2-mini-GGUF, selectCaveling-2-Mini-NVFP4.gguf(Caveling-2-Mini-NVFP4-attnQ8.ggufon pre-Ampere GPUs, orCaveling-2-Mini-Q4_K_M.ggufon 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:NVFP4on Ollama builds withGGML_TYPE_NVFP4enabled forinkling2_loop).
LoopCD
Optional LoopCD decoding (recommended and hidden modes) is currently available for vLLM and transformers on the native SafeTensors repo caveman-so/caveling-2-mini. llama.cpp, llama.app, LM Studio, and Ollama do not support LoopCD yet, so these GGUF files run plain Caveling-2-Mini.
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-NVFP4-attnQ8.gguf | 17.63 GB | Pre-Ampere & Gufo: 40 native NVFP4 experts untouched + 144 main attention tensors in Q8_0 + 32 tiny sink/conv projections in lossless F32, zero BF16 tensors (0.00293 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 (compact default for llama.cpp) |
| dspark-Caveling-2-Mini-BF16.gguf | 0.75 GB | Same DSpark drafter with bit-exact BF16 Markov tables and projections (for NInfer and exact-weight reproduction) |
| 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, agentic coding (TB 2.1avg@3:52.8%vs48.7%Base atβ 38.6%reasoning tokens), and PhD-level science. Atlow(0.2), fast general, instruction-following, and tool-use benchmarks stay near base (98.4%β100.6%retention), while competition math, PhD science, and agentic coding trade accuracy for speed (AIME 2025β15.0 pts,AIME 2024β10.0 pts,GPQA Diamondβ6.1 pts,TB 2.1β4.5 ptsp=0.148). - GGUF runtime requirements: Running these GGUFs requires a modern
llama.cppbuild (b12600+) withinkling2_loopsupport and--jinjaenabled. On older backends or wrappers withoutGGML_TYPE_NVFP4, useCaveling-2-Mini-Q4_K_M.gguf. - Pre-Ampere / non-BF16 GPUs: The
BF16attention tensors inCaveling-2-Mini-NVFP4.ggufandCaveling-2-Mini-Q4_K_M.ggufcan decode at roughly half speed on GPUs without native BF16 tensor cores (such as V100 / SM70). UseCaveling-2-Mini-NVFP4-attnQ8.gguf(zeroBF16tensors) on those cards. - Evaluation scope: Full 10-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
- 200,875
Model tree for caveman-so/caveling-2-mini-GGUF
Base model
thinkingmachines/Inkling-2-Mini