Instructions to use uhhlt/amharic-hate-speech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use uhhlt/amharic-hate-speech with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="uhhlt/amharic-hate-speech")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("uhhlt/amharic-hate-speech") model = AutoModelForSequenceClassification.from_pretrained("uhhlt/amharic-hate-speech", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,9 +16,9 @@ model-index:
|
|
| 16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
|
| 19 |
-
#
|
| 20 |
|
| 21 |
-
This model is a fine-tuned version of [uhhlt/am-roberta](https://huggingface.co/uhhlt/am-roberta) on an
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
- Loss: 0.6437
|
| 24 |
- Accuracy: 0.7373
|
|
|
|
| 16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
|
| 19 |
+
# amharic-hate-speech
|
| 20 |
|
| 21 |
+
This model is a fine-tuned version of [uhhlt/am-roberta](https://huggingface.co/uhhlt/am-roberta) on an [AmahricHateSpeechRANL](https://huggingface.co/datasets/uhhlt/amharichatespeechranlp) dataset.
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
- Loss: 0.6437
|
| 24 |
- Accuracy: 0.7373
|