Instructions to use Xuhui/ToxDect-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Xuhui/ToxDect-roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Xuhui/ToxDect-roberta-large")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Xuhui/ToxDect-roberta-large") model = AutoModelForSequenceClassification.from_pretrained("Xuhui/ToxDect-roberta-large") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
3bb9331 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:50bcf063bf41ccf5dab446d3a1eb89ffc0a7b237dbfe9caeadf0d00d7907bac4
size 1421605805
|