Downloads · 30 days
124
7% of all-time downloads
FreedomAISVR/Gemma-4-31B-it-QAT-NVFP4-GGUF
Gemma-4-31B-it-QAT-NVFP4-GGUF is a machine learning model from FreedomAISVR. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
QAT-optimized weights preserved at Q40, overhead tensors quantized to NVFP4.
Downloads · 30 days
124
7% of all-time downloads
All-time downloads
1.9K
Public
Repo size
18.5 GB
Likes
1
Public
Click a slice to open those files.
.gguf18.5 GB · 100%
From the Hugging Face model README
QAT-optimized weights preserved at Q4_0, overhead tensors quantized to NVFP4.
This is a hybrid quantization of Google official QAT (Quantization-Aware Training) model. Instead of requantizing the Q4_0 weights (which breaks QAT benefits and vision quality), we:
Google QAT model was specifically trained to be resilient to Q4_0 quantization patterns. The weight values learned during QAT compensate for Q4_0 rounding. When you requantize Q4_0 -> F32 -> NVFP4, a second round of quantization error is introduced that QAT training did not account for. Vision tokens flow through the same attention/FFN layers - precision loss disproportionately degrades vision.
Using llama-quantize --tensor-type-file with --allow-requantize:
llama-quantize --allow-requantize --tensor-type-file keep_q4.txt input.gguf output.gguf NVFP4
The tensor-type-file lists all Q4_0/Q4_K tensors to keep at their current type. When the quantizer sees cur_type == new_type, it copies the tensor data as-is - zero precision loss. Only the remaining F32 tensors are quantized to NVFP4.
# llama.cpp
llama-server -m gemma-4-31B-it-qat-nvfp4.gguf --mmproj mmproj-gemma-4-31B-it-qat.gguf -ngl 99
| File | Description |
|---|---|
| gemma-4-31B-it-qat-nvfp4.gguf | Q4_0 weights + NVFP4 norms |
| mmproj-gemma-4-31B-it-qat.gguf | QAT vision projector |
Apache 2.0 (same as base model)