Views
No views yet
Developed by Allsafeafrica
A lightweight NLP model built to detect and classify potential cybersecurity threats in textual data across African SMEs, startups, and digital communities.
| Attribute | Detail |
|---|---|
| Framework | transformers, pytorch |
| Base Model | distilbert-base-uncased |
| Fine-tuned On | Synthetic + local African threat incident data |
| Labels | phishing, malware, social-engineering, safe, suspicious |
| Accuracy | ~91.7% on test set |
1from transformers import pipeline
2
3threat_detector = pipeline("text-classification", model="allsafeafrica/cyber-threat-detector-africa")
4
5text = "Your account has been suspended. Click here to verify your identity."
6threat_detector(text)