Downloads · 30 days
18
50% of all-time downloads
hanifsajid/deed-v01
deed-v01 is a text classification model from hanifsajid. Use it when you need a label for a piece of text. The card lists the license as mit.
This model is fine-tuned from xlm-roberta-large for multi-class classification of Democratic Erosion Event Dataset (DEED) events. It predicts one of four classes:
Downloads · 30 days
18
50% of all-time downloads
All-time downloads
36
Public
Parameters
560M
6.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
From the Hugging Face model README
This model is fine-tuned from xlm-roberta-large for multi-class classification of Democratic Erosion Event Dataset (DEED) events.
It predicts one of four classes:
| Label | Precision | Recall | F1-Score | Support |
|---|---|---|---|---|
| Destabilizing Event (0) | 0.598 | 0.392 | 0.473 | 125 |
| Precursor (1) | 0.659 | 0.716 | 0.686 | 675 |
| Resistance (2) | 0.846 | 0.845 | 0.846 | 645 |
| Symptom (3) | 0.800 | 0.786 | 0.793 | 805 |
| Accuracy | 0.760 | 0.760 | 0.760 | 2250 |
| Macro Avg | 0.726 | 0.685 | 0.700 | 2250 |
| Weighted Avg | 0.760 | 0.760 | 0.758 | 2250 |
from transformers import pipeline
classifier = pipeline("text-classification", model="hanifsajid/deed-v01")
result = classifier("Example text here")
print(result)