CoolFace
Modelpublic

changge29/distilbert_enron_emails

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes5downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

distilbertenronemails

This model is a fine-tuned version of distilbert-base-uncased on an SetFit/enron_spam for Spam Dectection task. It achieves the following results on the evaluation set:

  • —Loss: 0.0522
  • —Accuracy: 0.9935
  • —F1: 0.9936
  • —Precision: 0.9921
  • —Recall: 0.9950

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
  • —trainbatchsize: 16
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 4

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
0.04541.019830.04300.99050.99060.98720.9940
0.0092.039660.05350.9910.99110.99300.9891
0.0053.059490.05220.99350.99360.99210.9950
0.00024.079320.06500.9910.99110.99200.9901

Framework versions

  • —Transformers 4.38.2
  • —Pytorch 2.2.1+cu121
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2