Davlan / afro-xlmr-small

huggingface.co
Total runs: 257
24-hour runs: 3
7-day runs: 34
30-day runs: 133
Model's Last Updated: September 07 2023
fill-mask

Introduction of afro-xlmr-small

Model Details of afro-xlmr-small

afro-xlmr-small

AfroXLMR-small was created by first reducing the vocabulary token size of XLM-R-base from 250K to 70k, followed by MLM adaptation on 17 African languages (Afrikaans, Amharic, Hausa, Igbo, Malagasy, Chichewa, Oromo, Naija, Kinyarwanda, Kirundi, Shona, Somali, Sesotho, Swahili, isiXhosa, Yoruba, and isiZulu) covering the major African language families and 3 high-resource languages (Arabic, French, and English).

Eval results on MasakhaNER (F-score)
language XLM-R-miniLM XLM-R-base XLM-R-large afro-xlmr-base afro-xlmr-small afro-xlmr-mini
amh 69.5 70.6 76.2 76.1 70.1 69.7
hau 74.5 89.5 90.5 91.2 91.4 87.7
ibo 81.9 84.8 84.1 87.4 86.6 83.5
kin 68.6 73.3 73.8 78.0 77.5 74.1
lug 64.7 79.7 81.6 82.9 83.2 77.4
luo 11.7 74.9 73.6 75.1 75.4 17.5
pcm 83.2 87.3 89.0 89.6 89.0 85.5
swa 86.3 87.4 89.4 88.6 88.7 86.0
wol 51.7 63.9 67.9 67.4 65.9 59.0
yor 72.0 78.3 78.9 82.1 81.3 75.1
BibTeX entry and citation info.
@inproceedings{alabi-etal-2022-adapting,
    title = "Adapting Pre-trained Language Models to {A}frican Languages via Multilingual Adaptive Fine-Tuning",
    author = "Alabi, Jesujoba O.  and
      Adelani, David Ifeoluwa  and
      Mosbach, Marius  and
      Klakow, Dietrich",
    booktitle = "Proceedings of the 29th International Conference on Computational Linguistics",
    month = oct,
    year = "2022",
    address = "Gyeongju, Republic of Korea",
    publisher = "International Committee on Computational Linguistics",
    url = "https://aclanthology.org/2022.coling-1.382",
    pages = "4336--4349",
    abstract = "Multilingual pre-trained language models (PLMs) have demonstrated impressive performance on several downstream tasks for both high-resourced and low-resourced languages. However, there is still a large performance drop for languages unseen during pre-training, especially African languages. One of the most effective approaches to adapt to a new language is language adaptive fine-tuning (LAFT) {---} fine-tuning a multilingual PLM on monolingual texts of a language using the pre-training objective. However, adapting to target language individually takes large disk space and limits the cross-lingual transfer abilities of the resulting models because they have been specialized for a single language. In this paper, we perform multilingual adaptive fine-tuning on 17 most-resourced African languages and three other high-resource languages widely spoken on the African continent to encourage cross-lingual transfer learning. To further specialize the multilingual PLM, we removed vocabulary tokens from the embedding layer that corresponds to non-African writing scripts before MAFT, thus reducing the model size by around 50{\%}. Our evaluation on two multilingual PLMs (AfriBERTa and XLM-R) and three NLP tasks (NER, news topic classification, and sentiment classification) shows that our approach is competitive to applying LAFT on individual languages while requiring significantly less disk space. Additionally, we show that our adapted PLM also improves the zero-shot cross-lingual transfer abilities of parameter efficient fine-tuning methods.",
}

Runs of Davlan afro-xlmr-small on huggingface.co

257
Total runs
3
24-hour runs
14
3-day runs
34
7-day runs
133
30-day runs

More Information About afro-xlmr-small huggingface.co Model

More afro-xlmr-small license Visit here:

https://choosealicense.com/licenses/mit

afro-xlmr-small huggingface.co

afro-xlmr-small huggingface.co is an AI model on huggingface.co that provides afro-xlmr-small's model effect (), which can be used instantly with this Davlan afro-xlmr-small model. huggingface.co supports a free trial of the afro-xlmr-small model, and also provides paid use of the afro-xlmr-small. Support call afro-xlmr-small model through api, including Node.js, Python, http.

afro-xlmr-small huggingface.co Url

https://huggingface.co/Davlan/afro-xlmr-small

Davlan afro-xlmr-small online free

afro-xlmr-small huggingface.co is an online trial and call api platform, which integrates afro-xlmr-small's modeling effects, including api services, and provides a free online trial of afro-xlmr-small, you can try afro-xlmr-small online for free by clicking the link below.

Davlan afro-xlmr-small online free url in huggingface.co:

https://huggingface.co/Davlan/afro-xlmr-small

afro-xlmr-small install

afro-xlmr-small is an open source model from GitHub that offers a free installation service, and any user can find afro-xlmr-small on GitHub to install. At the same time, huggingface.co provides the effect of afro-xlmr-small install, users can directly use afro-xlmr-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

afro-xlmr-small install url in huggingface.co:

https://huggingface.co/Davlan/afro-xlmr-small

Url of afro-xlmr-small

afro-xlmr-small huggingface.co Url

Provider of afro-xlmr-small huggingface.co

Davlan
ORGANIZATIONS

Other API from Davlan

huggingface.co

Total runs: 12.3K
Run Growth: 7.5K
Growth Rate: 61.35%
Updated:September 11 2023
huggingface.co

Total runs: 8.4K
Run Growth: 4.0K
Growth Rate: 47.48%
Updated:September 11 2023
huggingface.co

Total runs: 824
Run Growth: 634
Growth Rate: 76.94%
Updated:September 11 2023
huggingface.co

Total runs: 324
Run Growth: -410
Growth Rate: -126.54%
Updated:June 25 2025
huggingface.co

Total runs: 26
Run Growth: 21
Growth Rate: 80.77%
Updated:July 03 2024
huggingface.co

Total runs: 17
Run Growth: 3
Growth Rate: 17.65%
Updated:July 03 2024