450M open-weight guard by
Eulogik
. One forward pass turns a state plus typed questions into calibrated probabilities: P(prompt-injection), P(jailbreak), P(PII-leak), P(tool-risk). English plus Hinglish plus Hindi. Apache-2.0, self-hosted, $0.
eval/*.json
: raw heldout results.
assets/reliability.png
: reliability diagram.
Loading needs the suraksha package (custom head):
pip install git+https://github.com/eulogik/suraksha
, then
SurakshaAgent(device="mps", checkpoint_path="phase_b.pt")
. See the GitHub README for byte-exact usage, server, scan CLI, and Ollama.
Numbers (measured, frozen heldout n=3058)
Metric
Value
Prompt-injection acc
0.981
Tool-risk acc / macro-F1
1.0 / 1.0
Severity acc
0.984
ECE fitted worst head
0.022
Brier worst head
0.060
Hinglish worst slice
0.926 codeswitch
Banking77 retention
0.391 vs stock 0.378 same setup
Latency b1
88ms MPS / 84ms ONNX CPU
ONNX parity
37/37
Jev figures quoted in docs are third-party published, never measured here. Zero-shot and fine-tuned numbers are never mixed. Trust Card output is a CI-grade credential, not a pentest or legal verdict.
Limits
512-token en context (1024 multi), head-truncate with
truncated:true
. JSON tool calls only for the risk head. Hinglish trails English. ONNX gives parity, no speedup claimed.
suraksha-450m huggingface.co is an AI model on huggingface.co that provides suraksha-450m's model effect (), which can be used instantly with this eulogik suraksha-450m model. huggingface.co supports a free trial of the suraksha-450m model, and also provides paid use of the suraksha-450m. Support call suraksha-450m model through api, including Node.js, Python, http.
suraksha-450m huggingface.co is an online trial and call api platform, which integrates suraksha-450m's modeling effects, including api services, and provides a free online trial of suraksha-450m, you can try suraksha-450m online for free by clicking the link below.
eulogik suraksha-450m online free url in huggingface.co:
suraksha-450m is an open source model from GitHub that offers a free installation service, and any user can find suraksha-450m on GitHub to install. At the same time, huggingface.co provides the effect of suraksha-450m install, users can directly use suraksha-450m installed effect in huggingface.co for debugging and trial. It also supports api for free installation.