22 · Safety · Open weights
Unsafe turns flagged, safe refusals let through.
cbx-content-safety-detector-68M
Flags unsafe prompts and chatbot replies, while letting safe refusals and ordinary requests through.
Real inputs it was built for.
Not in the hosted Playground yet. Run it from the open weights on Hugging Face.
Ordinary request
Can you help me write a polite email asking my landlord to fix the heating?
Safe refusal
I can't help with getting into someone else's account, but I can walk you through recovering your own.
Benchmark
Measured against the alternative.
Binary F1 at the balanced operating point, Aegis 2.0 test (2,719 prompts and replies)
Full results ↗- cbx-content-safety-detector-68M0.841
- Qwen3Guard-Gen-0.6B, strict0.848
- Qwen3Guard-Gen-0.6B, loose0.832
From the model card
An English content-safety detector for chatbots. Give it a user message, a user message with the assistant's reply, or a reply on its own, and it returns whether the judged text is unsafe (one probability and a decision) and which of 10 harm categories apply. It is made as an output guardrail: it judges the last turn, so a refusal of a harmful request is safe. The unsafe threshold is chosen from three operating points set on validation: balanced (best F1), 5% and 2% (at most about 5% or 2% of safe texts flagged). The default is 5% for the 68M and balanced for the 17M, whose scores sit close to 1.0 so that its 5% and 2% settings miss many unsafe texts.
It has 68.2M parameters: the Ettin encoder 68m fine-tuned on open and generated English safety data. Other sizes: 17M. On a CPU (8 threads, fp32) one short text (38 tokens) takes about 14 ms and a full 1024-token text about 243 ms.
Licence: Apache License, Version 2.0. Read Intended use and disclaimer before using it.
Full results. Every number, from the card.
Aegis 2.0: 2,719 prompts and replies from the Aegis 2.0 test split (NVIDIA), human and LLM-jury labels; 1,418 unsafe.
Safety Guard v3: 1,300 English rows of the Nemotron Safety Guard v3 test split, including jailbreak prompts; 739 unsafe.
Nemotron 3.5: 1,000 English text rows of the Nemotron 3.5 Content Safety test data; 569 unsafe.
Reply only: 1,313 replies from these test splits judged without their prompt; 618 unsafe.
Safe refusals: 200 safe replies to harmful prompts (refusals and safe redirections); only the share flagged applies.
Chatbot: 1,710 customer-facing chatbot prompts and replies written by Claude Sonnet 5.5 on settings kept out of training (veterinary, library, tax service and others), label confirmed by a blind check; 635 unsafe.
Short prompts: 477 short single prompts written by Claude Sonnet 5.5 on domains kept out of training: harmless prompts with alarming words and short harmful requests; 237 unsafe.
Civil Comments: 4,370 comments from the Civil Comments test split (crowd labels: unsafe if toxicity ≥ 0.5, safe if every score < 0.1); 2,371 unsafe.
XSTest: 450 XSTest prompts: 250 safe prompts that sound unsafe and 200 unsafe contrast prompts.
OR-Bench: 1,974 OR-Bench prompts: 1,319 safe prompts that many LLMs refuse (hard-1K) and 655 toxic prompts.
OpenAI moderation eval: 1,653 prompts of the OpenAI moderation evaluation set, unsafe if any category is marked (another policy, so indicative); 511 unsafe.
Binary F1, with the share of safe texts flagged in brackets, at the balanced operating point (best F1 on validation) for our models:
| Model | Aegis 2.0 | Safety Guard v3 | Nemotron 3.5 | Reply only | Safe refusals | Chatbot | Short prompts | Civil Comments | XSTest | OR-Bench | OpenAI moderation eval |
|---|---|---|---|---|---|---|---|---|---|---|---|
| this model (68M) | 0.841 (26.1%) | 0.901 (20.3%) | 0.916 (16.0%) | 0.853 (15.0%) | – (25.0%) | 0.959 (4.1%) | 0.944 (11.2%) | 0.918 (13.7%) | 0.723 (43.6%) | 0.678 (29.3%) | 0.666 (39.8%) |
| 17M (same family) | 0.820 (23.2%) | 0.870 (23.4%) | 0.867 (24.8%) | 0.801 (21.6%) | – (35.5%) | 0.915 (4.4%) | 0.949 (9.2%) | 0.890 (17.8%) | 0.702 (33.2%) | 0.518 (9.4%) | 0.628 (46.6%) |
| Qwen3Guard-Gen-0.6B, strict ("controversial" = unsafe) | 0.848 (28.2%) | 0.908 (18.2%) | 0.908 (16.7%) | 0.836 (7.2%) | – (28.0%) | 0.933 (8.0%) | 0.937 (13.3%) | 0.820 (28.1%) | 0.853 (23.2%) | 0.566 (73.4%) | 0.656 (43.8%) |
| Qwen3Guard-Gen-0.6B, loose ("controversial" = safe) | 0.832 (9.8%) | 0.893 (8.0%) | 0.885 (10.7%) | 0.785 (3.9%) | – (23.0%) | 0.911 (1.9%) | 0.969 (3.8%) | 0.748 (12.7%) | 0.850 (5.6%) | 0.647 (48.5%) | 0.774 (12.7%) |
Qwen3Guard-Gen-0.6B (Qwen, Apache-2.0, 0.75B parameters, a generative guard model) was run by us on the same test texts with its own prompt format; its "controversial" verdict is counted as unsafe (strict) or safe (loose). Its two readings are fixed decisions, while our models can be moved between operating points (next table); the table above shows ours at balanced, their best-F1 point.
Operating points (this model). Each cell: recall on unsafe texts / share of safe texts flagged:
| Test set | balanced | 5% | 2% |
|---|---|---|---|
| Aegis 2.0 | 0.90 / 26.1% | 0.72 / 8.5% | 0.55 / 3.8% |
| Safety Guard v3 | 0.95 / 20.3% | 0.82 / 7.8% | 0.73 / 2.9% |
| Nemotron 3.5 | 0.95 / 16.0% | 0.83 / 6.0% | 0.72 / 3.5% |
| Reply only | 0.87 / 15.0% | 0.69 / 5.6% | 0.54 / 1.9% |
| Safe refusals | – / 25.0% | – / 9.5% | – / 5.0% |
| Chatbot | 0.99 / 4.1% | 0.94 / 0.6% | 0.91 / 0.2% |
| Short prompts | 1.00 / 11.2% | 0.99 / 5.0% | 0.97 / 2.9% |
| Civil Comments | 0.95 / 13.7% | 0.84 / 4.7% | 0.73 / 1.9% |
| XSTest | 0.88 / 43.6% | 0.70 / 14.8% | 0.53 / 4.0% |
| OR-Bench | 0.82 / 29.3% | 0.55 / 10.1% | 0.33 / 4.3% |
| OpenAI moderation eval | 0.94 / 39.8% | 0.84 / 21.4% | 0.72 / 13.7% |
The thresholds were set on a validation set from the same sources as Aegis 2.0, Safety Guard v3 and Nemotron 3.5, so the measured rate on other sets can land above or below the target (lower on chatbot text, higher on XSTest-style prompts).
Categories, macro F1 over the categories present in each set (tuned thresholds, all rows):
| Model | Aegis 2.0 | Safety Guard v3 | Nemotron 3.5 | Reply only | Chatbot | Short prompts | Civil Comments | OpenAI moderation eval |
|---|---|---|---|---|---|---|---|---|
| this model (68M) | 0.635 | 0.619 | 0.608 | 0.580 | 0.636 | 0.684 | 0.763 | 0.486 |
| 17M (same family) | 0.594 | 0.570 | 0.571 | 0.535 | 0.551 | 0.620 | 0.698 | 0.441 |
Know its limits. Before you ship it.
Limitations
- False alarms on alarming-sounding safe prompts. On XSTest 15% of the safe prompts are flagged at the default setting; refusals and sensitive but harmless questions are the usual false alarms. Use
2%where blocking safe text is costly. - Categories are weaker than the decision. Threats and harassment F1 on the human-labelled sets is 0.2–0.5. Use the categories for routing and reporting, not as the only reason to block.
- Labelling policy. Labels follow the Aegis / Nemotron policy, which counts some sensitive topics as unsafe that other policies allow; check the model on your own data and policy.
- Not a complete defence. Some harmful text gets through, especially implicit requests, long role-play and jailbreak prompts, and harm late in a long reply.
- English text only. Expect lower accuracy on other languages, code, images and very long conversations.
Training data
What it learned from.
About 176,000 training texts (in three views: user messages, prompt-and-reply turns and replies alone). Real: the training splits of Aegis 2.0, Nemotron Safety Guard v3 and Nemotron 3.5 (labels from the datasets), Civil Comments and 5,000 OR-Bench-80K prompts relabelled by Claude Haiku 5.5 under our labelling guide (kept only when Haiku agreed with the source label). Generated by Claude Haiku 5.5: chatbot conversations on sensitive and everyday topics, safe and unsafe short prompts, safe partial-help replies to harmful requests, threats and harassment examples, and rewritten harmful prompts, each kept only when a second, blind Claude Haiku 5.5 label agreed with the intended one (Claude Sonnet 5.5 agreed with 98.5% of a sample of kept rows). Safe reply prefixes and reply-only views were added so partial and prompt-less replies are judged too. No test text, and no text matching a test text, was used for training. Thresholds were tuned on the validation set.
2 sizes. Smaller is faster, larger is more accurate.
Run it on your own infrastructure. Open weights on Hugging Face.
Download the model, run it beside your own systems, and talk to us about tuning it to your data.