Image-Text-to-Text
MLX
Safetensors
English
inkling2_loop
splash
lm-studio
inkling
vision
prime
conversational
4-bit precision
Run this model with HF Jobs
Run Duckets/Inkling-2-Mini-Prime-Splash 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/Duckets/Inkling-2-Mini-Prime-Splash. 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/Duckets/Inkling-2-Mini-Prime-Splash 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/Duckets/Inkling-2-Mini-Prime-Splash. 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 Duckets/Inkling-2-Mini-Prime-Splash with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Duckets/Inkling-2-Mini-Prime-Splash 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("Duckets/Inkling-2-Mini-Prime-Splash") config = load_config("Duckets/Inkling-2-Mini-Prime-Splash") # 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 Duckets/Inkling-2-Mini-Prime-Splash with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Duckets/Inkling-2-Mini-Prime-Splash"
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": "Duckets/Inkling-2-Mini-Prime-Splash" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use Duckets/Inkling-2-Mini-Prime-Splash 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 "Duckets/Inkling-2-Mini-Prime-Splash"
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 Duckets/Inkling-2-Mini-Prime-Splash
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Duckets/Inkling-2-Mini-Prime-Splash with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Duckets/Inkling-2-Mini-Prime-Splash"
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 "Duckets/Inkling-2-Mini-Prime-Splash" \ --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"
File size: 4,175 Bytes
792e9ba | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | ---
language: en
license: apache-2.0
library_name: mlx
pipeline_tag: image-text-to-text
base_model:
- thinkingmachines/Inkling-2-Mini
- nokeepai/Inkling-2-Mini-Prime-LoRA
tags:
- mlx
- splash
- lm-studio
- inkling
- vision
- prime
---
# Inkling-2-Mini-Prime β Splash
The **Splash-ready MLX build** of Thinking Machines'
[Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)
(architecture `inkling2_loop`, 26B total / ~5.4B active, 1M context,
vision; Splash family **Inkling-2-Mini**) with **nokeep's "Prime"
add-on merged in** β the LoRA from
[nokeepai/Inkling-2-Mini-Prime-LoRA](https://huggingface.co/nokeepai/Inkling-2-Mini-Prime-LoRA)
(rank 32 / alpha 32, all linear layers) trained only on harmless tasks
(debugging, maths, writing, everyday questions) to stop the base
model's over-thinking / doom-loop behaviour. This is the stock,
censored base model plus the Prime fix β for the uncensored variant
see `Duckets/Inkling-2-Mini-Unbound-Splash`.
Modern Splash (β₯ 1.3.1) serves MLX checkpoints directly β there is no
separate legacy Splash package format anymore. This repo carries the
MLX 4-bit checkpoint (NVFP4, group size 16; layers 20β23 experts MXFP8,
as in the source) in the layout Splash and LM Studio accept, with the
family pairing recorded in `splash-prep.json`: Splash auto-pairs the
matching DFlash2 draft (`incoai/Inkling-2-Mini-DFlash2`) at load.
## Merge
- Base: `thinkingmachines/Inkling-2-Mini`, revision
`c9d028302cd0f035fdf8e7e91f089a4ce94d2195` (main safetensors
sha256 `65e60f51aa1284d4fb022584908c315270334d991828bb774af60584523539d1`,
byte-verified against the repo listing before merging).
- Adapter: `nokeepai/Inkling-2-Mini-Prime-LoRA`, revision
`6e072bae4de3d1465ae0d868cc3489e981148649`.
- Tool: the adapter author's own `merge_adapter.py` (shipped in the
LoRA repo), `--parts attn_experts --rounding stochastic --seed 42
--expert-scales keep`: attention merged in BF16, experts dequantised,
delta added, re-encoded on the original NVFP4 / MXFP8 scales with
stochastic rounding so the sub-step deltas survive in expectation.
- Merge fidelity (projected delta survival): **0.944** NVFP4 experts,
**0.998** MXFP8 experts β the same figures as our Tess-4.5 Prime
merge with the same recipe. The merge self-verified: 240 tensors
rewritten and byte-checked, 1,004 untouched tensors identical.
- Full merge report: `merged.merge_report.json`, shipped in this repo.
## Conversion
- Recipe: `mlx_vlm 0.8.1 convert -q --q-mode nvfp4 --q-group-size 16`
(5.236 bits per weight) β the layout with `language_model.` keys and
per-expert `switch_mlp` tensors that LM Studio's MLX engine and
Splash accept.
- **MTP stripped**: `mtp_config` removed from `config.json` and
`mtp.safetensors` not carried over β Splash pairs its own DFlash2
draft instead.
- Fingerprint: 1,449 weight keys incl. 422 vision keys, 0 MTP keys β
the exact key set of our `Inkling-2-Mini-Unbound-Splash` build from
the same vendor layout.
## Credits
- **Thinking Machines** β creators of Inkling-2-Mini.
- **nokeep** β creator of the Prime anti-overthinking LoRA and the
merge tooling.
- **Inco AI** β creators of Splash and the DFlash2 drafters.
## Verified (M5 Max, 128 GB)
- Direct `mlx_vlm generate` on the finished build: reasoning battery
passes β 17 Γ 23 = **391**, β169 = **13**, solid-red image β "red" β
each with a short, terminating thinking trace at temperature 0.6
(the Prime add-on doing its job; the unpatched base ruminates far
longer on the same prompts).
## Usage
- Splash CLI: `splash serve --model Duckets/Inkling-2-Mini-Prime-Splash`
- LM Studio: drop the folder into your models directory and load β
pick the Splash runtime in the load dialog, or the MLX engine.
- Sampling: `generation_config.json` ships the family defaults
(temperature 1.0 / top_p 1.0 / top_k 0). Recommended for the Prime
behaviour: **temperature 0.6 / top_p 1.0**, reasoning effort 0.9, and
a 4096-token thinking cap β do not run it greedy (temperature 0);
this model family can loop in its thinking at 0.
## License
Apache-2.0, following the source model.
|