Downloads · 30 days
97
40% of all-time downloads
Animateus/gemma-4-E4B-GGUF
gemma-4-E4B-GGUF is a text generation model from Animateus. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
GGUF-format, Q6K quantization of Google's google/gemma-4-E4B base (non-instruction-tuned) checkpoint, for use with llama.cpp.
Downloads · 30 days
97
40% of all-time downloads
All-time downloads
240
Public
Repo size
6.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf6.2 GB · 100%
From the Hugging Face model README
GGUF-format, Q6_K quantization of Google's google/gemma-4-E4B base (non-instruction-tuned)
checkpoint, for use with llama.cpp.
This is not an official Google release. "Gemma" is a trademark of Google LLC; this repository is not affiliated with, endorsed by, or sponsored by Google.
| File | Quantization | Size | SHA-256 |
|---|---|---|---|
gemma-4-E4B.Q6_K.gguf | Q6_K, importance-weighted | 6.22 GB | d2e325e2e6eed837d5e4d2c8fa8aaffe492c2ba41c8c8e9e2e90b414618a5ebf |
imatrix.gguf | The importance matrix the Q6_K file was built with | 4.4 MB | 5807b70a4883a2d9adb0c8e1c7c1778fc9f2d32b794ed820aac29142368dfc34 |
With imatrix.gguf and the same llama.cpp builds (below), the Q6_K file can be rebuilt byte
for byte from a bf16 conversion of google/gemma-4-E4B:
llama-quantize --imatrix imatrix.gguf gemma-4-E4B-bf16.gguf gemma-4-E4B.Q6_K.gguf Q6_K
Converted from google/gemma-4-E4B to GGUF (bf16) with llama.cpp's convert_hf_to_gguf.py
(build b11115), then quantized to Q6_K with llama-quantize, using an importance matrix from
llama-imatrix (both build b10210). The importance matrix was computed from about 250 KB of
English, Polish and German text: random Wikipedia articles and excerpts from public-domain
novels. That text is not included here.
The last 18 layers reuse the keys and values of earlier layers, so their own key and value
projections never run and receive no importance data. llama-quantize reports "did not find
weights" for them and quantizes them plainly. They are unused at inference, so this does not
affect output.
The audio and vision encoders are not included; this is the text model only. No other modification was made. Architecture, tokenizer, and generation config are unchanged from upstream.
Measured against the bf16 conversion on about 22,000 tokens of held-out text in 18 languages
(llama-perplexity --kl-divergence):
| Q6_K | |
|---|---|
| Mean KL divergence | 0.017 |
| Same top token | 93.6% |
| Perplexity vs bf16 | +1.7% |
Distributed under the Apache License 2.0 (see LICENSE in this repository), matching
the license Google publishes google/gemma-4-E4B under.
Google additionally applies use restrictions to the Gemma family that are not waived by the Apache License tag and continue to apply to these weights regardless of who redistributes them:
By downloading or using this checkpoint you agree to comply with the Prohibited Use Policy.
See NOTICE for the upstream attribution this repository carries forward.
brew install llama.cpp
llama-cli -hf Animateus/gemma-4-E4B-GGUF:Q6_K -p "The quick brown fox" -n 32
This is a base (non-instruction-tuned) checkpoint. Prompt it with raw text to continue, not with chat-formatted instructions.