CoolFace
Modelpublic

lightsout19/gpt2-sst2

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes22downloads
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. -->

gpt2-sst2

This model is a fine-tuned version of gpt2 on sst2 dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.3861
  • —Accuracy: 0.9232

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

Training results

Training LossEpochStepValidation LossAccuracy
0.12871.021050.32140.9174
0.11012.042100.33370.9140
0.09143.063150.32000.9140
0.07264.084200.34360.9220
0.0595.0105250.38610.9232

Framework versions

  • —Transformers 4.44.2
  • —Pytorch 2.4.0
  • —Datasets 2.21.0
  • —Tokenizers 0.19.1