Views
No views yet
| Class | Precision (P) | Recall (R) | F1-Score (F1) |
|---|---|---|---|
| anger | 0.73 | 0.69 | 0.71 |
| fear | 0.94 | 0.99 | 0.96 |
| disgust | 0.96 | 0.94 | 0.95 |
| sadness | 0.89 | 0.83 | 0.86 |
| joy | 0.88 | 0.87 | 0.87 |
| none of them | 0.67 | 0.72 | 0.69 |
| Accuracy | 0.81 | ||
| Macro Avg | 0.84 | 0.84 | 0.84 |
| Weighted Avg | 0.81 | 0.81 | 0.81 |
transformers library from Hugging Face. Below is an example of how to load and use the model:1from transformers import pipeline
2
3# Load the fine-tuned model
4classifier = pipeline("text-classification", model="visegradmedia-emotion/Emotion_RoBERTa_czech6")
5
6# Example usage
7result = classifier("Dnes se cítím velmi šťastný!")
8print(result)