Downloads · 30 days
0
Menterium/translategemma-4b-it-onnx-int4-cpu
translategemma-4b-it-onnx-int4-cpu is a translation model from Menterium. Use it when you need text moved from one language to another. The card lists the license as gemma.
ONNX Runtime GenAI build (int4 weights, fp32 activations, CPU execution provider) of the text component of google/translategemma-4b-it, Google's translation-specialized Gemma 3 model covering 55 languages.
Downloads · 30 days
0
Access
Public
Updated Oct 26, 2026
Repo size
5.4 GB
Likes
0
Public
Click a slice to open those files.
.data5.4 GB · 99%
From the Hugging Face model README
ONNX Runtime GenAI build (int4 weights, fp32 activations, CPU execution provider) of the text component of google/translategemma-4b-it, Google's translation-specialized Gemma 3 model covering 55 languages.
Built for local, fully offline translation in
Celerando (Menterium IT Solutions GmbH) on machines
without a DirectX-12-capable GPU; usable with any
onnxruntime-genai client.
A GPU variant is published separately as translategemma-4b-it-onnx-int4-dml.
Gemma3ForCausalLM, model type gemma3_text); the vision tower is not included.python -m onnxruntime_genai.models.builder -p int4 -e cpu).genai_config.json ships with eos_token_id: [1, 106] so that
<end_of_turn> terminates generation (the stock config only stopped on <eos>).Gemma requires the <bos> token at the start of the prompt — without it the
output degenerates. The tokenizer of onnxruntime-genai does not add it
automatically:
<bos><start_of_turn>user
Translate the following text into English. Reply with ONLY the translation.
Text:
Wie heißt die Hauptstadt von Frankreich?<end_of_turn>
<start_of_turn>model
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 also subject to the
Gemma Prohibited Use Policy.
This repository redistributes a quantized derivative of TranslateGemma; all
rights in the underlying model remain with Google.