GPT-2 Tigrinya
Collection
A collection of GPT-2 based language models trained explicitly for the Tigrinya language (ትግርኛ).
•
4 items
•
Updated
This repository contains a GPT-2 model trained from scratch on Tigrinya text data. The model was trained using the Hugging Face Transformers library.
from transformers import pipeline
# Load the model
generator = pipeline('text-generation', model='luel/gpt2-tigrinya-small')
# Generate text
text = generator("ትግራይ", max_length=60)
print(text)