Text Classification
Transformers
TensorFlow
English
distilbert
tensorflow
Eval Results (legacy)
text-embeddings-inference
Instructions to use will-rads/distilbert-hatespeech-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use will-rads/distilbert-hatespeech-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="will-rads/distilbert-hatespeech-classifier")# Load model directly from transformers import AutoTokenizer, TF_AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("will-rads/distilbert-hatespeech-classifier") model = TF_AutoModelForSequenceClassification.from_pretrained("will-rads/distilbert-hatespeech-classifier") - Notebooks
- Google Colab
- Kaggle