Downloads · 30 days
33
7% of all-time downloads
csolares2/gemma-4-12B-it-qat-oQ8
gemma-4-12B-it-qat-oQ8 is a text generation model from csolares2. 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.
oQ8 mixed-precision MLX quantization produced via oMLX.
Downloads · 30 days
33
7% of all-time downloads
All-time downloads
500
Public
Parameters
12B
12.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors12.7 GB · 100%
How the weights are stored.
U3211.9B · 100%
From the Hugging Face model README
oQ8 mixed-precision MLX quantization produced via oMLX.
from mlx_lm import load, generate
model, tokenizer = load("csolares2/gemma-4-12B-it-qat-oQ8")
prompt = tokenizer.apply_chat_template(
[{"role": "user", "content": "Hello"}],
add_generation_prompt=True,
)
print(generate(model, tokenizer, prompt=prompt, max_tokens=512, verbose=True))
oQ measures per-layer quantization sensitivity through calibration and allocates bits where they matter most — critical layers stay at higher precision, tolerant layers compress aggressively. Target averages of 2/3/4/6/8 bits are provided; actual per-layer bits vary by measured sensitivity.
See oQ documentation.
Comparative benchmarks and feedback welcome — please open a discussion.