GPT-2 Tigrinya
Collection
A collection of GPT-2 based language models trained explicitly for the Tigrinya language (α΅ααα).
β’
4 items
β’
Updated
This is a GPT-2 model trained from scratch on Tigrinya text data. It was trained on 20.6 million tokens, primarily from news sources.
from transformers import pipeline
# Load the model
generator = pipeline('text-generation', model='luel/gpt2-tigrinya-medium')
prompt = "ααα α΅αα«α"
# Generate text
text = generator(prompt, max_length=100)[0]['generated_text']
print(text)