Instructions to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e"
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": "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e 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 "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e"
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 fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e"
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 "fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e" \ --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"
Inkling-2-Mini-Unbound-Fast-AntiOverthink · oQ4e (MLX)
An oMLX oQ4e quantization of a release-precision rebuild of thiagovelsa's Inkling-2-Mini-Unbound-Fast-AntiOverthink: Lucebox Fast + Unbound v2.1 + Anti-Overthinking.
- Experts: oQ kept the routed experts of layers 0–19 in their original NVFP4 bits, a passthrough with no re-rounding.
- Everything else: 4-bit, calibrated with an oQe imatrix. Sensitive tensors are kept at higher precision.
The fastest MLX build of this finetune: 62.5 tok/s on a MacBook Pro M3 Max, through oMLX → Splash with the DFlash2 drafter. It's 16 GB.
⚠️ Uncensored model. The Unbound merge removes most refusals. You are responsible for how you use it and for any filtering your application needs.
🧪 Limited testing. One M3 Max, one RTX 5060 Ti, a 40-problem HumanEval subset and one small agent task. See the caveats below.
Recommended settings
oMLX (recommended: Splash as the external engine)
Per-model settings (admin UI, or PUT /admin/api/models/<id>/settings):
{ "external_engine": "splash", "temperature": 0.6, "top_p": 0.95, "top_k": 0,
"max_context_window": 131072, "mtp_enabled": false, "loopcd_enabled": false }
- Put incoai/Inkling-2-Mini-DFlash2 in an oMLX model directory. oMLX passes it to Splash as the drafter.
- On oMLX's own engine this build ran at about 41 tok/s, with the DSpark drafter (
mtp_enabled). Through Splash it ran about 50 % faster. - 16 GB Macs (untested): oMLX 0.8.4 can keep routed experts on SSD, and Splash streams experts that don't fit. Both should make it run with less memory, at lower speed.
Sampling and reasoning
- Sampling:
temperature 0.6,top_p 0.95(from the source model card). Avoid DRY sampling. - Reasoning effort:
highis a safe default. In a small pi testlowalso worked, with 3/3 fixed and no loops. Long sessions atlowweren't tested.
pi coding agent
"omlx": {
"api": "openai-completions", "baseUrl": "http://127.0.0.1:8000/v1", "apiKey": "<key>", "authHeader": true,
"models": [{ "id": "Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e", "reasoning": true, "input": ["text", "image"],
"contextWindow": 131072, "maxTokens": 32768,
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0},
"thinkingLevelMap": {"off": "none", "minimal": "minimal", "low": "low", "medium": "medium", "high": "high", "xhigh": "xhigh", "max": "max"} }]
}
HumanEPi: all builds of this finetune, side by side
HumanEPi = HumanEval + Pi, a quick test of how a build behaves as a coding agent:
- HumanEval: a fixed 40-problem subset (oMLX 0.8.4's accuracy benchmark, deterministic sample). The generated code is executed against the tests. Greedy, reasoning effort
high, at most 8,192 tokens per problem. - pi agent task: the pi coding agent (
@earendil-works/pi-coding-agent) fixes a small Python project with 3 bugs (4 failing tests), 3 runs. A run passes when all tests pass and the tests weren't modified. Repeated identical tool calls are counted as loops.
Hardware:
- Mac: MacBook Pro M3 Max (40-core GPU, 128 GB, 400 GB/s), Splash 1.7.3 / oMLX 0.8.4, DFlash2 drafter.
- NVIDIA: RTX 5060 Ti 16 GB on PCIe 3.0 x8, llama.cpp b12776, whole model on the GPU.
| Build | Engine | Size | KL vs full precision ¹ | HumanEval (40) | pi agent | Generation ² |
|---|---|---|---|---|---|---|
| Full precision, NVFP4 + BF16 (reference) | Splash, Mac | 21 GiB | — | 37 | 3/3, 0 loops | 48.0 tok/s |
| thiagovelsa IQ4_NL | Splash, Mac | 16.4 GiB | 0.0082 | 38 | 3/3, 0 loops | 50.7 tok/s |
| IQ4_NL-16GB GGUF | Splash, Mac | 14.0 GiB | 0.0145 | 38 | 3/3, 0 loops | 50.9 tok/s |
| IQ3_M GGUF | Splash, Mac | 12.0 GiB | 0.0223 | 37 | 3/3, 0 loops | 65.2 tok/s |
| MLX 4-bit | oMLX → Splash, Mac | 16 GB | n/a | 38 | 3/3, 0 loops | 59.4 tok/s |
| MLX NVFP4 (bit-exact experts) | oMLX → Splash, Mac | 17 GB | n/a | 37 | 3/3, 0 loops | 53.7 tok/s |
| oQ4e | oMLX → Splash, Mac | 16 GB | n/a | 36 / 37 / 37 ³ | 3/3, 0 loops | 62.5 tok/s |
| IQ3_M GGUF, 64K context | llama.cpp, RTX 5060 Ti | 12.0 GiB | 0.0223 | 38 | 3/3, 0 loops | ~53–60 tok/s |
| IQ4_NL-16GB GGUF, 24K context | llama.cpp, RTX 5060 Ti | 14.0 GiB | 0.0145 | 35 | 3/3, 0 loops | 57.9 tok/s |
| For comparison: Lucebox Fast UD-Q8_K_XL, without Unbound or Anti-Overthinking | Splash, Mac | 21 GiB | n/a | 37 | 3/3, 0 loops | 55.3 tok/s |
¹ Mean KL divergence on held-out code and docs (60 × 512 tokens), against the full-precision rebuild of this finetune. Measured for GGUF files only; llama.cpp can't measure MLX files. ² Mean of 4 greedy runs (two prompts of ~400 and 700 tokens), one request at a time. ³ Three separate greedy runs: Splash's speculative verification isn't bit-deterministic.
What this means in practice
- Quality doesn't decide which build to run. Every build scored 35–38 / 40 on HumanEval. With 40 problems the noise is about ±2, so that's within noise. Every build fixed the agent task 3/3 with zero tool-call loops.
- Pick on speed, memory and context:
- Mac:
oQ4ethrough oMLX → Splash (62.5 tok/s), or the IQ3_M GGUF on Splash (65.2 tok/s, smallest). - 16 GB NVIDIA card: the IQ3_M GGUF. It fits 64K context in VRAM, against about 24K for the 16GB GGUF.
- Maximum fidelity: MLX NVFP4, whose experts are bit-identical to the release.
- Mac:
- KL is the more sensitive measure and ranks the GGUFs as you'd expect: IQ4_NL 0.008 < IQ4_NL-16GB 0.015 < IQ3_M 0.022. Even the largest of these didn't show up in HumanEval or the agent task.
- Lucebox Fast scores the same and runs about 15 % faster in Splash. The likely reason is that the DFlash2 drafter predicts the unmodified model better (an inference, not measured). But it has no Unbound, so it refuses like base Inkling 2 Mini, and it lacks Anti-Overthinking. It's only the better choice if you don't need the uncensoring.
Caveats
- Limited testing: one M3 Max, one RTX 5060 Ti, 40 HumanEval problems and one small agent task.
- Not covered: a full benchmark suite, long multi-hundred-turn sessions, refusal behaviour (the point of Unbound) and multi-user load.
- Speeds depend heavily on the chip (memory bandwidth) and on software versions. Expect different numbers elsewhere.
What's inside
| Part | Format |
|---|---|
| Routed experts, layers 0–19 | NVFP4 passthrough: the release bits, unchanged |
| Everything else (attention, LM head, embeddings, coda experts) | oQ4e: affine 4-bit, group 64, with oQ's protection of sensitive tensors; imatrix calibration |
| Vision tower | from OpenUncensored/Inkling-2-Mini-Uncensored via junafinity's oMLX checkpoint. The source GGUFs have no vision weights. |
mtp.safetensors |
official DSpark drafter, preserved (preserve_mtp) |
oq_imatrix_report.json |
oMLX's calibration report |
Made with: oMLX 0.8.4 oQ (oq_level 4, enhanced, preserve_mtp), from the original-layout source described below.
How the full-precision source was rebuilt
thiagovelsa's original GGUF ships at 4-bit (IQ4_NL experts, Q8_0 attention). This build starts from a release-precision rebuild of the same finetune instead:
- Base: Lucebox/Inkling-2-Mini-Fast-GGUF
UD-Q8_K_XL.- Experts in layers 0–19 are NVFP4, bit-identical to Thinking Machines' release; layers 20–23 come from the release MXFP8.
- Attention, LM head and embeddings are BF16.
- Unbound v2.1: nokeepai's LoRA (
v2.1-LoRA-r64), merged into the 120 BF16 attention tensors asW + B·A.- Check: the merged attention matches thiagovelsa's at cosine ≥ 0.99995 (its Q8_0 rounding), against 0.9983 without the LoRA.
- Anti-Overthinking: the 10 edited rows of
output.weightwere recovered by diffing thiagovelsa's file against Lucebox's original.- The rows:
wait,Hold,Wait,hmm,Hmm,Actually,␣wait,␣Hold,␣Waitand<|end_message|>. - The direction: all 9 suppression rows share one direction. The
<|end_message|>row moves by −0.52× that direction, matching the documentedbeta_end 26 / gamma_wait 50. - Applied noise-free to the BF16 head.
- The rows:
- Original checkpoint layout: the result was written back into Thinking Machines' layout.
- Verified byte-identical against the release for every tensor the finetune doesn't touch, including the NVFP4 and MXFP8 expert bytes. The finetune changes only attention and the LM head.
Tools and scripts: build_full_precision.py, make_original_layout.py, convert_full.py, nvfp4_repack.py, make_llamacpp_source.py.
Caveats and limitations
- Limited testing: see the HumanEPi caveats above. There's no KL measurement for MLX files.
- Vision: the tower comes from a different uncensored variant. Splash loads it, and the same tower passed a one-image smoke test in the sibling MLX 4-bit build. It wasn't tested in this oQ4e build.
- Runtime: needs oMLX ≥ 0.8.4 or Splash ≥ 1.7.3. Stock
mlx-lmwon't load it.
Lineage and credits
thinkingmachines/Inkling-2-Mini (Apache 2.0)
└─ Lucebox Fast (UD-Q8_K_XL: release-precision NVFP4/MXFP8 experts, BF16 dense)
└─ + nokeepai Unbound v2.1 LoRA (merged at BF16) + thiagovelsa's Anti-Overthinking rows
= full-precision rebuild of thiagovelsa/Inkling-2-Mini-Unbound-Fast-AntiOverthink
└─ this build
- Thinking Machines Lab: Inkling 2 Mini and the DSpark drafter.
- Lucebox: the Fast weights.
- nokeepai: Unbound v2.1.
- thiagovelsa: the merge recipe and Anti-Overthinking.
- junafinity and OpenUncensored: the vision tower used in the MLX builds.
- oMLX (jundot), Splash (incoai) and llama.cpp: runtimes and tools.
Apache 2.0.
- Downloads last month
- 105
4-bit
Model tree for fritskarl/Inkling-2-Mini-Unbound-Fast-AntiOverthink-oQ4e
Base model
thinkingmachines/Inkling-2-Mini