Views
No views yet
10: no_emotion
21: joy
32: sadness
43: surprise
54: fear
65: anger1no_emotion: нет эмоции
2joy: радость
3sadness: грусть
4surprise: удивление
5fear: страх
6anger: злость1from transformers import pipeline
2model = pipeline(model="seara/rubert-tiny2-cedr-russian-emotion")
3model("Привет, ты мне нравишься!")
4# [{'label': 'joy', 'score': 0.9605025053024292}]1tokenizer.max_length: null
2batch_size: 64
3optimizer: adam
4lr: 0.00001
5weight_decay: 0
6num_epochs: 30| no_emotion | joy | sadness | surprise | fear | anger | micro avg | macro avg | weighted avg | |
|---|---|---|---|---|---|---|---|---|---|
| precision | 0.82 | 0.84 | 0.84 | 0.79 | 0.78 | 0.55 | 0.81 | 0.77 | 0.8 |
| recall | 0.84 | 0.83 | 0.85 | 0.66 | 0.67 | 0.33 | 0.78 | 0.7 | 0.78 |
| f1-score | 0.83 | 0.83 | 0.84 | 0.72 | 0.72 | 0.41 | 0.79 | 0.73 | 0.79 |
| auc-roc | 0.92 | 0.96 | 0.96 | 0.91 | 0.91 | 0.77 | 0.94 | 0.91 | 0.93 |
| support | 734 | 353 | 379 | 170 | 141 | 125 | 1902 | 1902 | 1902 |