This repository contains resources for the paper "Monolingual Pre-trained Language Models for Tigrinya" that first appeared at the WiNLP workshop, EMNLP 2021.
We pre-train three monolingual language models for Tigrinya on a newly compiled corpus, and compare the performance the models with their multilingual counterparts on two downstream tasks – part-of-speech tagging and sentiment analysis – achieving significantly better results and establishing the state-of-the-art.
The transformer language models are published on the Huggingface Hub:
- TiRoBERTa base, 125M parameters.
- TiBERT base, 110M parameters.
- TiELECTRA small, 14M parameters.
We fine-tuned the above three models on two tasks.
Models fine-tuned on the Nagaoka Tigrinya Corpus (NTC) (Tedla et al. 2016).
Models fine-tuned on a dataset for Tigrinya Sentiment Analysis (Tela et al. 2020).
Evaluation results on the two downstream tasks.
Model | POS | Sentiment | #Params |
---|---|---|---|
TiELECTRA | 93.12 | 82.29 | 14M |
TiBERT | 92.89 | 82.06 | 110M |
TiRoBERTa | 95.49 | 84.76 | 125M |
Following the original papers, accuracy
is used to report the POS performances, while F1
is used for Sentiment Analysis.
The predictions of all models for both downstream tasks can be found in the predictions
directory.
Check the tasks
folder for training and evaluation data.
We compiled a new dataset for Tigrinya language modeling from various sources across the web including news, blogs, and books; with a total data size of ~0.5GB and over 40 million tokens. The data can be download from here.
If you use the models or the TLMD dataset in your research, please cite as follows:
@inproceedings{Fitsum2021TiPLMs,
author={Fitsum Gaim and Wonsuk Yang and Jong C. Park},
title={Monolingual Pre-trained Language Models for Tigrinya},
booktitle={5th Widening NLP (WiNLP2021) workshop, co-located with the 2021 Conference on Empirical Methods in Natural Language Processing ({EMNLP})},
year={2021}
}
We would like to thank the authors of the labeled downstream datasets for publicly sharing their work: Yemane Tedla (POS) and Abrhalei Tela (Sentiment Analysis). If you use these datasets, please cite their respective papers.
Tedla, Y., Yamamoto, K. and Marasinghe, A. 2016.
Tigrinya Part-of-Speech Tagging with Morphological Patterns and the New Nagaoka Tigrinya Corpus.
International Journal Of Computer Applications 146 pp. 33-41 (2016).
Tela, A., Woubie, A. and Hautamäki, V. 2020.
Transferring Monolingual Model to Low-Resource Language: The Case of Tigrinya.
ArXiv, abs/2006.07698.