Downloads · 30 days
20
11% of all-time downloads
nightmedia/gemma-4-12B-it-mxfp8-mlx
gemma-4-12B-it-mxfp8-mlx is a any-to-any model from nightmedia. Use it for the any-to-any task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
Downloads · 30 days
20
11% of all-time downloads
All-time downloads
184
Public
Parameters
12B
12.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors12.3 GB · 100%
How the weights are stored.
U3212B · 100%
From the Hugging Face model README
Brainwaves
arc arc/e boolq hswag obkqa piqa wino
mxfp8 0.385,0.527,0.766,0.509,0.386,0.664,0.579
q8-hi 0.394,0.522,0.774,0.520,0.370,0.674,0.583
qx86-hi 0.391,0.526,0.777,0.521,0.366,0.677,0.590
mxfp4 0.371,0.517,0.660,0.508,0.368,0.677,0.581
Quant Perplexity Peak Memory Tokens/sec
mxfp8 175.766 ± 3.092 19.42 GB 463
mxfp4 283.801 ± 5.361 13.47 GB 484
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("gemma-4-12B-it-mxfp8-mlx")
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)