Downloads · 30 days
17
11% of all-time downloads
alan9622/marabert2-levantine-toxic-model-v4
marabert2-levantine-toxic-model-v4 is a text classification model from alan9622. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
This model identifies Hate Speech and Abusive Language in Levantine Arabic tweets. It was fine-tuned on the dataset: alan9622/marabert2-levantine-toxic-model-v4-dataset.
Downloads · 30 days
17
11% of all-time downloads
All-time downloads
161
Public
Parameters
163M
651 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors651 MB · 100%
From the Hugging Face model README
This model identifies Hate Speech and Abusive Language in Levantine Arabic tweets. It was fine-tuned on the dataset: alan9622/marabert2-levantine-toxic-model-v4-dataset.
| Metric | Score |
|---|---|
| Accuracy | 0.9128205128205128 |
| F1 Score | 0.908218073979278 |
| ID | Label | Definition |
|---|---|---|
| 0 | normal | Safe text. |
| 1 | toxic | abusive or hate Insults/Vulgarity not directed at identity or Attacks based on religion, sect, gender, or nationality. |
from transformers import pipeline
classifier = pipeline("text-classification", model="alan9622/marabert2-levantine-toxic-model-v4")
classifier("يا زلمة حل عني")