eulogik / suraksha-450m

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: October 09 2026
text-classification

Introduction of suraksha-450m

Model Details of suraksha-450m

SURAKSHA 450M: calibrated guard decision model (prompt-injection + MCP tool-risk, Hinglish, ONNX/CPU, Jev-compatible)

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.

Code and full evals: github.com/eulogik/suraksha . Dataset: eulogik/suraksha-guard-38k . GGUF: eulogik/suraksha-450m-GGUF (74/74 parity, serve with recent llama-server).

What is in this repo
  • phase_b.pt : v2 final guard checkpoint (LoRA r16 + concept bottleneck + head, 7000 steps + 50 RLCD on a Mac mini M4).
  • suraksha-guard.onnx : CPU artifact, 37/37 parity with torch, 84ms per decision.
  • temperatures.json : per-bucket fitted temperatures.
  • 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.

License

Apache-2.0. Base laya (ConvAI Innovations, Apache-2.0). Banking77 rehearsal rows (PolyAI, CC-BY-4.0).

Keywords: prompt injection detector, mcp guard, tool risk classifier, jailbreak detector, pii leak detector, hinglish guardrails, system one model, jev alternative, on-device classifier, apache 2.0 guard.

Runs of eulogik suraksha-450m on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About suraksha-450m huggingface.co Model

More suraksha-450m license Visit here:

https://choosealicense.com/licenses/apache-2.0

suraksha-450m huggingface.co

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 Url

https://huggingface.co/eulogik/suraksha-450m

eulogik suraksha-450m online free

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:

https://huggingface.co/eulogik/suraksha-450m

suraksha-450m install

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.

suraksha-450m install url in huggingface.co:

https://huggingface.co/eulogik/suraksha-450m

Url of suraksha-450m

suraksha-450m huggingface.co Url

Provider of suraksha-450m huggingface.co

eulogik
ORGANIZATIONS

Other API from eulogik

huggingface.co

Total runs: 394
Run Growth: 181
Growth Rate: 45.94%
Updated:October 05 2026
huggingface.co

Total runs: 388
Run Growth: 221
Growth Rate: 56.96%
Updated:October 01 2026
huggingface.co

Total runs: 210
Run Growth: 153
Growth Rate: 72.86%
Updated:September 29 2026
huggingface.co

Total runs: 106
Run Growth: 92
Growth Rate: 86.79%
Updated:September 29 2026
huggingface.co

Total runs: 62
Run Growth: 41
Growth Rate: 66.13%
Updated:September 26 2026
huggingface.co

Total runs: 9
Run Growth: 9
Growth Rate: 100.00%
Updated:October 06 2026