Instructions to use truglpk3/Qwen3Guard-Router-System with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use truglpk3/Qwen3Guard-Router-System with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Delete router/e2e_system_metrics.txt with huggingface_hub
Browse files
router/e2e_system_metrics.txt
DELETED
|
@@ -1,28 +0,0 @@
|
|
| 1 |
-
| System | Accuracy | Macro F1 | Unsafe Recall | Dec. Cost | Large Usage |
|
| 2 |
-
|--------------------|----------|----------|---------------|-----------|-------------|
|
| 3 |
-
| Always 0.6B | 0.8307 | 0.7491 | 0.8879 | 0.388 | 0.0% |
|
| 4 |
-
| Always 8B | 0.8529 | 0.8084 | 0.8588 | 0.331 | 100.0% |
|
| 5 |
-
| Conf Router (τ=0.90) | 0.8466 | 0.7871 | 0.8806 | 0.345 | 21.7% |
|
| 6 |
-
| Random Router | 0.8409 | 0.7822 | 0.8692 | 0.371 | 49.5% |
|
| 7 |
-
| SafeRoute(Ours) | 0.8455 | 0.7838 | 0.8827 | 0.343 | 10.1% |
|
| 8 |
-
| Oracle Upper Bound | 0.9036 | 0.8746 | 0.9097 | 0.220 | Optimal |
|
| 9 |
-
|
| 10 |
-
Oracle Gap (Absolute): 0.123
|
| 11 |
-
Oracle Gap (%): 56.0%
|
| 12 |
-
|
| 13 |
-
precision recall f1-score support
|
| 14 |
-
|
| 15 |
-
safe 0.7961 0.9778 0.8776 495
|
| 16 |
-
controversial 0.6593 0.5034 0.5709 296
|
| 17 |
-
unsafe 0.9239 0.8827 0.9028 963
|
| 18 |
-
|
| 19 |
-
accuracy 0.8455 1754
|
| 20 |
-
macro avg 0.7931 0.7879 0.7838 1754
|
| 21 |
-
weighted avg 0.8432 0.8455 0.8397 1754
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
Confusion Matrix:
|
| 25 |
-
['safe', 'controversial', 'unsafe']
|
| 26 |
-
[[484 11 0]
|
| 27 |
-
[ 77 149 70]
|
| 28 |
-
[ 47 66 850]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|