Run this model with HF Jobs

Run brendanboyle/Inkling-2-Mini-Codex-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/brendanboyle/Inkling-2-Mini-Codex-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/brendanboyle/Inkling-2-Mini-Codex-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/brendanboyle/Inkling-2-Mini-Codex-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/brendanboyle/Inkling-2-Mini-Codex-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.

Inkling 2 Mini Codex adapter for MLX and oMLX

A standalone port of Harness Hub's Codex LoRA for Inkling 2 Mini at reasoning effort high. The root of this repo holds the 53.5 MB MLX-LM adapter. The oMLX folder holds the 108.2 MB packed adapter. Both preserve the 192 original float32 factors and the LoRA multiplier.

Use with oMLX

Download the two files under omlx/ and put them in their own folder inside an oMLX model directory. Use the tested oQ3e MTP base.

omlx_model_dir="$HOME/.omlx/models"
snapshot="$(hf download brendanboyle/Inkling-2-Mini-Codex-MLX --revision v0.1.0 \
  omlx/adapter_config.json omlx/adapters.safetensors --quiet)"
adapter_dir="$omlx_model_dir/Inkling-2-Mini-Codex-oMLX"
mkdir -p "$adapter_dir"
cp "$snapshot/omlx/adapter_config.json" "$snapshot/omlx/adapters.safetensors" "$adapter_dir/"

Set omlx_model_dir to your configured model directory. Refresh discovery, then open the oQ3e base model's Model Settings → Advanced and select the adapter. Save and reload the model. The smoke test used oMLX 0.8.4 with Lightning MTP off. oMLX adapter settings

For Codex, use the oMLX OpenAI Responses endpoint at /v1/responses. The MLX-LM server command below exposes Chat Completions.

Use with MLX-LM

An existing Inkling-capable MLX-LM server can use the two files at the repo root with --adapter-path. Set the chat template's reasoning_effort to high. The tested base was Inkling 2 Mini 4bit.

To reproduce the tested server, download this repo's pyproject.toml and uv.lock into the same directory and run these commands there.

uv sync --locked --extra apple
adapter_snapshot="$(uv run --no-sync hf download brendanboyle/Inkling-2-Mini-Codex-MLX \
  --revision v0.1.0 adapter_config.json adapters.safetensors --quiet)"
base_snapshot="$(uv run --no-sync hf download mlx-community/Inkling-2-Mini-4bit \
  --revision 9c0e2960609ba7cb40daf92c6f7bf8ed56e1dd62 --quiet)"
uv run --no-sync mlx_lm.server --model "$base_snapshot" \
  --adapter-path "$adapter_snapshot" --port 8097 \
  --chat-template-args '{"reasoning_effort":"high"}'

Validation and provenance

The MLX-LM loader loaded 96 projections and all 192 tensors on the pinned 4-bit base. oMLX applied all 56 packed projections on oQ3e. Both servers returned the expected structured function call in a smoke test, using Chat Completions on MLX-LM and Responses on oMLX. These are serving compatibility checks. Harness-level results are on the upstream card. Validation · MLX-LM provenance · oMLX provenance

To reproduce the conversions from the pinned PEFT files, run uv run --no-sync python convert.py --source codex dist/adapter and uv run --no-sync python convert_omlx.py --source codex dist/omlx from a checkout containing the converter scripts.

Harness Hub trained the original adapter and Thinking Machines Lab made the Inkling base. License · Notice · Thinking Machines model use policy

Downloads last month

-

Downloads are not tracked for this model. How to track
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 brendanboyle/Inkling-2-Mini-Codex-MLX