GGUF build of the text component of google/gemma-3-4b-it for llama.cpp and clients built on it.
Built for local, fully offline rewriting of dictated text (punctuation, filler-word removal, tone softening) in Celerando (Menterium IT Solutions GmbH); usable with any llama.cpp-based client.
| File | Quantization | Size | SHA-256 | Intended for |
|---|---|---|---|---|
gemma-3-4b-it-Q8_0.gguf |
Q8_0 | 4.13 GB | 1df4426f9ce78a26144e5ae171616f98e48ad4dfcaae7890461abb2a9cd10b6d |
GPU (Vulkan, CUDA, Metal) |
gemma-3-4b-it-Q4_K_M.gguf |
Q4_K_M | 2.49 GB | fdc1576f4bec424c74b8f48133d289be482b6155c5b36e0360eff45d50847b22 |
CPU and GPUs with little memory |
Q8_0 behaves practically like the unquantized model: on 174 rewriting prompts (German, English, Spanish) it produced the same greedy output as bf16 in 171 cases. Q4_K_M matched bf16 in 155 cases. On a CPU, where memory bandwidth limits generation, Q4_K_M is about 1.6 times faster than Q8_0 (measured with TranslateGemma 4B, same architecture).
815a2a5, 2026-08-01): convert_hf_to_gguf.py on the
multimodal checkpoint, which writes the text decoder only (the vision tower is not
included), output bf16; then llama-quantize with default settings (output/embedding
tensor quantized as well).config.json unchanged.
llama.cpp applies the window itself (separate sliding-window KV cache), so prompt and
answer may exceed 1024 tokens — unlike DirectML builds of Gemma 3, which are limited to
1024 tokens.Gemma requires <bos> at the start of the prompt. llama.cpp adds it when the client
tokenizes with BOS enabled (the GGUF sets tokenizer.ggml.add_bos_token); do not add it
twice. Gemma has no system role; put instructions into the first user turn:
<bos><start_of_turn>user
Add punctuation to the text between <text> and </text>. Return only the text.
<text>can you send me the project tomorrow that would be great</text><end_of_turn>
<start_of_turn>model
Generation ends with <end_of_turn>.
All model files in this repository are modified versions of the files published in google/gemma-3-4b-it: the text decoder was extracted, converted to GGUF and quantized (Q8_0, Q4_K_M). The weights were not otherwise changed.
Gemma is provided under and subject to the Gemma Terms of Use found at
ai.google.dev/gemma/terms (see also NOTICE).
A copy of the Gemma Terms of Use and the Gemma Prohibited Use Policy is included as
GEMMA_TERMS_OF_USE.txt.
Use of this model is subject to the use restrictions of the
Gemma Prohibited Use Policy,
which apply to every downstream user and to every further redistribution.
This repository redistributes a quantized derivative of Gemma 3; all
rights in the underlying model remain with Google.
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo Menterium/gemma-3-4b-it-GGUF ./model-foldergoogle/gemma-3-4b-it