CoolFace
Modelpublic

GItaf/gpt2-gpt2-TF-weight1-epoch5

sourceHugging Faceupdated 4y agoView on Hugging Face
0likes53downloads
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-gpt2-TF-weight1-epoch5-with-eval

This model is a fine-tuned version of [](https://huggingface.co/) on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 4.9349
  • —Cls loss: 0.9747
  • —Lm loss: 3.9596
  • —Cls Accuracy: 0.8340
  • —Cls F1: 0.8334
  • —Cls Precision: 0.8346
  • —Cls Recall: 0.8340
  • —Perplexity: 52.44

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

Training results

Training LossEpochStepValidation LossCls lossLm lossCls AccuracyCls F1Cls PrecisionCls RecallPerplexity
4.87021.034704.71570.69514.02010.77520.76700.79780.775255.71
4.58562.069404.66690.67973.98680.83520.83330.84060.835253.88
4.41473.0104104.66190.68993.97160.83750.83680.83840.837553.07
4.24794.0138804.83050.86783.96220.84030.83960.84130.840352.57
4.12815.0173504.93490.97473.95960.83400.83340.83460.834052.44

Framework versions

  • —Transformers 4.21.2
  • —Pytorch 1.12.1
  • —Datasets 2.4.0
  • —Tokenizers 0.12.1