Text Classification
Transformers
PyTorch
Safetensors
English
deberta
Trained with AutoTrain
social
offensive speech detection
moderation
Run this model with HF Jobs
Run KoalaAI/OffensiveSpeechDetector on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/KoalaAI/OffensiveSpeechDetector. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/KoalaAI/OffensiveSpeechDetector on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 pytorch_model.bin from KoalaAI/OffensiveSpeechDetector: direct link, hf CLI and curl.
- Browser
- Download file 557 MB
-
https://huggingface.co/KoalaAI/OffensiveSpeechDetector/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://KoalaAI/OffensiveSpeechDetector/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/KoalaAI/OffensiveSpeechDetector/resolve/main/pytorch_model.bin
557 MB
- Xet hash:
- acdce7fe9725b11812468a6acb2584949e1174f49b9edec4b49ffd9b5bbb66d6
- Size of remote file:
- 557 MB
- SHA256:
- 3d73ab6b7d0c40e6f7c61e34b479bf931ccd7f21a221d43a5755d58b614aa32d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.