Instructions to use SergeySavinov/rubert-tiny-toxicity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SergeySavinov/rubert-tiny-toxicity with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SergeySavinov/rubert-tiny-toxicity")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SergeySavinov/rubert-tiny-toxicity") model = AutoModelForSequenceClassification.from_pretrained("SergeySavinov/rubert-tiny-toxicity") - Notebooks
- Google Colab
- Kaggle
| license: mit | |
| datasets: | |
| - Mnwa/russian-toxic | |
| language: | |
| - ru | |
| metrics: | |
| - f1 | |
| base_model: | |
| - cointegrated/rubert-tiny | |
| library_name: transformers | |
| tags: | |
| - text-classification | |