Text Classification
Transformers
PyTorch
Safetensors
English
deberta
Trained with AutoTrain
social
offensive speech detection
moderation
Instructions to use KoalaAI/HateSpeechDetector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KoalaAI/HateSpeechDetector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KoalaAI/HateSpeechDetector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KoalaAI/HateSpeechDetector") model = AutoModelForSequenceClassification.from_pretrained("KoalaAI/HateSpeechDetector") - Notebooks
- Google Colab
- Kaggle
Commit ·
56fc9a9
1
Parent(s): 3678f0b
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,7 +9,7 @@ language:
|
|
| 9 |
- en
|
| 10 |
widget:
|
| 11 |
- text: I love cake!
|
| 12 |
-
- text:
|
| 13 |
datasets:
|
| 14 |
- tweet_eval
|
| 15 |
co2_eq_emissions:
|
|
|
|
| 9 |
- en
|
| 10 |
widget:
|
| 11 |
- text: I love cake!
|
| 12 |
+
- text: lets build the wall and deport illegals "they walk across the border like this is Central park"
|
| 13 |
datasets:
|
| 14 |
- tweet_eval
|
| 15 |
co2_eq_emissions:
|