Text Classification
Transformers
Safetensors
GGUF
Chinese
English
safety
security
llm-guard
qwen3
prompt-injection
agent-safety
content-moderation
guard-model
agentic
guardrails
llm-security
jailbreak-detection
Eval Results (legacy)
conversational
Instructions to use i1see1you/VirbiusGuard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use i1see1you/VirbiusGuard with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="i1see1you/VirbiusGuard")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("i1see1you/VirbiusGuard", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use i1see1you/VirbiusGuard with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf i1see1you/VirbiusGuard:Q4_K_M # Run inference directly in the terminal: llama cli -hf i1see1you/VirbiusGuard:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf i1see1you/VirbiusGuard:Q4_K_M # Run inference directly in the terminal: llama cli -hf i1see1you/VirbiusGuard:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf i1see1you/VirbiusGuard:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf i1see1you/VirbiusGuard:Q4_K_M
Use Docker
docker model run hf.co/i1see1you/VirbiusGuard:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use i1see1you/VirbiusGuard with Ollama:
ollama run hf.co/i1see1you/VirbiusGuard:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use i1see1you/VirbiusGuard with Docker Model Runner:
docker model run hf.co/i1see1you/VirbiusGuard:Q4_K_M
- Lemonade
How to use i1see1you/VirbiusGuard with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull i1see1you/VirbiusGuard:Q4_K_M
Run and chat with the model
lemonade run user.VirbiusGuard-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Remove V1.5 public-benchmark section (WildGuardTest/ToxicChat/XSTest); gold_1000 stands as the eval basis
Browse files- README_en.md +3 -13
README_en.md
CHANGED
|
@@ -40,20 +40,10 @@ miss — and answers in strict JSON you can parse with one line.
|
|
| 40 |
| Output | `{"hit_rule": bool, "triggered_id": str}` — strict JSON, zero post-processing |
|
| 41 |
| Speed | ~1 s / check on CPU |
|
| 42 |
|
| 43 |
-
##
|
| 44 |
|
| 45 |
-
|
| 46 |
-
(the base model frequently breaks strict JSON
|
| 47 |
-
|
| 48 |
-
| Benchmark | Qwen3Guard-Gen-0.6B (base) | **VirbiusGuard V1.5** |
|
| 49 |
-
|---|---|---|
|
| 50 |
-
| WildGuardTest (n=1699) | F1 61.9 | **F1 74.1** (P 62.3 / R 91.4) |
|
| 51 |
-
| ToxicChat (n=5083) | F1 14.4 | **F1 34.3** (P 21.0 / R 94.2) |
|
| 52 |
-
| XSTest (n=450) | F1 60.8 | **F1 91.8** (P 91.5 / R 92.0) |
|
| 53 |
-
|
| 54 |
-
> Public-set F1 numbers above are from the V1.5 release (zero-overlap decontaminated).
|
| 55 |
-
|
| 56 |
-
On our internal gold set (1,000 bilingual samples, strict-caliber labels):
|
| 57 |
|
| 58 |
| Model | acc | recall | FP rate | precision |
|
| 59 |
|---|---|---|---|---|
|
|
|
|
| 40 |
| Output | `{"hit_rule": bool, "triggered_id": str}` — strict JSON, zero post-processing |
|
| 41 |
| Speed | ~1 s / check on CPU |
|
| 42 |
|
| 43 |
+
## Internal gold set (gold_1000)
|
| 44 |
|
| 45 |
+
1,000 bilingual samples with strict-caliber labels; same locked system prompt, greedy decoding,
|
| 46 |
+
parse failure counted as a miss (the base model frequently breaks strict JSON):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
| Model | acc | recall | FP rate | precision |
|
| 49 |
|---|---|---|---|---|
|