ModernBERT Phishing Detector

Model description

This model is a fine-tuned ModernBERT-base binary sequence classifier for phishing email detection. It takes a full email as input text and predicts whether the email is safe or phishing.

The training backbone is answerdotai/ModernBERT-base, and the final release includes:

  • a fine-tuned PyTorch checkpoint
  • an ONNX export
  • a quantized INT8 ONNX export
  • a calibration file for mapping logits to a user-facing phishing score

Intended use

This model is intended for:

  • phishing detection in email text
  • mobile or backend inference through ONNX Runtime
  • UI risk scoring, such as a 0โ€“10 or 1โ€“10 phishing scale
  • evidence extraction via sentence-level rescoring

This model is not intended for:

  • malware analysis
  • attachment sandboxing
  • URL detonation
  • image/PDF threat inspection
  • general prompt-injection detection
  • fully explainable token-level rationale extraction

Inputs

The model expects a single text string representing the email content.

Example format:

Subject: Urgent Account Notice

Body:
Your account has been locked. Please reply with your password immediately to restore access.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for rudycaz/modernbert-phish-detector

Finetuned
(1148)
this model