Instructions to use ujjawalsah/bert-toxicity-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ujjawalsah/bert-toxicity-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ujjawalsah/bert-toxicity-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ujjawalsah/bert-toxicity-classifier") model = AutoModelForSequenceClassification.from_pretrained("ujjawalsah/bert-toxicity-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature28cd8e3 -
Update README.md
Verified signature29e78d1 -
Update README.md
Verified signatureb9dc515
-
Update README.md
Verified signature70ded9e -
Update README.md
Verified signaturea75e23b
-
Update README.md
Verified signature0851abe -
Update README.md
Verified signature9e62376 -
Upload tokenizer
Verified signaturefc0e2f9 -
Upload fine-tuned BERT-based toxicity model
Verified signature396fbf9 -
initial commit
Verified signature0f58a3a