Downloads · 30 days
7
11% of all-time downloads
molyalya/ru-toxicity-classifier
ru-toxicity-classifier is a machine learning model from molyalya. 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
7
11% of all-time downloads
All-time downloads
63
Public
Parameters
405M
3.2 GB on disk
Likes
2
Public
Click a slice to open those files.
.ckpt1.6 GB · 50%
From the Hugging Face model README
Модель для бинарной классификации русскоязычных текстов.
Определение токсичности текста.
ai-forever/ru-en-RoSBERTa
Accuracy: 0.9995 Precision: 0.9989 Recall: 1.0000 F1: 0.9995 MCC: 0.9989 ROC_AUC: 1.0000
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="molyalya/ru-toxicity-classifier"
)
result = classifier("Вы что, совсем тупой?")
print(result)