CoolFace
Modelpublic

shubhamgantayat/paper-pretrained-model-gpt2

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. -->

paper-pretrained-model-gpt2

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

  • —Loss: 0.6482

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

Training results

Training LossEpochStepValidation Loss
No log0.98239.4651
No log1.97468.5615
No log2.99707.4620
No log3.98936.4971
No log4.961165.7243
No log5.991405.1366
No log6.971634.6595
No log8.01874.2285
No log8.982103.8841
No log9.972333.5671
No log10.992573.2337
No log11.982802.9197
No log12.963032.6052
No log13.993272.2564
No log14.973501.9214
No log16.03741.5827
No log16.983971.2635
No log17.974200.9987
No log18.994440.7605
No log19.684600.6482

Framework versions

  • —Transformers 4.38.2
  • —Pytorch 2.1.0+cu121
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2