bert-finetuned-phishing-ONNX

ONNX export of ealvaradob/bert-finetuned-phishing, packaged for the Lemonade router classifier backend (ort-server).

Files

file purpose
model.onnx the exported model (input_ids/attention_mask โ†’ logits)
tokenizer.json the original HuggingFace tokenizer
manifest.json task / labels / normalization for ort-server
export.py the exact script used to produce & validate these files

Validation after export

Exported from source with ๐Ÿค— Optimum and validated against the original PyTorch model on fixtures (ONNX Runtime CPU vs HF): max softmax delta 0.0 (0 = identical).

CPU-EP latency (ONNX Runtime, single input): ~26.38 ms p50 @ 12 tokens.

Reproduce

pip install "optimum[onnxruntime]" transformers torch onnxruntime sentencepiece
python export.py ealvaradob/bert-finetuned-phishing ./out --task text-classification

See validation.json for the recorded parity result.

License

Follows the base model ealvaradob/bert-finetuned-phishing; refer to it for terms.

Downloads last month
25
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for lemonade-sdk/bert-finetuned-phishing-ONNX

Quantized
(2)
this model