TranslateGemma 4B, text only, GGUF Q4_K_M
TranslateGemma 4B without its vision encoder, for Ollama and llama.cpp. Used by the myDubber local backend for translation.
Built from google/translategemma-4b-it at commit 10042cb0e6e7fdce748996a71dc3dc432a4e0c89 by
build_translategemma.py
(dubber): the language model is saved alone as Gemma3ForCausalLM, its tensors unchanged; the chat template is
Gemma 3's own (the system message goes into the first user turn) instead of TranslateGemma's structured one.
Calibration: 512 prompts in dubber's translator format built from
google/wmt24pp (commit fd7405c06494bc66a57b25f55d217a72f96e60dc, Apache-2.0), English to
and from the voice's target languages.
GGUF: llama.cpp b11553 — convert_hf_to_gguf.py (bf16), llama-imatrix on the calibration prompts,
llama-quantize Q4_K_M --imatrix.
translategemma-4b-text.gguf sha256: dbdc91cf2fe5b5cbec0daaf97da60412e57c4a55c5f6a572b9184c42f40dc6c3
ollama create translategemma-4b-text -f Modelfile
Licence
Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms (copy in GEMMA_TERMS.txt). Use is subject to the Gemma Prohibited Use Policy, which you must also pass on to anyone you distribute this model to. This is a modified version of Gemma: the vision encoder and its projector are removed and the weights are quantized to 4 bits; the language model's weights are otherwise the original's.