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.
Instructions to use kaisers/Inkling-2-Mini-Pi-Tuned-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kaisers/Inkling-2-Mini-Pi-Tuned-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling-2-Mini") model = PeftModel.from_pretrained(base_model, "kaisers/Inkling-2-Mini-Pi-Tuned-LoRA") - MLX
How to use kaisers/Inkling-2-Mini-Pi-Tuned-LoRA with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("kaisers/Inkling-2-Mini-Pi-Tuned-LoRA") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use kaisers/Inkling-2-Mini-Pi-Tuned-LoRA with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "kaisers/Inkling-2-Mini-Pi-Tuned-LoRA" --prompt "Once upon a time"
- Atomic Chat
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
Quantized