Downloads · 30 days
40
10% of all-time downloads
Jazhyc/modernbert-wildguardmix-classifier
modernbert-wildguardmix-classifier is a text classification model from Jazhyc. Use it when you need a label for a piece of text. The card lists the license as mit.
A binary classifier fine-tuned on the WildGuardMix dataset to detect harmful or unsafe prompts. Built on answerdotai/ModernBERT-base with flash attention for efficient inference.
Downloads · 30 days
40
10% of all-time downloads
All-time downloads
421
Public
Parameters
150M
299 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors299 MB · 99%
From the Hugging Face model README
A binary classifier fine-tuned on the WildGuardMix dataset to detect harmful or unsafe prompts.
Built on answerdotai/ModernBERT-base with flash attention for efficient inference.
1 → Harmful / Unsafe0 → Safe / Non-harmful| Metric | Score |
|---|---|
| Accuracy | 95.9% |
| F1 Score | 96.21% |
| Precision | 96.39% |
| Recall | 96.21% |
allenai/wildguardmix (wildguardtrain subset)1e-4 (cosine schedule, 10% warmup)This model is designed for binary classification of text prompts as:
⚠️ Disclaimer:
This model should not be deployed in production systems without additional evaluation and alignment with domain-specific safety and ethical guidelines.