Text Classification
Transformers
Safetensors
English
distilbert
toxicity
content-moderation
text-embeddings-inference
Instructions to use wagesj45/toxic-comment-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wagesj45/toxic-comment-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wagesj45/toxic-comment-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("wagesj45/toxic-comment-classifier") model = AutoModelForSequenceClassification.from_pretrained("wagesj45/toxic-comment-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Publish toxic comment classifier
Verified signatureInitial public release with Transformers artifacts, model card, and Apache-2.0 license.a7d2df2