This model is a quantized version of
google/gemma-4-31B-it
.
It was evaluated on several tasks to assess its quality in comparison to the unquantized model.
Model Optimizations
This model was obtained by quantizing the weights and activations of
google/gemma-4-31B-it
to FP4 data type, ready for inference with vLLM.
This optimization reduces the number of bits per parameter from 16 to 4, reducing the disk size and GPU memory requirements by approximately 75%.
Only the weights and activations of the linear operators within transformers blocks are quantized using
LLM Compressor
.
Vision tower, embedding, and output head layers are kept in their original precision.
Deployment
Use with vLLM
This model can be deployed using
vLLM
.
For detailed instructions including multi-GPU deployment, multimodal inference, thinking mode, function calling, and benchmarking, see the
Gemma 4 vLLM usage guide
.
This model was evaluated on GSM8k-Platinum, MMLU-CoT, MMLU-Pro, and IFEval using
lm-evaluation-harness
, served with
vLLM
(OpenAI-compatible API).
All evaluations were performed with
thinking turned off
.
Accuracy
Category
Benchmark
google/gemma-4-31B-it
RedHatAI/gemma-4-31B-it-NVFP4
Recovery
Instruction Following
GSM8k-Platinum (5-shot, strict-match)
97.60
97.71
100.1%
MMLU-CoT (5-shot, strict_match)
90.53
90.06
99.5%
MMLU-Pro (5-shot, custom-extract)
85.03
84.07
98.9%
IFEval (0-shot, prompt-level strict)
91.07
90.45
99.3%
IFEval (0-shot, inst-level strict)
93.76
93.45
99.7%
Reproduction
The results were obtained using the following commands:
Each benchmark was run 3 times with different random seeds (42, 1234, 4158) and the scores were averaged.
gemma-4-31B-it-NVFP4 huggingface.co is an AI model on huggingface.co that provides gemma-4-31B-it-NVFP4's model effect (), which can be used instantly with this RedHatAI gemma-4-31B-it-NVFP4 model. huggingface.co supports a free trial of the gemma-4-31B-it-NVFP4 model, and also provides paid use of the gemma-4-31B-it-NVFP4. Support call gemma-4-31B-it-NVFP4 model through api, including Node.js, Python, http.
gemma-4-31B-it-NVFP4 huggingface.co is an online trial and call api platform, which integrates gemma-4-31B-it-NVFP4's modeling effects, including api services, and provides a free online trial of gemma-4-31B-it-NVFP4, you can try gemma-4-31B-it-NVFP4 online for free by clicking the link below.
RedHatAI gemma-4-31B-it-NVFP4 online free url in huggingface.co:
gemma-4-31B-it-NVFP4 is an open source model from GitHub that offers a free installation service, and any user can find gemma-4-31B-it-NVFP4 on GitHub to install. At the same time, huggingface.co provides the effect of gemma-4-31B-it-NVFP4 install, users can directly use gemma-4-31B-it-NVFP4 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
gemma-4-31B-it-NVFP4 install url in huggingface.co: