Text Classification
Transformers
Safetensors
PyTorch
bert
hate-speech-detection
privhsd
glimo
text-embeddings-inference
Instructions to use batinium/glimo-dehatebert-hsd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use batinium/glimo-dehatebert-hsd with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="batinium/glimo-dehatebert-hsd")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("batinium/glimo-dehatebert-hsd") model = AutoModelForSequenceClassification.from_pretrained("batinium/glimo-dehatebert-hsd") - Notebooks
- Google Colab
- Kaggle
batinium/glimo-dehatebert-hsd
Fine-tuned DeHateBERT-style classifier developed during the PrivHSD Challenge for harmful or hate speech detection in the Glimo privacy-preserving pipeline.
- Base model:
Hate-speech-CNERG/dehatebert-mono-english - Default decision threshold:
0.850469 - Intended use: research, moderation assistance, admin triage, and pipeline scoring.
- Not intended use: fully automated enforcement without human review.
Data Statement
Do not publish private challenge samples, raw admin uploads, or generated outputs containing private source text in this repository.
Limitations
The classifier can produce false positives and false negatives, especially for dialectal language, reclaimed terms, counterspeech, quoted speech, contextual ambiguity, and emerging coded language. Model outputs and restatements require human/admin review before consequential action.
Usage
from transformers import pipeline
clf = pipeline("text-classification", model="batinium/glimo-dehatebert-hsd")
print(clf("The comment uses abusive language toward a protected group."))
- Downloads last month
- 21