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