Downloads · 30 days
5
12% of all-time downloads
SrikanthDongala/toxicity-fast-onnx
toxicity-fast-onnx is a text classification model from SrikanthDongala. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
ONNX-quantized toxicity classifier used by the GuardEx SDK as the Layer-2 fast gate in its safety-classification cascade.
Downloads · 30 days
5
12% of all-time downloads
All-time downloads
41
Public
Repo size
624 MB
Likes
0
Public
Click a slice to open those files.
.onnx624 MB · 99%
From the Hugging Face model README
ONNX-quantized toxicity classifier used by the GuardEx SDK as the Layer-2 fast gate in its safety-classification cascade.
| File | Use |
|---|---|
| model_int8.onnx | INT8 quantized — default, ~3-5x faster |
| model.onnx | FP32 — full precision, use when accuracy matters more than latency |
{0: "neutral", 1: "toxic"}
from guardex import Guard
guard = Guard() # pulls this model on first call, caches under ~/.cache/huggingface