Run this model with HF Jobs
Run caveman-so/caveling-2-mini-MLX-8bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/caveman-so/caveling-2-mini-MLX-8bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/caveman-so/caveling-2-mini-MLX-8bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/caveman-so/caveling-2-mini-MLX-8bit. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use caveman-so/caveling-2-mini-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use caveman-so/caveling-2-mini-MLX-8bit with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("caveman-so/caveling-2-mini-MLX-8bit") config = load_config("caveman-so/caveling-2-mini-MLX-8bit") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use caveman-so/caveling-2-mini-MLX-8bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "caveman-so/caveling-2-mini-MLX-8bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "caveman-so/caveling-2-mini-MLX-8bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use caveman-so/caveling-2-mini-MLX-8bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "caveman-so/caveling-2-mini-MLX-8bit"
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:8080/v1 hermes config set model.default caveman-so/caveling-2-mini-MLX-8bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use caveman-so/caveling-2-mini-MLX-8bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "caveman-so/caveling-2-mini-MLX-8bit"
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:8080/v1 \ --custom-model-id "caveman-so/caveling-2-mini-MLX-8bit" \ --custom-provider-id mlx-lm \ --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.
Apple Silicon MLX 8-bit (
18.08 GB) โ standard LM Studio Mac format with native NVFP4/MXFP8 experts and8-bitaffine attention.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.
MLX 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 60 native NVFP4 (layers 0โ19) and 12 native MXFP8 (layers 20โ23) routed-expert tensors remain untouched from Base, we ship 2 official Apple Silicon MLX builds via mainline mlx-vlm (0.8.2) + mlx (0.32.5) (also compatible with LM Studio's MLX backend):
caveman-so/caveling-2-mini-MLX-NVFP4(18.69 GB, recommended flagship): Preserves all60nativeNVFP4routed experts (layers 0โ19,group_size=16), all12nativeMXFP8experts (layers 20โ23,group_size=32), all168fine-tunedBF16attention projection tensors bit-for-bit lossless, and theBF16vision_tower, while quantizing remaining dense layers (embed_tokens,lm_head, etc.) to8-bit affine(group_size=64). Achieves0.00376trace KLD (98.18%same top-1) and0.00318wikitext-2KLD vs nativecaveman-so/caveling-2-mini.caveman-so/caveling-2-mini-MLX-8bit(18.08 GB, LM Studio 1:1 schema parity): Matcheslmstudio-community/Inkling-2-Mini-MLX-8bit(60nvfp4,12mxfp8,1788-bit affinegroup_size=64dense layers including attention,vision_towerlosslessBF16). Achieves0.00387trace KLD (98.05%same top-1) and0.00352wikitext-2KLD.
Looking for native SafeTensors (vLLM / transformers) or GGUF (llama.cpp / Ollama)? See caveman-so/caveling-2-mini and caveman-so/caveling-2-mini-GGUF.
| MLX Build | Size | Attention | KLD (wiki) | KLD (traces) | Top-1 | Smoke Suite |
|---|---|---|---|---|---|---|
| QUANTIZATION FIDELITY VS NATIVE CAVELING-2-MINI (MLX-VLM 0.8.2 / MLX 0.32.5) | ||||||
| caveling-2-mini-MLX-NVFP4 | 18.69 GB | BF16 | 0.00318 | 0.00376 | 98.18% | 5/5 PASS |
| caveling-2-mini-MLX-8bit (this repo) | 18.08 GB | 8-bit affine | 0.00352 | 0.00387 | 98.05% | 5/5 PASS |
Live mlx_vlm.generate functional smoke tests (MLX-8bit, verified on NVIDIA A100-SXM4-40GB)
| Functional Check | Gen Tokens | Gen tok/s | Status |
|---|---|---|---|
| LIVE MLX_VLM.GENERATE CANARIES (TEMP=0.0) | |||
Math (17 * 23, low effort) |
0 | 0.0 | PASS |
Python coding (def is_prime(n), low effort) |
0 | 0.0 | PASS |
Effort scaling (low vs xhigh) |
0 / 0 (2.47ร) | 0.0 | PASS |
| Tool calling (Inkling JSON schema) | 0 | 0.0 | PASS |
Vision (vision_tower + projector) |
0 | 0.0 | PASS |
All five functional checks ran directly through mlx_vlm.load and mlx_vlm.generate after Gate 1 schema verification (nvfp4=60, mxfp8=12, vision_tower unquantized BF16).
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 (MLX closeness to that checkpoint is verified in MLX 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 Apple Silicon (macOS) with mlx-vlm >= 0.8.2 and mlx >= 0.32.5 (or LM Studio's MLX runtime).
pip install -U "mlx-vlm>=0.8.2" "mlx>=0.32.5"
Generate from CLI (mlx_vlm.generate)
# Text reasoning (set --reasoning-effort to low, medium, high, or xhigh)
python -m mlx_vlm.generate \
--model caveman-so/caveling-2-mini-MLX-8bit \
--prompt "Prove that there are infinitely many primes congruent to 3 mod 4." \
--reasoning-effort xhigh \
--max-tokens 4096 \
--temperature 1.0 --top-p 1.0
For vision prompts, pass --image path/to/image.png:
python -m mlx_vlm.generate \
--model caveman-so/caveling-2-mini-MLX-8bit \
--image path/to/chart.png \
--prompt "Summarize the trend shown in this chart." \
--reasoning-effort high \
--max-tokens 2048
For optional DSpark speculative decoding (when supported by your mlx-vlm runtime), pass --draft-model caveman-so/caveling-2-mini (the 3-layer MTP drafter mtp.safetensors is byte-identical to Inkling-2-Mini's).
Serve with mlx_vlm.server (OpenAI-compatible API)
python -m mlx_vlm.server --host 127.0.0.1 --port 8080
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8080/v1", api_key="EMPTY")
resp = client.chat.completions.create(
model="caveman-so/caveling-2-mini-MLX-8bit",
temperature=1.0,
top_p=1.0,
max_tokens=8192,
messages=[
{"role": "system", "content": "Thinking effort level: 0.99"},
{"role": "user", "content": "Prove that there are infinitely many primes congruent to 3 mod 4."},
],
)
print(resp.choices[0].message.content)
Run in LM Studio (Apple Silicon MLX)
Open LM Studio on an Apple Silicon Mac (>= 32 GB unified memory recommended), search for caveman-so/caveling-2-mini-MLX-8bit (or the sibling build caveman-so/caveling-2-mini-MLX-NVFP4), download the MLX package, and keep the bundled Jinja chat template enabled.
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. mlx-vlm and LM Studio MLX do not support LoopCD yet, so these MLX builds run plain Caveling-2-Mini.
Files
| File | Size | Description |
|---|---|---|
| model-00001-of-00004.safetensors .. model-00004-of-00004.safetensors (4 shards) | 18.05 GB | MLX SafeTensors weights (60 NVFP4 + 12 MXFP8 experts, 178 8-bit affine (g=64) dense layers, BF16 vision tower) |
| LICENSE | 11.4 KB | Apache License 2.0 |
| chat_template.jinja | 6.9 KB | Inkling-2-Mini chat, reasoning-effort, and tool-calling Jinja template |
| config.json | 68.1 KB | Model architecture and MLX quantization map |
| hf_quant_config.json | 67.9 KB | Native NVFP4 / MXFP8 expert quantization metadata |
| model.safetensors.index.json | 162.9 KB | Weight shard index map |
| processor_config.json | 461 B | Multimodal vision processor configuration |
| tokenizer.json | 26.2 MB | Inkling tiktoken vocabulary (201,024 slots / 200,058 used; byte-identical to base) |
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). - Memory & runtime requirements: Requires
mlx-vlm >= 0.8.2(mlx_vlm/models/inkling2/) andmlx >= 0.32.5, with>= 32 GBApple Silicon unified memory recommended for weights (~`18.1 GB) plus KV cache. Usemlx-vlmrather thanmlx-lm` (which uses a different unmerged tensor layout for Inkling-2-Mini). - 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). MLX fidelity is independently verified against that exact checkpoint inmlx-vlmvia paired float32 KL divergence (wikitext-2+ Caveling<think>traces), top-1 token agreement, and livemlx_vlm.generatesmoke tests (NVIDIA A100-SXM4-40GB).
License
Apache-2.0, matching caveman-so/caveling-2-mini and thinkingmachines/Inkling-2-Mini.
- Downloads last month
- 155
4-bit
Model tree for caveman-so/caveling-2-mini-MLX-8bit
Base model
thinkingmachines/Inkling-2-Mini