rasyosef / roberta-base-amharic

huggingface.co
Total runs: 728
24-hour runs: -13
7-day runs: -59
30-day runs: 450
Model's Last Updated: January 16 2025
fill-mask

Introduction of roberta-base-amharic

Model Details of roberta-base-amharic

roberta-base-amharic

This model has the same architecture as xlm-roberta-base and was pretrained from scratch using the Amharic subsets of the oscar , mc4 , and amharic-sentences-corpus datasets, on a total of 290 Million tokens . The tokenizer was trained from scratch on the same text corpus, and had a vocabulary size of 32k.

The model was trained for 22 hours on an A100 40GB GPU .

It achieves the following results on the evaluation set:

  • Loss: 2.09
  • Perplexity: 8.08

This model has 110 Million parameters and is currently the best Amharic encoder model, beating the 2.5x larger 279 Million parameter xlm-roberta-base multilingual model on Amharic Sentiment Classification and Named Entity Recognition tasks.

How to use

You can use this model directly with a pipeline for masked language modeling:

>>> from transformers import pipeline
>>> unmasker = pipeline('fill-mask', model='rasyosef/roberta-base-amharic')
>>> unmasker("ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ <mask> ተቆጥሯል።")

[{'score': 0.40162667632102966,
  'token': 137,
  'token_str': 'ዓመት',
  'sequence': 'ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ ዓመት ተቆጥሯል።'},
 {'score': 0.24096301198005676,
  'token': 346,
  'token_str': 'አመት',
  'sequence': 'ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ አመት ተቆጥሯል።'},
 {'score': 0.15971705317497253,
  'token': 217,
  'token_str': 'ዓመታት',
  'sequence': 'ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ ዓመታት ተቆጥሯል።'},
 {'score': 0.13074122369289398,
  'token': 733,
  'token_str': 'አመታት',
  'sequence': 'ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ አመታት ተቆጥሯል።'},
 {'score': 0.03847867250442505,
  'token': 194,
  'token_str': 'ዘመን',
  'sequence': 'ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ ዘመን ተቆጥሯል።'}]

Finetuning

This model was finetuned and evaluated on the following Amharic NLP tasks

Finetuned Model Performance

The reported F1 scores are macro averages.

Model Size (# params) Perplexity Sentiment (F1) Named Entity Recognition (F1)
roberta-base-amharic 110M 8.08 0.86 0.78
bert-medium-amharic 40.5M 13.74 0.83 0.68
bert-small-amharic 27.8M 15.96 0.83 0.68
bert-mini-amharic 10.7M 22.42 0.81 0.64
bert-tiny-amharic 4.18M 71.52 0.79 0.54
xlm-roberta-base 279M 0.83 0.73
am-roberta 443M 0.82 0.69

Runs of rasyosef roberta-base-amharic on huggingface.co

728
Total runs
-13
24-hour runs
-46
3-day runs
-59
7-day runs
450
30-day runs

More Information About roberta-base-amharic huggingface.co Model

roberta-base-amharic huggingface.co

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

roberta-base-amharic huggingface.co Url

https://huggingface.co/rasyosef/roberta-base-amharic

rasyosef roberta-base-amharic online free

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

rasyosef roberta-base-amharic online free url in huggingface.co:

https://huggingface.co/rasyosef/roberta-base-amharic

roberta-base-amharic install

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

roberta-base-amharic install url in huggingface.co:

https://huggingface.co/rasyosef/roberta-base-amharic

Url of roberta-base-amharic

roberta-base-amharic huggingface.co Url

Provider of roberta-base-amharic huggingface.co

rasyosef
ORGANIZATIONS

Other API from rasyosef

huggingface.co

Total runs: 5.1K
Run Growth: 794
Growth Rate: 15.69%
Updated:October 07 2025
huggingface.co

Total runs: 659
Run Growth: 598
Growth Rate: 90.74%
Updated:October 07 2025
huggingface.co

Total runs: 7
Run Growth: -1
Growth Rate: -14.29%
Updated:September 16 2024