NoemaAI-labs/gemma-4-E2B-it-it-QuantReady
preparing the model for high-quality quantization
2 min readupdated
The model is based on google/gemma-4-E2B-it (5.1B parameters) and prepared using Noema QuantReady technology. In full-precision mode, it performs exactly like the original, but shows significantly lower quality loss when quantized (reducing weight precision). According to tests across 30 exporters, the model demonstrates an average of 1.26 times lower Kullback-Leibler divergence from the original compared to the standard approach. This solution is useful for developers who run language models on local hardware with VRAM memory constraints and want to preserve maximum response accuracy.
Key features
- Full compatibility with the original architecture, tokenizer, and loading code.
- The QuantReady method uses internal weight redistribution within transformer blocks.
- Reduced quantization errors for popular formats like GGUF, MLX, and bitsandbytes.
- Accuracy in full-precision mode (bf16) is maintained with minimal deviation.
What you can do
- Use for local execution with quantization via llama.cpp in Q8_0, Q5_K_M, or Q4_K_M formats.
- Deploy the model on Apple Silicon devices using MLX in 4-bit mode.
- Integrate into standard pipelines based on the transformers library by simply changing the repository identifier.
Example
Loading the model the standard way via the transformers library:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "NoemaAI-labs/gemma-4-E2B-it-QuantReady"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")Read more
DetailsModel size: 5.1 billion parameters.
Metrics: 1.26× lower KL divergence (geometric mean across 30 exporters).
License: Apache 2.0 (same as the original model).










Comments