Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- aisafety
|
| 7 |
+
- onnx
|
| 8 |
+
- confidence
|
| 9 |
+
- risk-classifier
|
| 10 |
+
- offline-ai
|
| 11 |
+
---
|
| 12 |
+
# 🧠 TrustFrame ONNX Modules
|
| 13 |
+
|
| 14 |
+
Pre-trained lightweight models for AI safety:
|
| 15 |
+
|
| 16 |
+
- `confidence_tinybert.onnx` → Estimates confidence score (0.0–1.0)
|
| 17 |
+
- `risk_classifier_distilbert.onnx` → Classifies risk domains (medical, legal, code, financial)
|
| 18 |
+
- `risk_label_map.json` → Maps class IDs to domain names
|
| 19 |
+
|
| 20 |
+
## 📥 Usage
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from onnxruntime import InferenceSession
|
| 24 |
+
|
| 25 |
+
session = InferenceSession("confidence_tinybert.onnx")
|