TrapCheck 0.6B โ India/UPI scam radar (LoRA fine-tune of Qwen3-0.6B)
Paste an SMS/WhatsApp message โ get a JSON verdict:
{"risk": 0-100, "scam_type": <family|null>, "red_flags": [...], "action": "..."}
Trained on a hand-curated 10-family scam taxonomy (fake KYC expiry, digital arrest, electricity cut-off, lottery/KBC, loan-app blackmail, job scams, courier/customs, OTP harvesting, trading tips, tax/subsidy refunds) in English and Hinglish. 1,729 examples (seeds + base-model paraphrase augmentation).
Results
{"auc": 1.0, "benign_fpr": 0.0, "type_macro_f1": 1.0}
Read these with care: they are computed on the 69 seed messages, which are
also the base of the training corpus โ they validate the pipeline end-to-end
but are memorization-flattered, not generalization numbers. True held-out
evaluation (unseen variants, live traffic) is the next iteration; the eval
harness (src/evaluate.py) scores any checkpoint on the untouched test split.
Design note: benign-FPR is the headline metric โ a detector that flags genuine bank OTP messages trains users to ignore warnings, so false alarms on benign messages are weighted over raw recall.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("kitty1901/trapcheck-0.6b")
model = AutoModelForCausalLM.from_pretrained("kitty1901/trapcheck-0.6b")
# chat template: system = "Reply with ONLY a JSON verdict...", user = the message
Live demo: https://trapcheck.krithidps2003.workers.dev Training: free Kaggle T4 session ยท Data: hand-curated + synthetic augmentation
- Downloads last month
- 453