HuggingFaceFW/fineweb-2
Viewer β’ Updated β’ 4.48B β’ 80.5k β’ 797
How to use Allsafeafrica/GreenGuard-AI-Defender with Adapters:
from adapters import AutoAdapterModel
model = AutoAdapterModel.from_pretrained("undefined")
model.load_adapter("Allsafeafrica/GreenGuard-AI-Defender", set_active=True)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.
Cyber Threat Detector Africa is an AI-powered model designed to:
| 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 |
from transformers import pipeline
threat_detector = pipeline("text-classification", model="allsafeafrica/cyber-threat-detector-africa")
text = "Your account has been suspended. Click here to verify your identity."
threat_detector(text)