Downloads · 30 days
25
4% of all-time downloads
uhhlt/amharic-hate-speech
amharic-hate-speech is a text classification model from uhhlt. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
25
4% of all-time downloads
All-time downloads
614
Public
Repo size
3.6 GB
Likes
0
Public
Click a slice to open those files.
.bin1.8 GB · 96%
From the Hugging Face model README
This model is a fine-tuned version of uhhlt/am-roberta on an AmahricHateSpeechRANL dataset. It achieves the following results on the evaluation set:
from transformers import pipeline
amhate_classifier = pipeline("text-classification", model="uhhlt/amharic-hate-speech")
amhate_classifier(["🌳☘️ 🌳☘️ለልጅ ልጅ የሚተላለፍ ዘመን ተሻጋሪ ኢንቨስትመንት !!!🌳☘️ 🌳☘️።",
"አንተ አሁን ምን የሚሉህ ነህ? ግኡዝ አምላኪ ከመሆን ያድነን። ሰውን ያክል ፍጡር እየሞተ ለዛፍ ይሄን ያክል ማምለክ ጤነኝነት አይመስልም ። ፋኖ 100% ያሸንፋል",
"በአናትህ ተተከል ባንዳ ተላላኪ"])
Output
[{'label': 'normal', 'score': 0.8840981721878052},
{'label': 'hate', 'score': 0.519339382648468},
{'label': 'hate', 'score': 0.9630571007728577}]
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.8441 | 1.0 | 94 | 0.6699 | 0.7053 | 0.6913 | 0.6640 | 0.6737 |
| 0.6199 | 2.0 | 188 | 0.6505 | 0.72 | 0.7060 | 0.6995 | 0.6994 |
| 0.5295 | 3.0 | 282 | 0.6240 | 0.736 | 0.7201 | 0.7125 | 0.7159 |
| 0.4614 | 4.0 | 376 | 0.6437 | 0.7373 | 0.7216 | 0.7149 | 0.7180 |
| 0.3955 | 5.0 | 470 | 0.6922 | 0.7207 | 0.7001 | 0.7072 | 0.7031 |
| 0.3529 | 6.0 | 564 | 0.6995 | 0.7247 | 0.7050 | 0.7029 | 0.7039 |
| 0.3076 | 7.0 | 658 | 0.7352 | 0.7253 | 0.7067 | 0.7000 | 0.7031 |
| 0.2863 | 8.0 | 752 | 0.7470 | 0.7227 | 0.7019 | 0.6983 | 0.7000 |