Downloads · 30 days
17
38% of all-time downloads
Noman33/hifazat-edge
hifazat-edge is a machine learning model from Noman33. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Hey 👋 I'm Noman. This is the small model inside Safe Pakistan (Hifazat = حفاظت = "protection"), our open-source scam shield for Pakistani SMS and WhatsApp users.
Downloads · 30 days
17
38% of all-time downloads
All-time downloads
45
Public
Repo size
2 GB
Likes
0
Public
Click a slice to open those files.
.gguf986 MB · 100%
From the Hugging Face model README
Hey 👋 I'm Noman. This is the small model inside Safe Pakistan (Hifazat = حفاظت = "protection"), our open-source scam shield for Pakistani SMS and WhatsApp users.
Most scam detectors assume stable internet and English. Pakistan has neither luxury everywhere. So we trained a tiny model that runs locally, offline, on cheap hardware — because a grandmother on a 2G connection in rural Punjab deserves the same protection as a developer in Lahore.
hifazat-edge is Layer 1 of our inference cascade, not a standalone product:
/v1 endpoint)temperature 0.1, max_tokens 220, format: jsonOne message in, one strict JSON out: {"verdict":"scam|suspicious|safe","score":0-100,"confidence":0-100,"type":"","redFlags":[],"explanation_en":"","explanation_roman_ur":"","explanation_urdu":""}
The trilingual explanations matter as much as the verdict — a warning nobody can read protects nobody.
155-message blind hold-out, 3 runs:
eval-holdout.js). Ranges, not point claims — that's our Honesty Doctrine.ollama run hf.co/Noman33/hifazat-edge
App, backend, cascade, evals: https://github.com/cyberNoman/Safe-Pakistan PRs, issues and Roman Urdu samples very welcome. If this model stops even one fake BISP message from emptying one pensioner's account — it did its job. 🇵