Instructions to use ukr-detect/ukr-toxicity-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ukr-detect/ukr-toxicity-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ukr-detect/ukr-toxicity-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ukr-detect/ukr-toxicity-classifier") model = AutoModelForSequenceClassification.from_pretrained("ukr-detect/ukr-toxicity-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturea12b21a
-
Update README.md
Verified signatureaaac115
-
Update README.md
Verified signature8262225
-
Update README.md
Verified signature6c9e2be
-
Update README.md
Verified signaturec55ab26
-
added metrics
1f568dd -
Update README.md
e2278b5 -
Update README.md
9c7652e -
Update config.json
14b3abc
-
updated README.md with information abt labels and how to download model
97aaa8b -
Upload toxic speech detection model
67f5fc8 -
initial commit
de8ae90