CoolFace
Modelpublic

NasimB/gpt2-cl-length-sampling

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes14downloads
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-cl-length-sampling

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

  • Loss: 5.0276

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.0005
  • trainbatchsize: 64
  • evalbatchsize: 64
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: cosine
  • lrschedulerwarmup_steps: 1000
  • num_epochs: 1
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation Loss
6.48960.15005.9335
5.18030.210005.5576
4.8710.315005.3672
4.65470.420005.2453
4.50860.525005.1611
4.36420.630005.0948
4.24120.735005.0350
4.13260.840004.9978
4.06120.945004.9717
4.02551.050004.9665

Framework versions

  • Transformers 4.26.1
  • Pytorch 1.11.0+cu113
  • Datasets 2.13.0
  • Tokenizers 0.13.3