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
Commit ·
9951efa
1
Parent(s): 2cc0397
add license info
Browse files38 unmodified lines39404142434438 unmodified linesUsers should carefully consider the purpose, context, and impact of using this model, and take appropriate measures to prevent or mitigate any potential harm. Users should also respect the privacy and consent of the data subjects, and adhere to the relevant laws and regulations in their jurisdictions.## Model Training Info- Problem type: Multi-class Classification38 unmodified lines394041424344454647484950515253545538 unmodified linesUsers should carefully consider the purpose, context, and impact of using this model, and take appropriate measures to prevent or mitigate any potential harm. Users should also respect the privacy and consent of the data subjects, and adhere to the relevant laws and regulations in their jurisdictions.## LicenseThis model is licensed under the CodeML OpenRAIL-M 0.1 license, which is a variant of the BigCode OpenRAIL-M license. This license allows you to freely access, use, modify, and distribute this model and its derivatives, for research, commercial or non-commercial purposes, as long as you comply with the following conditions:- You must include a copy of the license and the original source of the model in any copies or derivatives of the model that you distribute.- You must not use the model or its derivatives for any unlawful, harmful, abusive, discriminatory, or offensive purposes, or to cause or contribute to any social or environmental harm.- You must respect the privacy and consent of the data subjects whose data was used to train or evaluate the model, and adhere to the relevant laws and regulations in your jurisdiction.- You must acknowledge that the model and its derivatives are provided "as is", without any warranties or guarantees of any kind, and that the licensor is not liable for any damages or losses arising from your use of the model or its derivatives.By accessing or using this model, you agree to be bound by the terms of this license. If you do not agree with the terms of this license, you must not access or use this model.## Model Training Info- Problem type: Multi-class Classification
README.md+11