Text Classification
Transformers
PyTorch
Safetensors
English
deberta
Trained with AutoTrain
social
offensive speech detection
moderation
Instructions to use KoalaAI/OffensiveSpeechDetector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KoalaAI/OffensiveSpeechDetector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KoalaAI/OffensiveSpeechDetector")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KoalaAI/OffensiveSpeechDetector") model = AutoModelForSequenceClassification.from_pretrained("KoalaAI/OffensiveSpeechDetector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
a48b2a3
1
Parent(s): 9951efa
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,7 +9,7 @@ language:
|
|
| 9 |
- en
|
| 10 |
widget:
|
| 11 |
- text: I love cake!
|
| 12 |
-
- text: I hate
|
| 13 |
datasets:
|
| 14 |
- tweet_eval
|
| 15 |
co2_eq_emissions:
|
|
|
|
| 9 |
- en
|
| 10 |
widget:
|
| 11 |
- text: I love cake!
|
| 12 |
+
- text: I hate that dumb idiot
|
| 13 |
datasets:
|
| 14 |
- tweet_eval
|
| 15 |
co2_eq_emissions:
|