Views
No views yet
10: neutral
21: positive
32: negative1neutral: нейтральный
2positive: позитивный
3negative: негативный1from transformers import pipeline
2model = pipeline(model="seara/rubert-base-cased-russian-sentiment")
3model("Привет, ты мне нравишься!")
4# [{'label': 'positive', 'score': 0.9818321466445923}]1tokenizer.max_length: 256
2batch_size: 32
3optimizer: adam
4lr: 0.00001
5weight_decay: 0
6epochs: 2| neutral | positive | negative | macro avg | weighted avg | |
|---|---|---|---|---|---|
| precision | 0.72 | 0.85 | 0.75 | 0.77 | 0.77 |
| recall | 0.75 | 0.84 | 0.72 | 0.77 | 0.77 |
| f1-score | 0.73 | 0.84 | 0.73 | 0.77 | 0.77 |
| auc-roc | 0.86 | 0.96 | 0.92 | 0.91 | 0.91 |
| support | 5196 | 3831 | 3599 | 12626 | 12626 |