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