Text Classification
PEFT
Safetensors
English
safety
guardrail
constitutional-classifiers
jailbreak-detection
content-moderation
Instructions to use EuroSafeAI/EuroSafeGuard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use EuroSafeAI/EuroSafeGuard with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
EuroSafeGuard v1: probe, 5 input-classifier seeds, exchange classifier, thresholds, loader, model card
b8ee2d2 verified Download thresholds/seed2.json from EuroSafeAI/EuroSafeGuard: direct link, hf CLI and curl.
- Browser
- Download file 753 Bytes
-
https://huggingface.co/EuroSafeAI/EuroSafeGuard/resolve/main/thresholds/seed2.json
- Command line
-
hf download hf://EuroSafeAI/EuroSafeGuard/thresholds/seed2.json
-
curl -L -o seed2.json https://huggingface.co/EuroSafeAI/EuroSafeGuard/resolve/main/thresholds/seed2.json
753 Bytes
| { | |
| "probe_mu": -6.815694701503735, | |
| "probe_sd": 3.444286874679132, | |
| "gate_mu": 0.03268957031742354, | |
| "gate_sd": 0.12878089011617874, | |
| "alert_input_thr": 1.0671375889045542, | |
| "exch_thr_1pct": 0.5512292075157089, | |
| "exch_thr_20pct": 0.017514675483107523, | |
| "heads": [ | |
| "CBRN", | |
| "Cyber", | |
| "Harm to Minors", | |
| "Harmful Manipulation", | |
| "Hate Speech", | |
| "Illegal Activities", | |
| "Information Integrity", | |
| "Physical Harm", | |
| "Privacy", | |
| "Self-Harm", | |
| "Sexual Content" | |
| ], | |
| "calibration": "Scores are z-scored on WildChat-clean (6,853 conversations). alert_input_thr: (probe z + gate z)/2 flags 5% of WildChat-clean prompts. exch_thr_1pct / exch_thr_20pct: exchange-classifier max-head probability flagging 1% / 20% of WildChat-clean replies.", | |
| "seed": 2 | |
| } |