Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use AFZALS/ToxicClassification2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AFZALS/ToxicClassification2.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AFZALS/ToxicClassification2.0")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AFZALS/ToxicClassification2.0") model = AutoModelForSequenceClassification.from_pretrained("AFZALS/ToxicClassification2.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
d6a7c36 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:785455f369f5169e3e9badb3666f89caf5f9a542ee93398eb9ea183a92304095
size 5201
|