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