securecommerce/phishing-email-detection-onnx
By securecommerce · ↓ 6 · ♥ 0 · Updated 2025-11-16
What's in this repo
This page lists the files in securecommerce/phishing-email-detection-onnx, including model.onnx and more.
- 2 ONNX models (.onnx files)
- 9 files, including 4 .json, 2 .onnx, 1 .md, 1 .txt
- Last updated 2025-11-16
ONNX files
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
Phishing Email Detection (ONNX)
ONNX-converted version of dima806/phishing-email-detection for use with Transformers.js.
Model Description
DistilBERT model fine-tuned for detecting phishing emails.
- Format: ONNX (converted from PyTorch)
- Task: Binary classification (PHISHING vs LEGITIMATE)
- Accuracy: ~97%+
Usage with Transformers.js
import { pipeline } from '@xenova/transformers';
const classifier = await pipeline(
'text-classification',
'securecommerce/phishing-email-detection-onnx',
{ quantized: true }
);
const result = await classifier(
'Urgent! Verify your account: http://suspicious-link.com'
);
console.log(result);
// [{ label: 'PHISHING', score: 0.98 }]
Labels
LEGITIMATE: Safe emailPHISHING: Phishing attempt
Credits
Original model by dima806
Model info
Created: 2025-11-16
Updated: 2025-11-16
View on Hugging FaceFiles (9)
Related models
More from securecommerce
No other models by this author.