CoolFace
Modelpublic

philschmid/MiniLMv2-L12-H384-sst2

sourceHugging Faceupdated 4y agoView on Hugging Face
0likes36downloads
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. -->

MiniLMv2-L12-H384-sst2

This model is a fine-tuned version of nreimers/MiniLMv2-L12-H384-distilled-from-RoBERTa-Large on the glue dataset. It achieves the following results on the evaluation set:

  • Loss: 0.2195
  • Accuracy: 0.9209

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: 3e-05
  • trainbatchsize: 32
  • evalbatchsize: 32
  • seed: 42
  • distributedtype: sagemakerdata_parallel
  • num_devices: 8
  • totaltrainbatch_size: 256
  • totalevalbatch_size: 256
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • lrschedulerwarmup_steps: 500
  • num_epochs: 4
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
0.55761.02640.26900.8979
0.28542.05280.20770.9117
0.21583.07920.21950.9209
0.17894.010560.22600.9163

Framework versions

  • Transformers 4.17.0
  • Pytorch 1.10.2+cu113
  • Datasets 1.18.4
  • Tokenizers 0.11.6