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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (499980c587be7e1d113115afb7c67d05ace9d9f0) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>593b304
-
Update README.md
Verified signature39a724c
-
Create README.md
d11eb46 -
Upload folder using huggingface_hub
f14c651 -
initial commit
d0cd2be