Downloads · 30 days
22
5% of all-time downloads
salohcin714/granite-4.2-8b-2bit-mlx
granite-4.2-8b-2bit-mlx is a text generation model from salohcin714. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
Converted from ibm-granite/granite-4.2-8b using mlx-lm 0.31.3.
Downloads · 30 days
22
5% of all-time downloads
All-time downloads
427
Public
Parameters
8.8B
2.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.7 GB · 100%
How the weights are stored.
U328.8B · 100%
From the Hugging Face model README
Converted from ibm-granite/granite-4.2-8b using
mlx-lm 0.31.3.
from mlx_lm import load, generate
model, tokenizer = load("salohcin714/granite-4.2-8b-2bit-mlx")
messages = [{"role": "user", "content": "Hello"}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
text = generate(model, tokenizer, prompt=prompt, verbose=True)
Weights converted to MLX safetensors layout and quantized (2-bit affine quantization, group size 64, via round-to-nearest, no calibration). Redundant tied lm_head.weight dropped where the model ties input/output embeddings. No fine-tuning; no added training data.
Licensed under Apache 2.0. Original weights by the Granite Team, IBM. See the
upstream model card and the included
LICENSE file for the full text.
This repository is not affiliated with or endorsed by IBM. "Granite" is an IBM trademark, used here descriptively to identify the origin of the base model. IBM's published benchmarks describe the original weights, not this quantized/converted artifact, and must not be read as claims about this repo.