Run this model with HF Jobs

Run mlx-community/Inkling-2-Mini-4bit 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/mlx-community/Inkling-2-Mini-4bit. 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/mlx-community/Inkling-2-Mini-4bit 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/mlx-community/Inkling-2-Mini-4bit. 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.

mlx-community/Inkling-2-Mini-4bit

This model mlx-community/Inkling-2-Mini-4bit was converted to MLX format from thinkingmachines/Inkling-2-Mini using mlx-lm with ml-explore/mlx-lm#2086. Refer to the original model card for more details on the model.

It takes text and image input. The vision tower is included. The DSpark draft is not included.

The routed experts keep the original quantization. They are NVFP4 with a per-expert global scale in layers 0 to 19 and MXFP8 in layers 20 to 23. The attention, embedding and output head weights are 4-bit affine with group size 64. The vision tower stays in bfloat16, the router in float32, and the loop message gates are not quantized.

Tested with the branch of that pull request.

Use with mlx

pip install -U git+https://github.com/ml-explore/mlx-lm.git@refs/pull/2086/head
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Inkling-2-Mini-4bit")

prompt = "hello"

if tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True, return_dict=False,
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)

For image input, run mlx_lm.server and send the images as image_url parts of a chat message.

Downloads last month
33,845
Safetensors
Model size
7B params
Tensor type
U32
·
F32
·
BF16
·
U8
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for mlx-community/Inkling-2-Mini-4bit

Quantized
(466)
this model
Adapters
1 model
Finetunes
1 model

Space using mlx-community/Inkling-2-Mini-4bit 1