ONNX Model Zoo

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

File Size Download
model.onnx — Download
onnx/model.onnx — Download

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 email
  • PHISHING: Phishing attempt

Credits

Original model by dima806

Model info

text-classification transformers.js
transformers.js onnx distilbert text-classification phishing-detection email-security en region:us
↓ 6 ♥ 0

Created: 2025-11-16

Updated: 2025-11-16

View on Hugging Face

Files (9)

.gitattributes
README.md
config.json
model.onnx ONNX
onnx/model.onnx ONNX
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.txt

Related models