Instructions to use mskov/roberta-base-toxicity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mskov/roberta-base-toxicity with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mskov/roberta-base-toxicity")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mskov/roberta-base-toxicity") model = AutoModelForSequenceClassification.from_pretrained("mskov/roberta-base-toxicity", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- c259c36771b009733e3f64503074979cfd1e1f2e083223a1584f3fa766c712fa
- Size of remote file:
- 499 MB
- SHA256:
- 17818305304f7d4deec1dad6f75442a6f38d2ee207be4ec007921a4e0b503bc2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.