Text Classification
PEFT
Safetensors
English
safety
guardrail
constitutional-classifiers
jailbreak-detection
content-moderation
Run this model with HF Jobs
Run EuroSafeAI/EuroSafeGuard-v1 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/EuroSafeAI/EuroSafeGuard-v1. 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/EuroSafeAI/EuroSafeGuard-v1 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 EuroSafeAI/EuroSafeGuard-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use EuroSafeAI/EuroSafeGuard-v1 with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Card: Qwen3.5-9B license; note on the five runs
Browse files34 unmodified lines35363738394060 unmodified lines10110210310410510610734 unmodified lines## Quickstart```pythonfrom eurosafeguard import EuroSafeGuard # pip install "eurosafeguard @ git+https://github.com/EuroSafeAI/EuroSafeGuard"# or download eurosafeguard.py from this repo60 unmodified linesApache-2.0 for our adapters, heads, probe and code. Base models keep their licenses:[Llama 3.1 Community License](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) and[Qwen license](https://huggingface.co/Qwen/Qwen3.5-9B).## Citation34 unmodified lines353637383940414260 unmodified lines10310410510610710810934 unmodified lines## QuickstartThe repo has five input-classifier training runs (`seed=0` to `4`). The paper reports their mean. Runs differ on search attacks (11–48% of PAIR behaviors broken, run 0 is the weakest), so choose one with `seed=k`.```pythonfrom eurosafeguard import EuroSafeGuard # pip install "eurosafeguard @ git+https://github.com/EuroSafeAI/EuroSafeGuard"# or download eurosafeguard.py from this repo60 unmodified linesApache-2.0 for our adapters, heads, probe and code. Base models keep their licenses:[Llama 3.1 Community License](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) and[Apache-2.0 for Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B).## Citation
README.md+3-1