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: 133 Bytes
d6a7c36 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d1065c14bf5f3d26a369bb348eae791e137f4b69cc85f846cc14bde0e6c49aca
size 17098184
|