Downloads · 30 days
0
ambrosehui/flan-t5-small-phishing-email
flan-t5-small-phishing-email is a text classification model from ambrosehui. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Feb 17, 2026
Repo size
19.4 MB
Likes
0
Public
Click a slice to open those files.
.pt11.2 MB · 51%
From the Hugging Face model README

This repository contains a fine-tuned Flan-T5-Small model designed to identify Phishing and Malicious Emails. By analyzing the linguistic patterns, urgency cues, and structural anomalies of email content, the model classifies inputs as either Legitimate or Phishing.
The model was evaluated against a diverse set of corporate and personal email simulations. The results demonstrate high reliability in filtering dangerous content.
| Predicted: Legitimate | Predicted: Phishing | |
|---|---|---|
| Actual: Legitimate | 702 (True Negative) | 24 (False Positive) |
| Actual: Phishing | 14 (False Negative) | 1125 (True Positive) |
The model achieves an exceptional Recall of 98.77%, missing only 14 out of 1,139 phishing attempts. The low False Positive rate (24 cases) ensures that legitimate communication is rarely interrupted, making this model suitable for a first-pass automated mail filter.
Important: This model is an AI-based heuristic tool and should not be used as the sole defense against cyber threats. It cannot inspect encrypted attachments or analyze the reputation of external URLs. Use this model in combination with SPF/DKIM/DMARC checks and robust endpoint protection.
Due to the input length constraints of Flan-T5-Small, extremely long email threads may be truncated. If the malicious "hook" appears at the very end of a long message, it may be missed during inference.