CoolFace
Modelpublic

BanUrsus/gpt2-small-finetuned-codeparrot-ds_nlp-course-chapter7-section5

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes25downloads
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-small-finetuned-codeparrot-ds_nlp-course-chapter7-section5

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

  • —Loss: 1.0606

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: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —gradientaccumulationsteps: 8
  • —totaltrainbatch_size: 256
  • —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
2.56910.0850001.7463
1.68180.15100001.5248
1.53280.23150001.4226
1.45210.31200001.3569
1.39440.38250001.3030
1.34220.46300001.2558
1.29760.54350001.2129
1.25140.61400001.1714
1.20890.69450001.1321
1.17370.77500001.0990
1.14270.84550001.0758
1.12420.92600001.0636
1.11421.0650001.0606

Framework versions

  • —Transformers 4.35.2
  • —Pytorch 1.11.0+cu102
  • —Datasets 2.15.0
  • —Tokenizers 0.15.0