IntentGuard โ€” Financial Services (finance)

Vertical intent classifier for LLM chatbot guardrails. Classifies user messages as allow, deny, or abstain based on whether they fall within the finance domain.

Model Details

  • Architecture: DeBERTa-v3-xsmall fine-tuned for 3-way classification
  • Format: ONNX (INT8 quantized)
  • Version: 1.0
  • Vertical: finance (Financial Services)
  • 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-finance")
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:finance-1.0
docker run -p 8080:8080 ghcr.io/perfecxion/intentguard:finance-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

banking, lending, credit, payments, investing, insurance, tax, personal finance, retirement, mortgages, financial planning, budgeting

License

Apache 2.0

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Evaluation results