Instructions to use dima806/toxic-comments-classifier-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dima806/toxic-comments-classifier-distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dima806/toxic-comments-classifier-distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dima806/toxic-comments-classifier-distilbert") model = AutoModelForSequenceClassification.from_pretrained("dima806/toxic-comments-classifier-distilbert") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
f14c651 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:96e508c7528ae86c1b6c5ac35cae662ccc27aa15612caf811b59d4c6e3d090c4
size 438003505
|