Run this model with HF Jobs
Run Xylolabs/Inkling-2-Mini-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/Xylolabs/Inkling-2-Mini-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/Xylolabs/Inkling-2-Mini-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/Xylolabs/Inkling-2-Mini-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.
Instructions to use Xylolabs/Inkling-2-Mini-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Xylolabs/Inkling-2-Mini-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("Xylolabs/Inkling-2-Mini-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 Xylolabs/Inkling-2-Mini-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 "Xylolabs/Inkling-2-Mini-MLX" --prompt "Once upon a time"
- Atomic Chat
|
Download README.md from Xylolabs/Inkling-2-Mini-MLX: direct link, hf CLI and curl.
- Browser
- Download file 2.65 kB
-
https://huggingface.co/Xylolabs/Inkling-2-Mini-MLX/resolve/main/README.md
- Command line
-
hf download hf://Xylolabs/Inkling-2-Mini-MLX/README.md
-
curl -L -o README.md https://huggingface.co/Xylolabs/Inkling-2-Mini-MLX/resolve/main/README.md
2.65 kB
| license: apache-2.0 | |
| license_link: LICENSE | |
| base_model: | |
| - thinkingmachines/Inkling-2-Mini | |
| base_model_relation: quantized | |
| pipeline_tag: text-generation | |
| library_name: mlx | |
| tags: | |
| - mlx | |
| - inkling | |
| - inkling2-loop | |
| - moe | |
| - nvfp4 | |
| - mxfp8 | |
| language: | |
| - en | |
| <div align="center"> | |
| <img class="block dark:hidden mx-auto" src="https://raw.githubusercontent.com/XylolabsInc/tensix-bfp-gptq/main/assets/xylolabs-lockup.svg" alt="Xylolabs" width="256" height="40"> | |
| <img class="hidden dark:block mx-auto" src="https://raw.githubusercontent.com/XylolabsInc/tensix-bfp-gptq/main/assets/xylolabs-lockup-dark.svg" alt="Xylolabs" width="256" height="40"> | |
| <h1>Inkling-2-Mini MLX</h1> | |
| [](https://huggingface.co/thinkingmachines/Inkling-2-Mini) | |
| [](https://huggingface.co/Xylolabs/Inkling-2-Mini-MLX/blob/main/LICENSE) | |
| </div> | |
| MLX builds of [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini), without the MTP drafter. | |
| ## Files | |
| | Folder | Experts | Everything else | Size | | |
| |---|---|---|---:| | |
| | `native` | NVFP4 layers 0-19, MXFP8 layers 20-23 | bf16 | 19.59 GB | | |
| | `q8` | NVFP4 layers 0-19, MXFP8 layers 20-23 | attention, embeddings and LM head 8-bit affine (group 64); vision bf16 | 18.12 GB | | |
| ## How to run | |
| The `inkling2_loop` architecture is in [mlx-lm pull request 2086](https://github.com/ml-explore/mlx-lm/pull/2086), which is not merged yet. Install mlx-lm from that branch, then pick a folder. | |
| ```bash | |
| pip install "git+https://github.com/jundot/mlx-lm@inkling2-mini" | |
| hf download Xylolabs/Inkling-2-Mini-MLX --include "q8/*" --local-dir inkling-mlx | |
| mlx_lm.generate --model inkling-mlx/q8 --prompt "Why is the sky blue?" | |
| ``` | |
| ## Accuracy | |
| Mean KL divergence and top-1 agreement against the F32 weights on MLX, 512-token chunks of WikiText-2 (80 chunks), chat (40 chunks) and held-out text (40 chunks). Raw values are in `accuracy-by-size.csv`. | |
| | Build | Size | WikiText-2 KL | top-1 | Chat KL | top-1 | Held-out KL | top-1 | | |
| |---|---:|---:|---:|---:|---:|---:|---:| | |
| | `native` | 19.59 GB | 0.0025 | 97.86% | 0.0190 | 97.34% | 0.0022 | 98.08% | | |
| | `q8` | 18.12 GB | 0.0028 | 97.69% | 0.0208 | 96.94% | 0.0027 | 98.05% | | |
| ## License | |
| Apache 2.0, as the base model (`LICENSE`). Downstream use of models derived from `thinkingmachines/Inkling-2-Mini` is also subject to Thinking Machines Lab Model Acceptable Use Policy (https://thinkingmachines.ai/model-acceptable-use-policy/). Changes are listed in `NOTICE`. | |
| ## Updates | |
| - 2026-12-01: First files: `native` and `q8`. | |