Fill-Mask
Transformers
Safetensors
Amharic
Tigrinya
xlm-roberta
vocabulary-expansion
geez
amharic
tigrinya
low-resource
Instructions to use Hailay/VEXMLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hailay/VEXMLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Hailay/VEXMLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Hailay/VEXMLM") model = AutoModelForMaskedLM.from_pretrained("Hailay/VEXMLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Align model card text with the corrected paper
Browse filesText only; no metric changed. New paper title and co-author name in the citation; QA scores described as development-split results; pretraining-data statement corrected; loss/perplexity pairing clarified.
README.md
CHANGED
|
@@ -72,7 +72,10 @@ Tigrinya fertility falls 45.9% and compression rises 84.9%. Added tokens carry
|
|
| 72 |
## Training
|
| 73 |
|
| 74 |
Continued MLM pretraining on Amharic and Tigrinya monolingual corpora
|
| 75 |
-
(200,001 and 200,000 non-empty lines; 9.09M and 6.98M characters).
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
| Hyperparameter | Value |
|
| 78 |
|---|---|
|
|
@@ -89,7 +92,8 @@ Continued MLM pretraining on Amharic and Tigrinya monolingual corpora
|
|
| 89 |
| Hardware | 1× NVIDIA A100 |
|
| 90 |
|
| 91 |
Released checkpoint is the best-by-validation-loss model at epoch 56
|
| 92 |
-
(24,808 of 26,580 steps): **
|
|
|
|
| 93 |
|
| 94 |
## Evaluation
|
| 95 |
|
|
@@ -114,7 +118,7 @@ A100-PCIE-40GB with deterministic kernels. Mean ± standard deviation over 5 see
|
|
| 114 |
**Supplementary** — TiQuAD is a diagnostic task, not a paper benchmark:
|
| 115 |
EM 50.24 ± 0.48, F1 58.90 ± 0.66 (926 questions).
|
| 116 |
|
| 117 |
-
TIGQA has only 67
|
| 118 |
TiQuAD is reported alongside it for that reason.
|
| 119 |
|
| 120 |
### Ablation — downstream NER OOV accuracy
|
|
@@ -179,26 +183,28 @@ and for studying vocabulary expansion in low-resource multilingual models.
|
|
| 179 |
- **Two languages only.** Amharic and Tigrinya. Other Ge'ez-script languages were
|
| 180 |
not part of pretraining and are not evaluated here.
|
| 181 |
- **Extractive QA remains weak in absolute terms.** TIGQA EM of 2.39 reflects a
|
| 182 |
-
very small dataset (67
|
| 183 |
- **Sentiment results are near chance** on AfriSenti Amharic (accuracy 0.4978 on
|
| 184 |
a 3-class task).
|
| 185 |
- **Tokenizer parity is not reported.** It requires a sentence-aligned parallel
|
| 186 |
corpus, which was unavailable; parity computed on non-parallel text reflects
|
| 187 |
content differences rather than tokenizer fairness.
|
| 188 |
-
- **
|
| 189 |
-
|
|
|
|
| 190 |
- Continued pretraining conflates embedding adaptation with additional training
|
| 191 |
budget, as noted in the ablation section.
|
| 192 |
-
- The
|
| 193 |
-
|
|
|
|
| 194 |
|
| 195 |
## Citation
|
| 196 |
|
| 197 |
```bibtex
|
| 198 |
@inproceedings{teklehaymanot2026vexmlm,
|
| 199 |
-
title = {
|
| 200 |
-
A
|
| 201 |
-
author = {Teklehaymanot, Hailay Kidu and Yadeta,
|
| 202 |
Nejdl, Wolfgang},
|
| 203 |
booktitle = {Proceedings of the Workshop on Language Models for
|
| 204 |
Underserved Communities (LM4UC) at IJCAI},
|
|
|
|
| 72 |
## Training
|
| 73 |
|
| 74 |
Continued MLM pretraining on Amharic and Tigrinya monolingual corpora
|
| 75 |
+
(200,001 and 200,000 non-empty lines; 9.09M and 6.98M characters). The text comes from a
|
| 76 |
+
prepared local collection whose original source is not documented; it matches no named corpus
|
| 77 |
+
available to the authors, its licence is unknown, and it is not redistributed. An earlier
|
| 78 |
+
attribution to HornMT is ruled out.
|
| 79 |
|
| 80 |
| Hyperparameter | Value |
|
| 81 |
|---|---|
|
|
|
|
| 92 |
| Hardware | 1× NVIDIA A100 |
|
| 93 |
|
| 94 |
Released checkpoint is the best-by-validation-loss model at epoch 56
|
| 95 |
+
(24,808 of 26,580 steps): **best validation loss 3.7120**; the final re-evaluation of this
|
| 96 |
+
checkpoint gives loss 3.7299 (perplexity 41.67).
|
| 97 |
|
| 98 |
## Evaluation
|
| 99 |
|
|
|
|
| 118 |
**Supplementary** — TiQuAD is a diagnostic task, not a paper benchmark:
|
| 119 |
EM 50.24 ± 0.48, F1 58.90 ± 0.66 (926 questions).
|
| 120 |
|
| 121 |
+
TIGQA has only 67 development questions, too few to support a QA claim on its own;
|
| 122 |
TiQuAD is reported alongside it for that reason.
|
| 123 |
|
| 124 |
### Ablation — downstream NER OOV accuracy
|
|
|
|
| 183 |
- **Two languages only.** Amharic and Tigrinya. Other Ge'ez-script languages were
|
| 184 |
not part of pretraining and are not evaluated here.
|
| 185 |
- **Extractive QA remains weak in absolute terms.** TIGQA EM of 2.39 reflects a
|
| 186 |
+
very small dataset (67 development questions) and a hard task, not a usable QA system.
|
| 187 |
- **Sentiment results are near chance** on AfriSenti Amharic (accuracy 0.4978 on
|
| 188 |
a 3-class task).
|
| 189 |
- **Tokenizer parity is not reported.** It requires a sentence-aligned parallel
|
| 190 |
corpus, which was unavailable; parity computed on non-parallel text reflects
|
| 191 |
content differences rather than tokenizer fairness.
|
| 192 |
+
- **The XLM-R baseline is single-seed.** Its seed-42 run records are in the repository
|
| 193 |
+
(`results/baselines/xlmr_seed42/`); no multi-seed head-to-head claim is made. No downstream
|
| 194 |
+
Glot500 result is reported.
|
| 195 |
- Continued pretraining conflates embedding adaptation with additional training
|
| 196 |
budget, as noted in the ablation section.
|
| 197 |
+
- The pretraining text is of undocumented origin (licence unknown); samples contain religious
|
| 198 |
+
translations alongside general web prose, and the model may reflect those distributions
|
| 199 |
+
and any biases present in them.
|
| 200 |
|
| 201 |
## Citation
|
| 202 |
|
| 203 |
```bibtex
|
| 204 |
@inproceedings{teklehaymanot2026vexmlm,
|
| 205 |
+
title = {Vocabulary Expansion for Low-Resource African Languages:
|
| 206 |
+
A Case Study in Amharic and Tigrinya},
|
| 207 |
+
author = {Teklehaymanot, Hailay Kidu and Yadeta, Debela Desalegn and
|
| 208 |
Nejdl, Wolfgang},
|
| 209 |
booktitle = {Proceedings of the Workshop on Language Models for
|
| 210 |
Underserved Communities (LM4UC) at IJCAI},
|