Run this model with HF Jobs
Run kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX 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/kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX. 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/kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX 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/kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX. 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.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX 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("kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX") 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 kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX"
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": "kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX 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 "kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX"
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 kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX"
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 "kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX" \ --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 + Pi LoRA
Want 2.5× faster local coding (56–70 tok/s on M2 Max, 128K context, live thinking toggle)? Try our companion Native Metal + Q8 DFlash 2 build at
kaisers/Inkling-2-Mini-Uncensored-Pi-Metal(auto-configured for M1–M5 Macs viaprofiles/pi-native/start-nano.sh). Stay on this repo if you prefer oMLX with the unmerged modulars034LoRA inomlx/.
A full Inkling 2 Mini checkpoint for local MLX inference on Apple Silicon. The download includes the uncensored weight edit and s034, a LoRA tuned for token-efficient coding in Pi. The command below loads both from the same snapshot.
| Component | What ships |
|---|---|
| Uncensored MLX model | Hybrid 4-bit / 8-bit / BF16 weights (48.5% of parameters at 8-bit or full precision; 67.6% of weight bytes) with AtomicChat’s uncensored LoRA merged into the model. |
| Pi tuning | The s034 oMLX adapter in omlx/, loaded by the launcher. |
| Download | About 23.7 GB on disk, plus space for the runtime and its cache. |
Precision breakdown
This snapshot is a hybrid 4-bit / 8-bit / BF16 build (26.39B parameters, 23.55 GB of weights), not a uniform 4-bit quant:
| Precision | Parameters | Weight size | Layers |
|---|---|---|---|
4-bit (nvfp4) |
51.5% (13.59B) | 32.5% (7.64 GB) | Routed experts.w13 (layers 0–19) |
8-bit (affine) |
30.9% (8.15B) | 39.0% (9.17 GB) | Routed experts.w2 (all 24 layers, merged uncensored edit) |
8-bit (mxfp8) |
10.3% (2.72B) | 11.9% (2.80 GB) | Routed experts.w13 (layers 20–23) |
Unquantized (BF16 / F32) |
7.3% (1.93B) | 16.7% (3.92 GB) | Attention, embeddings, lm_head, vision, norms/routers |
Attention, embeddings, lm_head, and vision stay in full BF16, while the merged uncensored experts.w2 weights are stored as 8-bit affine instead of being re-quantized to 4-bit — preserving quality where 4-bit hurts most, while keeping s034 modular in omlx/.
What to expect on Apple Silicon (M2 Max 64 GiB)
| Metric | Observed result |
|---|---|
| Warm first-token latency (oMLX prefix cache) | 0.63–0.91 s on multi-turn cache hits (11.12 s → 0.65 s median on 4.8K-token repeats; 7.5 s cold first turn) |
Coding efficiency (s034 on original base) |
47.1% SWE pass rate across 103 held-out tasks with 16.5% fewer output tokens per trial |
Live decode speed (this hybrid build + s034 LoRA) |
~25 tok/s steady warm decode (24.6–25.3 tok/s on an actively used M2 Max 400 GB/s; 37.8–40.6 tok/s on 4-bit oQ4e; 56–70 tok/s in the companion Native Metal build) |
Run locally with Pi
The setup uses macOS 15 or later on Apple Silicon, Node.js 22.19 or later, uv and the Hugging Face hf CLI.
git clone https://github.com/Yxonyx/inkling-2-mini-uncensored-pi.git
cd inkling-2-mini-uncensored-pi
uv venv --python 3.12 .venv-omlx
uv pip sync --python .venv-omlx/bin/python results/m2-max/omlx-requirements.txt
npm ci --ignore-scripts
MODEL=$(hf download kaisers/Inkling-2-Mini-Uncensored-Pi-Tuned-MLX --quiet)
TINTA_MEMORY_GUARD=balanced TINTA_LORA_DIR="$MODEL/omlx" \
sh profiles/pi-native/start.sh "$MODEL"
Pi is the recommended coding environment because s034 was trained and evaluated with its tool format. oMLX keeps inference local and reuses matching prompt context across turns. The launcher shuts down the services it started when Pi exits.
For current information and answers that need sources, start Docker with Compose and add --search to the launch command. The extension gives Pi ranked links and short page excerpts through SearXNG. Web search guide
Can I run this on an M1, M2, M3, M4 or M5 Mac?
MLX runs on Apple Silicon. This full hybrid snapshot occupies 23.7 GB on disk and uses roughly 23–27 GB of unified memory in oMLX with active context, so it is recommended for 48–64+ GiB Apple Silicon Macs (tested on an M2 Max with 64 GiB using Pi 1.6.0 and oMLX 0.8.2).
If you are on a 24–32 GiB Mac, use the standalone kaisers/Inkling-2-Mini-Pi-Tuned-LoRA on the smaller 16.9 GB 4-bit oQ4e base instead. Apple MLX
Evaluation
The combined uncensored model and s034 adapter loaded and ran across multi-turn Pi sessions on M2 Max (64 GiB). In a separate paired SWE comparison on the original base, s034 matched the 47.1% pass rate across 103 held-out tasks and used 16.5% fewer output tokens per trial. Training and evaluation
This is an experimental community release. Reduced refusal makes it especially important to review commands and tool actions before execution.
Credits and license
The base model is Thinking Machines Lab’s Inkling 2 Mini. The uncensored edit is from AtomicChat’s LoRA. The Pi fine-tune and MLX packaging are from this community project. Distributed under Apache 2.0. See NOTICE for the weight changes.
- Downloads last month
- 1,005
8-bit