Views
No views yet
xlm-roberta-base for the Amharic language (አማርኛ), trained with the Masked Language Modeling (MLM) objective. It is adapted to Amharic using a custom BPE tokenizer and embedding initialization based on FastText vectors.xlm-roberta-base1from transformers import AutoTokenizer, AutoModelForMaskedLM
2
3tokenizer = AutoTokenizer.from_pretrained("Hailay/xlmr-amharic-mlm")
4model = AutoModelForMaskedLM.from_pretrained("Hailay/xlmr-amharic-mlm")
5
6text = "ኢትዮጵያ ከፍተኛ እድገት አሳየች።"
7inputs = tokenizer(text, return_tensors="pt")
8outputs = model(**inputs)
9📌 Intended Use
10Pretraining for Amharic NLP tasks
11
12Fine-tuning on classification, NER, QA, and downstream tasks in Amharic
13
14Research on low-resource Semitic languages
15
16📖 Citation
17@misc{hailay2025amharic,
18 title={Amharic MLM with XLM-R and FastText-Informed Embedding Initialization},
19 author={Hailay Kidu},
20 year={2025},
21 url={https://huggingface.co/Hailay/xlmr-amharic-mlm}
22}
23🏷️ License
24Apache License 2.0