CoolFace
Modelpublic

postbot/bert_uncased_L-2_H-768_A-12-mlm-multi-emails-hq

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

bertuncasedL-2H-768A-12-mlm-multi-emails-hq

This model is a fine-tuned version of google/bert_uncased_L-2_H-768_A-12 on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 1.9133
  • —Accuracy: 0.6452

Model description

Small BERT, uncased. 155 MB.

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: 0.0003
  • —trainbatchsize: 8
  • —evalbatchsize: 2
  • —seed: 42
  • —distributed_type: multi-GPU
  • —gradientaccumulationsteps: 16
  • —totaltrainbatch_size: 128
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_ratio: 0.05
  • —num_epochs: 5.0
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
2.30530.991412.17580.6064
2.15561.992822.05870.6237
2.06162.994231.97800.6355
2.00843.995641.93170.6422
1.96214.997051.91330.6452

Framework versions

  • —Transformers 4.27.0.dev0
  • —Pytorch 2.0.0.dev20230129+cu118
  • —Datasets 2.8.0
  • —Tokenizers 0.13.1