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")# 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
File size: 132 Bytes
177884b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a2e3a195159c59b909fa8f973664f1aaef9d754c73c8a2f9ca04857a4c5ca024
size 2109876
|