Instructions to use RabidUmarell/toxic-mbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RabidUmarell/toxic-mbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="RabidUmarell/toxic-mbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("RabidUmarell/toxic-mbert") model = AutoModelForSequenceClassification.from_pretrained("RabidUmarell/toxic-mbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
a6423a2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:13e1e98689fe171b8a0795459a7b21fd7f54caa699e8895365cb71eb31905978
size 4728
|