Downloads · 30 days
3
13% of all-time downloads
yulivvv/toxic-text-classifier-ru
toxic-text-classifier-ru is a machine learning model from yulivvv. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Модель бинарной классификации русскоязычных текстов.
Downloads · 30 days
3
13% of all-time downloads
All-time downloads
24
Public
Parameters
405M
4.9 GB on disk
Likes
1
Public
Click a slice to open those files.
.ckpt3.3 GB · 67%
From the Hugging Face model README
Модель бинарной классификации русскоязычных текстов.
Классы:
Модель предназначена для автоматического контроля качества сообщений технической поддержки.
Определяет:
Основа модели: ai-forever/ru-en-RoSBERTa
Использован transfer learning:
Accuracy: 0.9849
Precision: 0.9873
Recall: 0.9825
F1-score: 0.9849
MCC: 0.9699
ROC-AUC: 0.9990
Модель может ошибаться на:
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="yulivvv/toxic-text-classifier-ru"
)
result = classifier(
"Вы что, совсем ничего не можете сделать?"
)
print(result)