Skip to page content
SAVRN
Search Plan a project

Open-weight model · Translation

twi-translator-gemma4-31b

by Ghana NLP Community ghananlpcommunity/twi-translator-gemma4-31b

twi-translator-gemma4-31b is an open-weight model for translation from Ghana NLP Community, released under Creative Commons Attribution-NonCommercial 4.0. It has 31.3B parameters and a 262,144-token context. At 16-bit it needs about 75.1 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

An English-to-Twi (Akan) translation model fine-tuned on google/gemma-4-31B-it to translate English like an expert human translator. 1.

Parameters31.3B
Context262,144
Weights62.5 GB
Licensecc-by-nc-4.0
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve twi-translator-gemma4-31b (31.3B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 62.5 GB 75.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 31.3 GB 37.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 15.6 GB 18.8 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 18, 2026.

twi-translator-gemma4-31b on every accelerator the SAVRN Index prices, at every precision

Model Card

An English-to-Twi (Akan) translation model fine-tuned on google/gemma-4-31B-it to translate English like an expert human translator. 1. Tool Calling: The model inspects the English source text, extracts key nominal terms, and emits a lookuptwitranslation tool call. 2. Offline Dictionary Lookup: The runtime looks up candidate Twi translations in an offline dictionary (478,822 English→Twi terms from SHOLA Gemini machine translations). 3. Linguistic Reasoning: The tool results are fed back into the model's thought channel (reasoningcontent), where the model reasons about morphology, syntax, and idioms. 4. Final Translation: The model outputs the accurate Twi translation, preserving the…

Excerpt from the card by Ghana NLP Community, licensed cc-by-nc-4.0.

Configuration

Architecture
Gemma4ForConditionalGeneration
Context length (tokens)
262,144
Layers
60
Hidden size
5,376
Feed-forward size
21,504
Attention heads
32
Key/value heads
16
Head dimension
256
Vocabulary size
262,144
Sliding window (tokens)
1,024
Model type
gemma4

Identity and Version

Repository
ghananlpcommunity/twi-translator-gemma4-31b
Publisher
Ghana NLP Community
Task
Translation
Modality
Text
Library
Not stated by the source
Parameters
31.3B parameters
Languages
en, ak
Revision
7abaa85848efa29a77b44ebd478983162eb0bd35
First published
2026-10-11
Last updated
2026-10-11

Files and Weights

16 files, 62.6 GB in total. The weights are 7 files totalling 62.5 GB in safetensors.

Weights7 files · 62.5 GB
Configuration4 files · 127.6 KB
Tokenizer2 files · 32.2 MB
Documentation1 file · 1.9 KB
Other1 file · 18.7 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00007.safetensorsWeights9.9 GB 5e9cfa6399b9
model-00002-of-00007.safetensorsWeights9.9 GB 21982b180ae7
model-00003-of-00007.safetensorsWeights9.8 GB 8f9cfbe5fcbf
model-00004-of-00007.safetensorsWeights9.8 GB ce2335c8bd2d
model-00005-of-00007.safetensorsWeights9.9 GB baebde4832f4
model-00006-of-00007.safetensorsWeights10.0 GB c8e24582e645
model-00007-of-00007.safetensorsWeights3.2 GB 64973938d328
config.jsonConfiguration5.4 KB —
generation_config.jsonConfiguration208 B —
model.safetensors.index.jsonConfiguration120.2 KB —
processor_config.jsonConfiguration1.7 KB —
README.mdDocumentation1.9 KB —
chat_template.jinjaOther18.7 KB —
.gitattributesRepository1.6 KB —
tokenizer.jsonTokenizer32.2 MB cc8d3a0ce364
tokenizer_config.jsonTokenizer3.1 KB —

License and Download

License
cc-by-nc-4.0
Access
Open weights, no gate
Download size
62.5 GB
Download from Ghana NLP Community

Released by Ghana NLP Community through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published62.5 GB
16-bit62.5 GB
8-bit31.3 GB
4-bit15.6 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About twi-translator-gemma4-31b

How much GPU memory does twi-translator-gemma4-31b need?

About 75.1 GB at 16-bit and 18.8 GB at 4-bit: the weights (31.3B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run twi-translator-gemma4-31b on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use twi-translator-gemma4-31b commercially?

Not without separate permission. twi-translator-gemma4-31b is released under Creative Commons Attribution-NonCommercial 4.0. CC BY-NC 4.0 permits sharing and adapting with credit for non-commercial purposes only. Commercial use needs separate permission from the rights holder.

What is twi-translator-gemma4-31b's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Translation

Hy-MT2-30B-A3B

Tencent

English | 中文 Hy-MT2 is a family of “fast-thinking” multilingual translation models designed for complex real-world scenarios. It includes three model sizes: 1.8B, 7B, and 30B-A3B (MoE), all of which support translation among 33 languages and effectively follow translation instructions in multiple languages. For on-device deployment, AngelSlim 1.25-bit extreme quantization reduces the storage requirement of the 1.8B model to only 440 MB and improves inference speed by 1.5x. Multi-dimensional evaluations show that Hy-MT2 delivers outstanding performance across general, real-world business, domain-specific, and instruction-following translation tasks. The 7B and 30B-A3B models outperform…

Open weights apache-2.0 30.1B parameters 262,144 tokens transformers

Model · Translation

ChindaMT-4B

iApp Technology

Paper: Reference-Grounded Data Curation for Instruction-Following Thai-English Machine Translation, AACL-IJCNLP 2026 Main Conference ChindaMT-4B is an open-weight Thai-English machine translation model fine-tuned from Qwen/Qwen3.5-4B on Grounded, a 1.97M-record dataset built by Reference-Grounded Data Curation (RGDC). It translates in both directions and follows auxiliary rules given in the prompt, such as terminology, register, length, and output format. It is one of three sizes in the ChindaMT family (4B, 2B, 0.8B). Plain translation. Same template for both directions; swap the language line and the source tag: With rules. Add a Rules: block between the language line and the source line.…

Open weights apache-2.0 5.2B parameters 262,144 tokens transformers

Model · Translation

madlad400-3b-mt

Google

MADLAD-400-3B-MT is a multilingual machine translation model based on the T5 architecture that was trained on 1 trillion tokens covering over 450 languages using publicly available data. It is competitive with models that are significantly larger. Disclaimer: Juarez Bochi, who was not involved in this research, converted the original weights and wrote the contents of this model card based on the original paper and Flan-T5. Find below some example scripts on how to use the model: First, install the Python packages that are required: pip install transformers accelerate sentencepiece Usage with candle: We also provide a quantized model (1.65 GB vs the original 11.8 GB file): See the research…

Open weights apache-2.0 2.9B parameters transformers

Model · Translation

t5-3b

T5 community

The developers of the Text-To-Text Transfer Transformer (T5) write: T5-3B is the checkpoint with 3 billion parameters. The developers write in a blog post that the model: See the blog post and research paper for further details. The model is pre-trained on the Colossal Clean Crawled Corpus (C4), which was developed and released in the context of the same research paper as T5. The model was pre-trained on a on a multi-task mixture of unsupervised (1.) and supervised tasks (2.). Thereby, the following datasets were being used for (1.) and (2.): 1. Datasets used for Unsupervised denoising objective: 2. Datasets used for Supervised text-to-text language modeling objective - CoLA Warstadt et…

Open weights apache-2.0 2.9B parameters transformers

Model · Translation

Hy-MT2-1.8B

Tencent

English | 中文 Hy-MT2 is a family of “fast-thinking” multilingual translation models designed for complex real-world scenarios. It includes three model sizes: 1.8B, 7B, and 30B-A3B (MoE), all of which support translation among 33 languages and effectively follow translation instructions in multiple languages. For on-device deployment, AngelSlim 1.25-bit extreme quantization reduces the storage requirement of the 1.8B model to only 440 MB and improves inference speed by 1.5x. Multi-dimensional evaluations show that Hy-MT2 delivers outstanding performance across general, real-world business, domain-specific, and instruction-following translation tasks. The 7B and 30B-A3B models outperform…

Open weights apache-2.0 2B parameters 262,144 tokens transformers

Model · Translation

HY-MT1.5-1.8B-FP8

Tencent

Hunyuan Translation Model Version 1.5 includes a 1.8B translation model, HY-MT1.5-1.8B, and a 7B translation model, HY-MT1.5-7B. Both models focus on supporting mutual translation across 33 languages and incorporating 5 ethnic and dialect variations. Among them, HY-MT1.5-7B is an upgraded version of our WMT25 championship model, optimized for explanatory translation and mixed-language scenarios, with newly added support for terminology intervention, contextual translation, and formatted translation. Despite having less than one-third the parameters of HY-MT1.5-7B, HY-MT1.5-1.8B delivers translation performance comparable to its larger counterpart, achieving both high speed and high quality.…

Open weights 1.8B parameters 262,144 tokens transformers