CoolFace
Modelpublic

philschmid/bert-mini-sst2-distilled

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
0likes109downloads
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. -->

bert-mini-sst2-distilled

This model is a fine-tuned version of google/bert_uncased_L-4_H-256_A-4 on the glue dataset. It achieves the following results on the evaluation set:

  • Loss: 1.1792
  • Accuracy: 0.8567

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: 0.00021185586235152412
  • trainbatchsize: 1024
  • evalbatchsize: 1024
  • seed: 33
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 8
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
2.15521.0661.48470.8349
0.84512.01321.34950.8624
0.58643.01981.22570.8532
0.45534.02641.25710.8544
0.37085.03301.21320.8658
0.30866.03961.23700.8589
0.27017.04621.19000.8635
0.2468.05281.17920.8567

Framework versions

  • Transformers 4.12.3
  • Pytorch 1.9.1
  • Datasets 1.15.1
  • Tokenizers 0.10.3