base_model: thinkingmachines/Inkling-2-Mini
base_model_relation: adapter
library_name: peft
license: apache-2.0
language:
- en
tags: - lora
- inkling2
- pi-coding-agent
- agentic-coding
- concise-reasoning
- mlx
- apple-silicon
- self-distillation
- grpo
- inkling-2-mini
- uncensored-mlx
pipeline_tag: text-generation
thumbnail: https://huggingface.co/kaisers/Inkling-2-Mini-Uncensored-MLX-Pi-LoRA/resolve/main/assets/inkling-mlx-cover.png

Inkling 2 Mini | Pi-Tuned LoRA, Tested on Uncensored MLX
Same observed SWE solve rate. Fewer generated tokens.
A rank-16 community LoRA for Inkling 2 Mini, tuned for token-efficient coding in Pi. In Pi 1.6.0, s034 matched the original base model’s 47.1% SWE pass rate while using 16.5% fewer output tokens per trial.
We recommend Pi because its tool format and workflow were used for both training and SWE evaluation.
The download contains the standalone s034 adapter. We verified that it loads and answers in Pi on a local uncensored MLX base.
Training and results
The model first learned from its own shortest verified solutions alongside 100 replay examples from the earlier bilingual preview. It then trained with math GRPO and 34 SWE-GRPO updates in Pi. Hidden tests scored the repository fixes. s034 predates the separate DeepSeek-supervised Hungarian fine-tune.
The paired SWE benchmark covered 103 held-out tasks across two attempts per task. Separate checks found modest gains in held-out math, science and HumanEval+. Evaluation details
Run s034 in Pi on Apple Silicon
Use oMLX to run MLX inference on the Mac. Its prompt-prefix cache can reuse matching context across requests, reducing repeated processing when Pi sends tool definitions and conversation history. The adapter's token savings and the runtime's caching gains were measured separately. Runtime benchmarks
You’ll need macOS 15 or later, Node.js 22.19 or later, uv, and the Hugging Face hf CLI. Install the pinned Pi and oMLX dependencies from the project repository.
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
Download the public oQ4e base (about 16.9 GB) and the omlx/ adapter, then start Pi.
MODEL=$(hf download mlx-community/Inkling-2-Mini-oQ4e-mtp \
--revision 3eea042751cd296b7266628a8342c1749242e1fe --quiet)
ADAPTER=$(hf download kaisers/Inkling-2-Mini-Uncensored-MLX-Pi-LoRA --include 'omlx/*' --quiet)
TINTA_LORA_DIR="$ADAPTER/omlx" sh profiles/pi-native/start.sh "$MODEL"
The launcher closes the services it started when Pi exits. The root PEFT export targets the pinned original Inkling checkpoint. Runtime guide
Web search for factual questions
We recommend the Pi web-search extension for recent information, niche facts, and answers that need citations. It supplies ranked links and short passages to give the compact model sources to work from. Start Docker with Compose, or configure an existing SearXNG instance, then start Pi with search enabled. Search guide
TINTA_LORA_DIR="$ADAPTER/omlx" sh profiles/pi-native/start.sh "$MODEL" --search
Uncensored MLX compatibility
If you already have a compatible uncensored oMLX snapshot, you can supply its path as MODEL. The SWE figures above were measured on the original base. Review actions proposed by an uncensored agent before running them.
Status. Experimental LoRA release. Further fine-tuning is likely.
Data credits
Base model by Thinking Machines Lab, Apache 2.0. Math training uses DAPO-Math-17k prompts and verified model-generated solutions. The earlier replay mix includes examples adapted from Aya and NVIDIA Open-SWE-Traces. Training details