trustframe-modules / README.md
ciphemic's picture
Update README.md
64ac508 verified
metadata
license: apache-2.0
language:
  - en
tags:
  - aisafety
  - onnx
  - confidence
  - risk-classifier
  - offline-ai

🧠 TrustFrame ONNX Modules

Pre-trained lightweight models for AI safety:

  • confidence_tinybert.onnx β†’ Estimates confidence score (0.0–1.0)
  • risk_classifier_distilbert.onnx β†’ Classifies risk domains (medical, legal, code, financial)
  • risk_label_map.json β†’ Maps class IDs to domain names

πŸ“₯ Usage

from onnxruntime import InferenceSession

session = InferenceSession("confidence_tinybert.onnx")