Run this model with HF Jobs

Run kaisers/Inkling-2-Mini-Pi-Tuned-LoRA 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-Pi-Tuned-LoRA. 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-Pi-Tuned-LoRA 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-Pi-Tuned-LoRA. 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-Pi-Tuned-LoRA. 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.
Inkling 2 Mini Pi LoRA for Apple Silicon. Fast local inference with MLX. Token-efficient coding.

Inkling 2 Mini | Pi-Tuned LoRA

This repository contains the standalone s034 adapter. For the uncensored base model with s034 included, download the full MLX snapshot.

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.

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-Pi-Tuned-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

Full uncensored MLX release

The full MLX release merges AtomicChat’s uncensored edit into the base weights and includes s034 as a separately loaded Pi adapter. The combination passed a Pi smoke test. Model and launch instructions

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

Downloads last month
53
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for kaisers/Inkling-2-Mini-Pi-Tuned-LoRA

Adapter
(104)
this model
Merges
1 model