Run this model with HF Jobs

Run Jundot/gemma-4-31B-it-oQ8e-mtp 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/Jundot/gemma-4-31B-it-oQ8e-mtp. 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/Jundot/gemma-4-31B-it-oQ8e-mtp 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/Jundot/gemma-4-31B-it-oQ8e-mtp. 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.

gemma-4-31B-it-oQ8e-mtp

Updated 2026-11-19: Re-quantized with the refined oQe rounding in oMLX 0.8.0, which lowers quantization error at the same size and speed. Please re-download if you have an earlier copy.

This model was quantized using oQ (oMLX v0.8.0) mixed-precision quantization with improved oQe (jundot/omlx#4930) and oQe rounding refinement (jundot/omlx#5292).

A mixed-precision MLX checkpoint of google/gemma-4-31B-it, the 30.7B dense model of the Gemma 4 family from Google DeepMind, with text and image input, configurable thinking modes and a 256K-token context. It includes the language model, the vision encoder and a multi-token prediction (MTP) head merged from google/gemma-4-31B-it-assistant.

The effective average is 8.500 bits/weight for the language backbone and 8.746 bits/weight for the complete checkpoint.

Quantization and Bit Distribution

oQ8e allocates bits by measured layer sensitivity, then rounds each group with an importance matrix (128 samples x 512 tokens) and a weighted least-squares refit of its scale and bias.

Storage format Logical weights Share of total Tensor storage Effective bits/weight
Affine 8-bit, group 64 30.702B 96.722% 30.381 GiB 8.50
BF16 1.040B 3.278% 1.938 GiB 16.00
Total 31.743B 100% 32.319 GiB 8.746

Storage Breakdown

Component Logical weights Storage
Language backbone 30.697B 32.617 GB / 30.377 GiB
Vision encoder 0.576B 1.146 GB / 1.067 GiB
MTP head 0.470B 0.939 GB / 0.875 GiB
Total 31.743B 34.702 GB / 32.319 GiB

License

Apache-2.0, following the source model. See the Gemma 4 license.

Downloads last month
858
Safetensors
Model size
32B params
Tensor type
U32
Β·
BF16
Β·
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Jundot/gemma-4-31B-it-oQ8e-mtp

Quantized
(387)
this model