Instructions to use mohsenfayyaz/toxicity-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mohsenfayyaz/toxicity-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mohsenfayyaz/toxicity-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mohsenfayyaz/toxicity-classifier") model = AutoModelForSequenceClassification.from_pretrained("mohsenfayyaz/toxicity-classifier") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 9fc10d19500006ed778afaca16c63ca7bb608c27300a202193be74da9d8e570f
- Size of remote file:
- 438 MB
- SHA256:
- e141176e330758c0e9146b41bf8475f6db9696344a0d4c5135751693e1828bd8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.