CoolFace
Modelpublic

philschmid/tiny-bert-sst2-distilled

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
2likes4.1kdownloads
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. -->

tiny-bert-sst2-distilled

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

  • Loss: 1.7305
  • Accuracy: 0.8326

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

Training results

Training LossEpochStepValidation LossAccuracy
1.771.0661.69390.8165
0.7292.01321.50900.8326
0.52423.01981.53690.8257
0.40174.02641.70250.8326
0.3275.03301.67430.8245
0.27496.03961.73050.8337
0.25217.04621.73050.8326

Framework versions

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