Downloads · 30 days
249
6% of all-time downloads
rasyosef/bert-medium-amharic-finetuned-sentiment
bert-medium-amharic-finetuned-sentiment is a text classification model from rasyosef. Use it when you need a label for a piece of text. It is set up for transformers.
This model is a fine-tuned version of bert-medium-amharic on the amharic-sentiment dataset for sentiment classification. It achieves the following results on the evaluation set:
Downloads · 30 days
249
6% of all-time downloads
All-time downloads
3.9K
Public
Parameters
40.4M
162 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors162 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of bert-medium-amharic on the amharic-sentiment dataset for sentiment classification. It achieves the following results on the evaluation set:
Accuracy: 0.83Precision: 0.84Recall: 0.83F1: 0.83You can use this model directly with a pipeline for text classification:
>>> from transformers import pipeline
>>> bert_sentiment = pipeline("text-classification", model="rasyosef/bert-medium-amharic-finetuned-sentiment")
>>> bert_sentiment(["አሪፍ ፊልም ነው።", "ዩክሬን እና ሩስያ ከባድ ውግያ ላይ ናቸው።"])
[{'label': 'positive', 'score': 0.9863048791885376},
{'label': 'negative', 'score': 0.9570127129554749}]
https://github.com/rasyosef/amharic-sentiment-classification