Team Ai
Modelpublic

xuancoblab2023/tiny-bert-sst2-distilled

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes158downloads
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 an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.4932
  • —Accuracy: 0.7631
  • —Recall: 0.4941
  • —Precision: 0.7071
  • —F1: 0.5817
  • —Mcc: 0.4369

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

Training results

Training LossEpochStepValidation LossAccuracyRecallPrecisionF1Mcc
0.63371.01600.62480.66670.00.00.00.0
0.59022.03200.57290.66120.33180.48790.39500.1775
0.57273.04800.57560.66510.45650.49740.47610.2311
0.56314.06400.55040.69410.24940.59890.35220.2262
0.54865.08000.53040.71760.49180.59210.53730.3396
0.53816.09600.51630.73100.39760.66020.49630.3475
0.5267.011200.50900.74670.58590.62880.60660.4207
0.51498.012800.49710.75840.51760.68110.58820.4297
0.50889.014400.49320.76310.49410.70710.58170.4369

Framework versions

  • —Transformers 4.40.0
  • —Pytorch 2.2.1+cu121
  • —Datasets 2.19.0
  • —Tokenizers 0.19.1