Downloads · 30 days
16.9K
2% of all-time downloads
r1char9/rubert-base-cased-russian-sentiment
rubert-base-cased-russian-sentiment is a text classification model from r1char9. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
Модель RuBERT была дообучена на задачу sentiment classification для короткого Russian корпуса. Задача представляет собой multi-class classification со следующими метками:
Downloads · 30 days
16.9K
2% of all-time downloads
All-time downloads
938K
Public
Repo size
1.4 GB
Likes
13
Public
Click a slice to open those files.
.bin711 MB · 99%
From the Hugging Face model README
Модель RuBERT была дообучена на задачу sentiment classification для короткого Russian корпуса. Задача представляет собой multi-class classification со следующими метками:
0: neutral
1: positive
2: negative
from transformers import pipeline
model = pipeline(model="r1char9/rubert-base-cased-russian-sentiment")
model("Привет, ты мне нравишься!")
# [{'label': 'positive', 'score': 0.8220236897468567}]
Модель была натренирована на данных:
tokenizer.max_length: 256
batch_size: 32
optimizer: adam
lr: 0.00001
weight_decay: 0
epochs: 2