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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signatureAdded link to gradio testing of the model946c094
-
Update config.json
Verified signatureadded "num_labels": 3 right after "architectures".3a17a5a -
Update README.md
Verified signaturefix: correct README front matter0e7f697
-
Correct architecture in config.json to TFDistilBertForSequenceClassification
Verified signature192710c -
Update model card with pipeline_tag, widget examples, and detailed info
Verified signature5e10c5e -
Update README.md
Verified signature9114a26 -
Update README.md
Verified signature0d7efb3 -
Update README.md
Verified signaturea28a3c4 -
Update README.md
Verified signature3e38753 -
Update README.md
Verified signatureeb16ad0 -
Add tokenizer
Verified signature959c220 -
Add 1-epoch head-trained DistilBERT model
Verified signature5df2592 -
initial commit
Verified signatureecb5294