rasyosef / bert-mini-amharic

huggingface.co
Total runs: 193
24-hour runs: 1
7-day runs: 20
30-day runs: 167
Model's Last Updated: June 28 2024
fill-mask

Introduction of bert-mini-amharic

Model Details of bert-mini-amharic

bert-mini-amharic

This model has the same architecture as bert-mini and was pretrained from scratch using the Amharic subsets of the oscar and mc4 datasets, on a total of 137 Million tokens. The tokenizer was trained from scratch on the same text corpus, and had a vocabulary size of 24k. It achieves the following results on the evaluation set:

  • Loss: 3.11
  • Perplexity: 22.42

Even though this model only has 10.7 Million parameters, its performance is only slightly behind the 26x larger 279 Million parameter xlm-roberta-base model on the same Amharic evaluation set.

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/bert-mini-amharic')
>>> unmasker("ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ [MASK] ተቆጥሯል።")

[{'score': 0.6525624394416809,
  'token': 9617,
  'token_str': 'ዓመታት',
  'sequence': 'ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ ዓመታት ተቆጥሯል ።'},
 {'score': 0.22671808302402496,
  'token': 9345,
  'token_str': 'ዓመት',
  'sequence': 'ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ ዓመት ተቆጥሯል ።'},
 {'score': 0.07071439921855927,
  'token': 10898,
  'token_str': 'አመታት',
  'sequence': 'ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ አመታት ተቆጥሯል ።'},
 {'score': 0.02838180586695671,
  'token': 9913,
  'token_str': 'አመት',
  'sequence': 'ከሀገራቸው ከኢትዮጵያ ከወጡ ግማሽ ምዕተ አመት ተቆጥሯል ።'},
 {'score': 0.006343209184706211,
  'token': 22459,
  '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)
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
Amharic News Category Classification
Model Size(# params) Accuracy Precision Recall F1
bert-small-amharic 25.7M 0.89 0.86 0.87 0.86
bert-mini-amharic 9.67M 0.87 0.83 0.83 0.83
xlm-roberta-base 279M 0.9 0.88 0.88 0.88

Runs of rasyosef bert-mini-amharic on huggingface.co

193
Total runs
1
24-hour runs
8
3-day runs
20
7-day runs
167
30-day runs

More Information About bert-mini-amharic huggingface.co Model

bert-mini-amharic huggingface.co

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

bert-mini-amharic huggingface.co Url

https://huggingface.co/rasyosef/bert-mini-amharic

rasyosef bert-mini-amharic online free

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

rasyosef bert-mini-amharic online free url in huggingface.co:

https://huggingface.co/rasyosef/bert-mini-amharic

bert-mini-amharic install

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

bert-mini-amharic install url in huggingface.co:

https://huggingface.co/rasyosef/bert-mini-amharic

Url of bert-mini-amharic

bert-mini-amharic huggingface.co Url

Provider of bert-mini-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