Gemma-3-4B-Tigrinya is a fully fine-tuned adaptation of Google's Gemma-3-4B-pt for Tigrinya (ትግርኛ).
This model demonstrates good generation and completion capabilities for Tigrinya content, particularly in news and historical contexts.
Purpose: Tigrinya is a low-resource language with limited high-performance open models available. This release aims to reduce barriers to entry for research and application development in the Tigrinya language space.
First, install the Transformers library (version 4.50 or higher):
pip install -U transformers
Then, you can use it for inference with the pipeline as follows:
python
1from transformers import pipeline
23# Load model and create generation pipeline4generator = pipeline(5"text-generation",6 model="luel/gemma-3-4b-tigrinya",7 torch_dtype=torch.bfloat16,8 device_map="cuda",9)1011prompt ="ጥንታዊ ስልጣነ"1213# Generate text14# you can change the max_length, temperature, repetition_penalty, top_p, etc.15outputs = generator(16 prompt,17 max_length=1024,18 temperature=0.7,19 top_p=0.9,20 repetition_penalty=1.221)22print(outputs[0]["generated_text"])
Examples
The following examples demonstrate the model's capabilities across different contexts. All examples were generated with max_length=250, temperature=0.6, top_p=0.9, repetition_penalty=1.2.
Validation corpus – held-out 3 % of a ~60 M-tokens.
Limitations
The model inherits limitations from the base Gemma-3 4B architecture.
Limited exposure to specialized technical or scientific Tigrinya vocabulary.
May not handle complex multilingual tasks optimally.
Generated text should be reviewed for accuracy, especially for factual content.
Citation
@misc{gemma-3-4b-tigrinya,
author = {Luel Hagos Beyene},
title = {Gemma-3-4b-Tigrinya: A Fine-tuned Language Model for Tigrinya},
year = {2025},
publisher = {HuggingFace},
howpublished = {\\url{https://huggingface.co/luel/gemma-3-4b-tigrinya}}
}
Acknowledgements
This model builds upon Google's Gemma 3 4B model. We acknowledge Google for making their foundation models available to the community, enabling the development of language-specific adaptations like this one.