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