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