perfecXion/intentguard-healthcare
By perfecXion · ↓ 0 · ♥ 0 · Updated 2026-03-05
What's in this repo
This page lists the files in perfecXion/intentguard-healthcare, including model.onnx.
- 1 ONNX models (.onnx files)
- 10 files, including 5 .json, 1 .md, 1 .onnx, 1 .data, 1 .model
- Last updated 2026-03-05
ONNX files
| File | Size | Download |
|---|---|---|
| model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
IntentGuard — Healthcare (healthcare)
Vertical intent classifier for LLM chatbot guardrails. Classifies user messages as allow, deny, or abstain based on whether they fall within the healthcare domain.
Model Details
- Architecture: DeBERTa-v3-xsmall fine-tuned for 3-way classification
- Format: ONNX (INT8 quantized)
- Version: 1.0
- Vertical: healthcare (Healthcare)
- Publisher: perfecXion.ai
Performance
| Metric | Value |
|---|---|
| Overall Accuracy | N/A |
| Adversarial Accuracy | N/A |
| p99 Latency (CPU) | N/A |
| Model Size | 2.5MB |
Usage
Python (ONNX Runtime)
import onnxruntime as ort
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("perfecXion/intentguard-healthcare")
session = ort.InferenceSession("model.onnx")
inputs = tokenizer("What are mortgage rates?", return_tensors="np")
logits = session.run(None, dict(inputs))[0]
Docker
docker pull ghcr.io/perfecxion/intentguard:healthcare-1.0
docker run -p 8080:8080 ghcr.io/perfecxion/intentguard:healthcare-1.0
curl -X POST http://localhost:8080/v1/classify \
-H "Content-Type: application/json" \
-d '{"messages": [{"role": "user", "content": "What are mortgage rates?"}]}'
pip
pip install intentguard
Core Topics
symptoms, diagnosis, treatment, medications, preventive care, nutrition, mental health, fitness, chronic conditions, surgery, emergency care, health insurance, patient rights, telemedicine
License
Apache 2.0
Model info
Created: 2026-03-05
Updated: 2026-03-05
View on Hugging Face