Instructions to use vanch007/Inkling-2-Mini-3D-Coder-oQ8e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use vanch007/Inkling-2-Mini-3D-Coder-oQ8e 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("vanch007/Inkling-2-Mini-3D-Coder-oQ8e") 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 vanch007/Inkling-2-Mini-3D-Coder-oQ8e with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vanch007/Inkling-2-Mini-3D-Coder-oQ8e"
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": "vanch007/Inkling-2-Mini-3D-Coder-oQ8e" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use vanch007/Inkling-2-Mini-3D-Coder-oQ8e with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "vanch007/Inkling-2-Mini-3D-Coder-oQ8e"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "vanch007/Inkling-2-Mini-3D-Coder-oQ8e" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vanch007/Inkling-2-Mini-3D-Coder-oQ8e", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use vanch007/Inkling-2-Mini-3D-Coder-oQ8e 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 "vanch007/Inkling-2-Mini-3D-Coder-oQ8e"
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 vanch007/Inkling-2-Mini-3D-Coder-oQ8e
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use vanch007/Inkling-2-Mini-3D-Coder-oQ8e with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vanch007/Inkling-2-Mini-3D-Coder-oQ8e"
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 "vanch007/Inkling-2-Mini-3D-Coder-oQ8e" \ --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-3D-Coder-oQ8e
Mixed-precision Apple Silicon MLX (oQ8e) conversion of ccore/Inkling-2-Mini-3D-Coder, streamed directly from the upstream F16 GGUF (gguf/Inkling-2-Mini-3D-Coder-F16.gguf, SHA-256 6c6b84dff631bb38ed2c56bc0c8cbb6ae20cf3ab66a4baff892ed32e50261a8a) into 4 safetensors shards without grafting external vision or MTP weights.
- Architecture:
inkling2_loop(Inkling2LoopForConditionalGeneration, text-only: 24 layers, looped core layers6..18x3 passes, 128 routed experts / 8 active,hidden_size=2304,vocab_size=201024,unpadded_vocab_size=200058). - Engine Compatibility: Verified on Apple Silicon with
oMLX(0.8.5.dev1) native MLX andSplash 1.7.3(splash model-check mlx-affine none->{"family":"Inkling-2-Mini"}) with speculative decoding via incoai/Inkling-2-Mini-DFlash2.
Quantization and Storage Breakdown
Follows the oQ8e mixed-precision schema (5.366 effective bits/weight across 26.070B logical parameters, 16.285 GiB / 17.486 GB stored across 668 tensors):
| Storage format | Logical weights | Share of total | Tensor storage | Effective bits/weight |
|---|---|---|---|---|
NVFP4, group 16 (layers 0..19 routed experts) |
20.384B | 78.190% | 10.679 GiB | 4.50 |
MXFP8, group 32 (layers 20..23 routed experts) |
4.077B | 15.638% | 3.916 GiB | 8.25 |
Affine 8-bit, group 64 (attention, embeddings, lm_head) |
1.572B | 6.031% | 1.556 GiB | 8.50 |
FP32 (routers, norms, loop controllers, global_scale) |
0.036B | 0.137% | 0.133 GiB | 32.00 |
| BF16 (conv / relative projection weights) | 0.001B | 0.005% | 0.002 GiB | 16.00 |
| Total | 26.070B | 100% | 16.285 GiB | 5.366 |
Recommended 3D-Coder Prompting
Upstream recommended system prompt for single-file Three.js scenes:
Use only the Three.js core ES module from https://cdnjs.cloudflare.com/ajax/libs/three.js/0.160.0/three.module.min.js. Do not import addons or legacy examples/js paths; implement any camera controls directly inside the HTML.
Sampling parameters used in evaluation: temperature=0.9, top_p=1.0, reasoning_effort="high".
Local Verification (Apple Silicon 128 GB, oMLX 0.8.5.dev1 + Splash 1.7.3 + DFlash 2)
- Uncontested Three.js HTML Smoke:
- Native MLX (
oMLX 0.8.5.dev1):51.43 tok/sdecode,17.502 GBpeakphys_footprint - Splash
1.7.3+DFlash 2:105.58 tok/sdecode (2.05×),5.6 tok/cycle(~65.7%est. acceptance),19.864 GBpeakphys_footprint
- Native MLX (
- Paired
4K/16KSpeed Benchmarks (measured under active desktop GPU load, alternating order across 3 rounds):4Kmean: Nativepp=239.61/tg=14.05 tok/svs Splashpp=405.12(1.69×) /tg=31.61 tok/s(2.25×, up to39.90)16Kmean: Nativepp=194.94/tg=14.75 tok/svs Splashpp=419.63(2.15×) /tg=32.68 tok/s(2.22×, up to39.85)- Honest Thermal Caveat: Under desktop contention once
Thermal: fairengaged, short512-token coding (17.89vs20.59 tok/s,17.1%accept) and 2-way concurrency (15.01vs22.66 tok/s) lagged native MLX.
Before / After 3D WebGL Comparison (3 Scenes: Panda, Sakura, Pelican)
Paired comparison against Inkling-2-Mini-Unbound-v3-oQ8e-mtp on Splash 1.7.3 + DFlash 2 (temperature=0.9, top_p=1.0, seed=67, reasoning_effort="high"):
- Honest Token Count Finding (
+42.0%mean): Underreasoning_effort="high",3D-Coder oQ8edid not use fewer tokens thanUnbound-v3—it generated+35.3%to+49.3%more total tokens (+60.0%–110.1%more visible HTML code tokens). Note that upstream's-34.7%benchmark compared3D-CoderEpoch 5 (37,898tok on red panda, matching our38,022) against the noisier raw basethinkingmachines/Inkling-2-Mini(55,761), whereasUnbound-v3stops around22K–28K. - 1-Shot Reliability (
seed=67):Unbound-v3passed3/3WebGL checks (0page errors);3D-Coder oQ8ewon decisively in visual richness onpandaandsakura(2/3raw 1-shot pass), whilepelicanfailed raw module initialization due to a 1-space identifier typo (const brake leveron line 1101) — and renders cleanly once changed tobrakeLever.
Scene (seed=67) |
Baseline (Unbound-v3) |
3D-Coder oQ8e |
Token Delta / Outcome |
|---|---|---|---|
| Voxel Red Panda | 26,884 tok (19,564 B) |
38,022 tok (49,350 B) |
+41.4% total (+110.1% visible) · PASS (fixes bamboo blocking camera) |
| Sakura Courtyard Shrine | 22,157 tok (20,816 B) |
33,091 tok (40,707 B) |
+49.3% total (+64.7% visible) · PASS (adds mountains, stone fence, koi pond, bridge) |
| Pelican on Coastal Bicycle | 27,642 tok (24,302 B) |
37,393 tok (46,317 B) |
+35.3% total (+60.0% visible) · 1-SHOT FAIL (const brake lever space typo -> PASS w/ 1-char fix) |
Rendered Chrome Metal WebGL Screenshots (1280×800)
| Scene | Baseline (Unbound-v3) |
Inkling-2-Mini-3D-Coder-oQ8e |
|---|---|---|
| 01 · Voxel Red Panda | ![]() |
![]() |
| 02 · Sakura Shrine | ![]() |
![]() |
| 03 · Pelican (Raw 1-Shot) | ![]() |
![]() |
| 03 · Pelican (1-Char Fix Preview) | ![]() |
![]() |
License
Apache 2.0, following ccore/Inkling-2-Mini-3D-Coder.
- Downloads last month
- -
8-bit
Model tree for vanch007/Inkling-2-Mini-3D-Coder-oQ8e
Base model
thinkingmachines/Inkling-2-Mini





