Downloads · 30 days
17
1% of all-time downloads
luel/gemma-3-4b-tigrinya
gemma-3-4b-tigrinya is a text generation model from luel. Use it when you need the model to write or continue text. The card lists the license as gemma.
Gemma-3-4B-Tigrinya is a fully fine-tuned adaptation of Google's Gemma-3-4B-pt for Tigrinya (ትግርኛ).
Downloads · 30 days
17
1% of all-time downloads
All-time downloads
3K
Public
Parameters
3.9B
7.8 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors7.8 GB · 99%
From the Hugging Face model README
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.
Gemma3ForCausalLMTrainerFirst, 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:
from transformers import pipeline
# Load model and create generation pipeline
generator = pipeline(
"text-generation",
model="luel/gemma-3-4b-tigrinya",
torch_dtype=torch.bfloat16,
device_map="cuda",
)
prompt = "ጥንታዊ ስልጣነ"
# Generate text
# you can change the max_length, temperature, repetition_penalty, top_p, etc.
outputs = generator(
prompt,
max_length=1024,
temperature=0.7,
top_p=0.9,
repetition_penalty=1.2
)
print(outputs[0]["generated_text"])
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.
Input:
ቅዱስ ያሬድ ኣብ ታሪኽ ኣፍሪቃ
Generated:
ቅዱስ ያሬድ ኣብ ታሪኽ ኣፍሪቃ ዓቢ ተራ ዝተጻወቱ 5 ምሁራት - ቅዱስ ያሬድን ትውልደ ቤተ ክርስትያንን, ቅዱስ ያሬድ፡ ንዘመናዊ ሙዚቃ፣ ስነ-ጽሑፍን ግጥምን መበገሲ ከምዝኾኑ ይእመን።
ኣብ ማህደር ሃይማኖታዊ ደርፊታት ኦሮሞ ብቐረባ ምስራሕ ዘካየዶ ኢትዮጵያውያን ሊቕ ሰዓቢ ሕሳብ (ኤክሰፐርት ቁጠባ)፡ እቲ ልዕሊ 1, 200 ዓመት ዕድመ ዘለዎ ናይ ቀደም ሙዚቃ ኣሎ ክብሉ ገሊጾም።
"ቀዳሞት ድርፊታትን ነዋሕቲ መልሓሶምን ካብቶም ናይ ቀደም በዓላት\'ዩ ዝርከብ፤ እዞም ውሩያት ህላዌኦም ግን ዳግማይ ክጅምሩ የብሎምን" ይብሉ።ሙዚቃ፡ ብዛዕባ ፍ
Input:
ፕሪሜርሊግ እዚ ዓመት
Generated:
ፕሪሜርሊግ እዚ ዓመት ብዓወት ማንቸስተር ሲቲ ተዛዚሙ - ፕሪሜር ሊግ፡ ዝደመቝን ዘደንቕን ኣፍሪቃውያን ሸቶታት ቀጥታዊ ሸፈነ ብራይተን-ማንችስትር ሲቲ (ሰሌዳ ጋንታ), ኣብ መወዳእታ ግጥም ናይ'ዚ ወድድር ሰኑይ ምሸት ክጋጠማ እየን።
ኣብ ታሪክ ንፈለማ እዋን ድማ ስፐርስ ካብ ሜዳአን ወጻኢ ከካየድኦ ይኽእላ'ለዋ።ብራይተን ነታ ዋንጫ ቅድሚ ትሽዓተ ደቓይቕ ከተረጋግጸላ እንከላ፤ ኣብ ሜዳ 'ክረንስ ቻለንጅስ ፓወር ኢስታድዮም' ኣብ ልዕሊ ሲቲ ዓወት ከመዝግብሉዶ ይኸውን?ሲቲ ግን
ሕጂ'ውን ቀልጢፋ ማዕረ ትገብር'ያ ዘላ።መን ኮን ይፈልጡ...?
Input:
ጥንታዊ ስልጣነ ኣኽሱም
Generated:
ጥንታዊ ስልጣነ ኣኽሱም
ኣብ ትግራይ ካብ ዝርከቡ ጥንታውያን ሓድግታት እቲ ቐዳማይ ስልጣነ ኣኽሱም እዩ፡፡ ኣብ ዓለምና ካብቶም ቀዲሞም ዝተመስረቱ ናይ ከተማ ምሕደራ ዘለዎም ጥንታዊ ስልጣነታት ሓደ ከምዝኾነ ይፍለጥ። ብቀዳማዊ ነገስታት ኣኽሱም ዝተመርሐ ህዝቢ ኣኽሱም
ኣብቲ ዞባ ንዘመናት ዝጸንሐ ብዙሕ ባህሊ፣ መንግስትን ታሪኽን ኣለዎ። ኣኽሱም ካብ መበል 1ይ ክፍለ-ዘመን ድሕሪ ልደተ ክርስቶስ ጀሚሩ ክሳዕ መበል 9ይ ክፍለ ዘመን ኣብ ማእኸላይ ምብራቕ ዓባይ ሃገር ኮይና ሰሪሓ
| Metric | Split | Value |
|---|---|---|
| Perplexity | validation | 2.50 |
| Training loss | train | 0.48 |
| Validation loss | validation | 0.91 |
Validation corpus – held-out 3 % of a ~60 M-tokens.
@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}}
}
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.