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
Download tokenizer.json from KoalaAI/OffensiveSpeechDetector: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/KoalaAI/OffensiveSpeechDetector/resolve/main/tokenizer.json
- Command line
-
hf download hf://KoalaAI/OffensiveSpeechDetector/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/KoalaAI/OffensiveSpeechDetector/resolve/main/tokenizer.json
2.11 MB
- Xet hash:
- 3a887fd78306fe4860f2691cdc04942c52fe5a6700adc4243e95ac7c109fa18b
- Size of remote file:
- 2.11 MB
- SHA256:
- a2e3a195159c59b909fa8f973664f1aaef9d754c73c8a2f9ca04857a4c5ca024
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.