CoolFace
Modelpublic

gokuls/tiny-bert-sst2-distilled-model

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
0likes47downloads
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-model

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.2592
  • Accuracy: 0.8383

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: 6e-05
  • trainbatchsize: 16
  • evalbatchsize: 16
  • 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
0.53031.042101.25420.8222
0.45032.084201.12600.8211
0.36893.0126301.23250.8234
0.31224.0168401.25330.8337
0.27645.0210501.27260.8337
0.2546.0252601.26090.8337
0.23587.0294701.25920.8383

Framework versions

  • Transformers 4.19.2
  • Pytorch 1.10.1+cu113
  • Datasets 1.15.1
  • Tokenizers 0.12.1