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.
Instructions to use brendanboyle/Inkling-2-Mini-Codex-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use brendanboyle/Inkling-2-Mini-Codex-MLX 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("brendanboyle/Inkling-2-Mini-Codex-MLX") 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 brendanboyle/Inkling-2-Mini-Codex-MLX with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "brendanboyle/Inkling-2-Mini-Codex-MLX" --prompt "Once upon a time"
- Atomic Chat
Download NOTICE from brendanboyle/Inkling-2-Mini-Codex-MLX: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/brendanboyle/Inkling-2-Mini-Codex-MLX/resolve/main/NOTICE
- Command line
-
hf download hf://brendanboyle/Inkling-2-Mini-Codex-MLX/NOTICE
-
curl -L -o NOTICE https://huggingface.co/brendanboyle/Inkling-2-Mini-Codex-MLX/resolve/main/NOTICE
678 Bytes
| Inkling 2 Mini Pi adapter for MLX | |
| Upstream adapter training and weights are by Harness Hub. | |
| https://huggingface.co/harness-hub/Inkling-2-Mini-pi-adapted | |
| The Inkling 2 Mini base model is by Thinking Machines Lab. | |
| https://huggingface.co/thinkingmachines/Inkling-2-Mini | |
| The converted adapter tensors and configuration change the serialization, module | |
| paths, and matrix layout from PEFT to MLX-LM and oMLX. The oMLX variant also | |
| packs attention outputs with block-diagonal factors and zero padding. The source | |
| float32 factor values and effective LoRA multiplier are preserved. See the | |
| provenance files for revisions and checksums and LICENSE for the Apache License, | |
| Version 2.0. | |