Run this model with HF Jobs

Run Orvena/granite-4.2-3b-MLX-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/Orvena/granite-4.2-3b-MLX-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/Orvena/granite-4.2-3b-MLX-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/Orvena/granite-4.2-3b-MLX-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.

granite-4.2-3b-MLX-4bit

A 4-bit MLX quantization of ibm-granite/granite-4.2-3b, converted with mlx-lm 0.31.3.

  • Quantization: 4 bit, group size 64 (4.501 bits per weight)
  • Weights: 2.06 GB safetensors
  • Context length: 131,072 tokens
  • Chat template, thinking mode, and tool calling are inherited unchanged from the base model
  • License: Apache 2.0, same as the base model

Use with mlx-lm

pip install mlx-lm
mlx_lm.generate --model Orvena/granite-4.2-3b-MLX-4bit --prompt "Name three Danish cities."
from mlx_lm import load, generate

model, tokenizer = load("Orvena/granite-4.2-3b-MLX-4bit")
print(generate(model, tokenizer, prompt="Name three Danish cities."))

Runs on Apple silicon Macs and recent iPhones. Peak memory during generation is about 2.2 GB.

About

Converted by the Orvena team while evaluating models for fully on-device use. See the base model card for benchmarks, training details, and intended use.

Downloads last month
26
Safetensors
Model size
4B params
Tensor type
U32
ยท
BF16
ยท
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 Orvena/granite-4.2-3b-MLX-4bit

Quantized
(74)
this model