Instructions to use junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8 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("junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8") config = load_config("junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8") # 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 junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8"
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": "junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8 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 "junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8"
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 junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8"
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 "junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8" \ --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-Uncensored ยท MLX oQ8
Built by VeriSafe.Live: we build, fine-tune, quantize and serve open-weights models.
An uncensored 26.4B looped MoE (3.4B active) with text and image input, running natively on your Mac.
What we offer
| Service | What you get |
|---|---|
| ๐ฏ Custom fine-tuning | Any open-weights model adapted to your data, domain and tone. |
| ๐งช Training from scratch | Models designed and trained end to end for companies and research institutes. |
| โก Quantization | Compact builds, like this MLX release, that run on the hardware you already have. |
| ๐ Hosted API access | Our models served for you, ready to call. |
| ๐ Uncensored models | Open-weights models with refusals removed, for unrestricted work. |
๐ Now live at VeriSafe.Live: uncensored DeepSeek V4.1 Flash 1017, GLM 5.3 Flash and GLM 5.3.
No wait time, instant access, crypto accepted.
Why this model
- Uncensored: built on OpenUncensored/Inkling-2-Mini-Uncensored, an abliterated Inkling 2 Mini with refusals removed.
- Mac-native: oMLX oQ8 for Apple Silicon unified memory, 17.47 GiB (18.76 GB) on disk, including the bundled DSpark MTP draft.
- Multimodal, long context: text and image input, with the base model's 1,048,576-token context window.
- Native expert precision: routed experts stay in their source NVFP4 and MXFP8; only the BF16 trunk is converted to 8-bit affine. Nothing is requantized below its source precision.
- Vision and MTP kept: the vision tower remains BF16 and the DSpark draft is included, so image input and speculative decoding both work in oMLX.
- Open license: Apache-2.0, inherited from the base model.
Model details
| Capability | Image-Text-to-Text |
| Parameters (total) | 26.4B |
| Parameters (active) | 3.4B |
| Architecture | Mixture-of-Experts (looped) |
| Base model | OpenUncensored/Inkling-2-Mini-Uncensored, abliterated from thinkingmachines/Inkling-2-Mini |
| Class | Inkling2LoopForConditionalGeneration (inkling2_loop) |
| Layout | 24 layers, hidden size 2304, 24 heads / 8 KV heads; layers 6โ17 loop 3 times (48 layer visits per token) |
| Experts | 128 routed experts per layer, top-8, no shared expert |
| Attention | 20 sliding-window layers (window 1,024) and 4 global-attention layers |
| Vision | 23-layer ViT, hidden size 1024, patch size 20 |
| Context | 1,048,576 tokens |
| Quantization | oMLX oQ8: affine 8-bit (group size 64) on the trunk; native NVFP4 experts in layers 0โ19 and native MXFP8 experts in layers 20โ23; vision and DSpark MTP in bfloat16 |
| Size on disk | 17.47 GiB (18.76 GB): 16.88 GiB in 4 weight shards + 0.59 GiB mtp.safetensors |
| Tensors | 1,090 in the main shards (422 vision, BF16) + the DSpark draft in mtp.safetensors |
| Runtime | oMLX 0.8.1+ (tested on 0.8.2) |
| License | Apache-2.0 |
Official figures from thinkingmachines/Inkling-2-Mini: 26.4B total, 3.4B active. That card also notes that each extra pass through the looped layers adds about 1.0B effective active parameters, so with three passes there are 5.4B effective active parameters per token.
โ ๏ธ Refusal behaviour has been removed via abliteration, so the model may produce content the original would decline. Use responsibly.
Disclaimer โ read before use
This conversion inherits the abliteration of the OpenUncensored source. Safety alignment has been substantially removed.
- It will comply with harmful, unethical, offensive or illegal requests that the original Inkling 2 Mini would refuse. It has no meaningful built-in guardrails.
- It is released for legitimate research: interpretability, AI-safety and refusal-mechanism study, red-teaming, robustness evaluation, and controlled experiments.
- You assume full responsibility and liability for how you use it and for everything it generates. Do not deploy it to end users or in production without adding your own safety, moderation and abuse-prevention layers.
- Use must comply with the Apache-2.0 license of the source weights and with all laws that apply to you.
- The authors and uploaders accept no liability for any misuse or harm. Outputs do not reflect the views of the uploaders, OpenUncensored, or Thinking Machines.
By downloading or using this model you acknowledge and accept the above.
Quickstart
Requires Apple Silicon and oMLX 0.8.1+ (Inkling 2 Mini support landed in 0.8.1; tested on 0.8.2):
brew tap jundot/omlx https://github.com/jundot/omlx
brew install jundot/omlx/omlx
hf download junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8 \
--local-dir ~/Models/Inkling-2-Mini-Uncensored-MLX-oQ8
omlx serve --model-dir ~/Models
Then, in the oMLX admin panel (/admin), open the model's settings, keep vision on and enable MTP. oMLX picks the bundled DSpark draft automatically. Images go in as image_url parts of an OpenAI-style chat message:
curl http://127.0.0.1:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "Inkling-2-Mini-Uncensored-MLX-oQ8",
"messages": [{"role": "user", "content": [
{"type": "text", "text": "Describe this image."},
{"type": "image_url", "image_url": {"url": "data:image/png;base64,..."}}
]}]
}'
Reasoning comes back separately in reasoning_content. Set "reasoning_effort": "none" for short, direct answers.
Other MLX runtimes (mlx-lm, mlx-vlm, LM Studio) have not been tested with this oQ checkpoint.
Weights are 17.47 GiB including the MTP draft. Peak memory has not been profiled on this file; 32 GB or more of unified memory is the comfortable range, and 24 GB machines will be tight.
Quantization recipe
oMLX 0.8.2 oQ level 8 (quantize_oq_streaming, group size 64, non-quantized dtype bfloat16, vision kept, MTP kept). No imatrix / oQe calibration.
Inkling 2 Mini was only ever released in mixed precision: routed experts in NVFP4 (layers 0โ19) and MXFP8 (layers 20โ23), everything else BF16. There is no BF16 master to quantize from, so this build does not touch the experts. They are carried over in their source formats. Only the BF16 trunk (attention projections, token embedding, output head) is converted, to 8-bit affine. That is also where the abliteration edit lives, so it is stored at 8-bit rather than 4-bit.
This is not a uniform 8-bit quant, and it is not the mlx-community 4-bit or oQ4e-mtp builds, which are made from the official (censored) weights.
| Tensors | Format |
|---|---|
Routed experts, layers 0โ19 (mlp.experts.w13 / w2) |
NVFP4, group 16, native from source |
Routed experts, layers 20โ23 (mlp.experts.w13 / w2) |
MXFP8, group 32, native from source |
| Attention projections, token embedding, output head | Affine Q8, group 64 |
Vision tower (vision_tower.*, 422 tensors) |
BF16 |
| Routers and loop gates | FP32 |
| Norms, short convolutions and related small tensors | BF16 |
DSpark MTP draft (mtp.safetensors, 3 layers) |
BF16, copied unchanged |
| Format | Size |
|---|---|
| NVFP4 experts | 11.47 GB |
| MXFP8 experts | 4.20 GB |
| Affine Q8 trunk | 1.67 GB |
| BF16 (vision + small tensors) | 0.64 GB |
| FP32 (routers, loop gates) | 0.14 GB |
| DSpark draft (BF16) | 0.64 GB |
Default quantization in config.json: { "mode": "affine", "group_size": 64, "bits": 8 }, plus per-module nvfp4 / mxfp8 overrides for the 48 expert tensors. Trust Remote Code is not required for oMLX 0.8.2.
Quality
This checkpoint has not been scored with MMLU, perplexity, KLD, or the OpenUncensored refusal suite. Spot checks on an M4 Max (128 GB), oMLX 0.8.2, greedy decoding:
| Check | Result |
|---|---|
| Text (short explanation, thinking on) | Coherent reasoning and answer, 40 tok/s |
| Image (three coloured shapes) | All three shapes, colours and positions correct, 58 tok/s |
| Refusal spot check (lock-picking how-to) | Answered, no refusal |
| DSpark MTP | Active; 67โ73% of drafted tokens accepted, 2.0โ2.5 tokens per step |
These are single prompts, not benchmarks. The 8-bit rounding error on the abliterated attention output projections has not been measured. If you evaluate this file, a comparison with refusal counts or MMLU against the OpenUncensored source would be useful.
Abliteration (from the OpenUncensored source)
Unchanged by quantization. Summary of OpenUncensored/Inkling-2-Mini-Uncensored:
Directional ablation adapted to the looped architecture. Refusal directions were taken per layer visit, and a two-dimensional subspace Q was projected out of the attention output projections on layers 4โ23 (W' = W โ sยทQยทQแตยทW), with s = 4.0 on layers 4, 5 and 18โ23 and s = 2.5 inside the loop (layers 6โ17). Only those 20 attention output projections changed. The 128 experts per layer, the vision encoder and the DSpark draft are byte-for-byte the original.
Evaluation on the source (not this oQ8 file)
OpenUncensored measured their files against the original with the same harness and greedy decoding:
| Inkling 2 Mini | OpenUncensored source | |
|---|---|---|
| Refusals on 32 harmful prompts, chat mode | 32 | 0 |
| Refusals on 32 harmful prompts, thinking mode (effort 0.9) | 32 | 0 |
| Refusals on 80 prompts (32 harmful, 48 gray area), chat mode | 68 | 8 |
| Full, specific answers to the 32 harmful prompts (LLM judge) | 0 | 21 |
| MMLU (57 subjects ร 20, 1,140 questions) | 78.95% | 79.47% |
They note that 7 of the 8 remaining "refusals" are statements of limits rather than refusals, and that differences of a few prompts are noise at these sample sizes.
๐ฌ Need a custom model?
If your company or research institute would like us to fine-tune any open-weights model, or train one from scratch, we'd be happy to help.
๐ง info@verisafe.live
License and attribution. Released under Apache-2.0. Based on OpenUncensored/Inkling-2-Mini-Uncensored, derived from thinkingmachines/Inkling-2-Mini. Architecture, original training and the NVFP4 / MXFP8 release format are by Thinking Machines. Abliteration is by OpenUncensored, building on refusal-direction research by Arditi et al. (2024). Quantization and serving use oMLX. ยฉ VeriSafe.Live
- Downloads last month
- 1,581
8-bit
Model tree for junafinity/Inkling-2-Mini-Uncensored-MLX-oQ8
Base model
thinkingmachines/Inkling-2-Mini