Run this model with HF Jobs

Run onnx-community/bert-small-phishing-ONNX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/onnx-community/bert-small-phishing-ONNX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/onnx-community/bert-small-phishing-ONNX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

bert-small-phishing (ONNX)

This is an ONNX version of David-Egea/bert-small-phishing. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js

See the pipeline documentation for text-classification: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.TextClassificationPipeline


bert-small-phishing

This model is a fine-tuned version of prajjwal1/bert-small on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.1006
  • Accuracy: 0.9766
  • Precision: 0.9713
  • Recall: 0.9669
  • F1: 0.9691

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 4
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Accuracy Precision Recall F1
0.202 1.0 762 0.0941 0.9717 0.9728 0.9520 0.9623
0.077 2.0 1524 0.0964 0.9764 0.9757 0.9617 0.9686
0.0428 3.0 2286 0.0992 0.9786 0.9739 0.9695 0.9717
0.0248 4.0 3048 0.1006 0.9766 0.9713 0.9669 0.9691

Framework versions

  • Transformers 4.38.2
  • Pytorch 2.2.1+cu121
  • Datasets 2.18.0
  • Tokenizers 0.15.2
Downloads last month
59
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for onnx-community/bert-small-phishing-ONNX

Quantized
(1)
this model

Dataset used to train onnx-community/bert-small-phishing-ONNX

Space using onnx-community/bert-small-phishing-ONNX 1