This is the
cointegrated/rubert-tiny
model fine-tuned for classification of toxicity and inappropriateness for short informal Russian texts, such as comments in social networks.
The problem is formulated as multilabel classification with the following classes:
non-toxic
: the text does NOT contain insults, obscenities, and threats, in the sense of the
OK ML Cup
competition.
insult
obscenity
threat
dangerous
: the text is inappropriate, in the sense of
Babakov et.al.
, i.e. it can harm the reputation of the speaker.
A text can be considered safe if it is BOTH
non-toxic
and NOT
dangerous
.
Usage
The function below estimates the probability that the text is either toxic OR dangerous:
The model has been trained on the joint dataset of
OK ML Cup
and
Babakov et.al.
with
Adam
optimizer, the learning rate of
1e-5
, and batch size of
64
for
15
epochs in
this Colab notebook
.
A text was considered inappropriate if its inappropriateness score was higher than 0.8, and appropriate - if it was lower than 0.2. The per-label ROC AUC on the dev set is:
rubert-tiny-toxicity huggingface.co is an AI model on huggingface.co that provides rubert-tiny-toxicity's model effect (), which can be used instantly with this cointegrated rubert-tiny-toxicity model. huggingface.co supports a free trial of the rubert-tiny-toxicity model, and also provides paid use of the rubert-tiny-toxicity. Support call rubert-tiny-toxicity model through api, including Node.js, Python, http.
rubert-tiny-toxicity huggingface.co is an online trial and call api platform, which integrates rubert-tiny-toxicity's modeling effects, including api services, and provides a free online trial of rubert-tiny-toxicity, you can try rubert-tiny-toxicity online for free by clicking the link below.
cointegrated rubert-tiny-toxicity online free url in huggingface.co:
rubert-tiny-toxicity is an open source model from GitHub that offers a free installation service, and any user can find rubert-tiny-toxicity on GitHub to install. At the same time, huggingface.co provides the effect of rubert-tiny-toxicity install, users can directly use rubert-tiny-toxicity installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
rubert-tiny-toxicity install url in huggingface.co: