Downloads · 30 days
13
12% of all-time downloads
securecommerce/phishing-email-detection-onnx
phishing-email-detection-onnx is a text classification model from securecommerce. Use it when you need a label for a piece of text. It is set up for transformers.js.
ONNX-converted version of dima806/phishing-email-detection for use with Transformers.js.
Downloads · 30 days
13
12% of all-time downloads
All-time downloads
105
Public
Repo size
263 MB
Likes
0
Public
Click a slice to open those files.
.onnx526 MB · 100%
From the Hugging Face model README
ONNX-converted version of dima806/phishing-email-detection for use with Transformers.js.
DistilBERT model fine-tuned for detecting phishing emails.
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 }]
LEGITIMATE: Safe emailPHISHING: Phishing attemptOriginal model by dima806