CoolFace
Modelpublic

yenanw/npc-dialogue-generator-gpt-2

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

npc-dialogue-generator-gpt-2

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

  • —Loss: 2.0356
  • —Precision: 0.8420
  • —Recall: 0.8635
  • —F1: 0.8526

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: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_steps: 2000
  • —num_epochs: 3

Training results

Training LossEpochStepValidation LossPrecisionRecallF1
15.37360.197010002.45670.81880.84930.8336
2.52310.393920002.28440.82380.85270.8379
2.37960.590930002.19230.83570.85720.8463
2.30960.787940002.15430.83820.85940.8486
2.26720.984850002.12110.83890.86060.8496
2.23881.181860002.09990.84000.86150.8506
2.22021.378870002.08150.84070.86190.8511
2.20231.575780002.06840.84130.86230.8516
2.18971.772790002.05580.84150.86240.8518
2.18081.9697100002.05110.84110.86280.8518
2.17362.1666110002.04440.84160.86320.8522
2.16462.3636120002.03990.84180.86340.8525
2.16462.5606130002.03730.84200.86340.8526
2.16132.7575140002.03640.84190.86350.8525
2.15932.9545150002.03560.84200.86350.8526

Framework versions

  • —PEFT 0.13.2
  • —Transformers 4.45.2
  • —Pytorch 2.5.0+cu124
  • —Datasets 3.0.2
  • —Tokenizers 0.20.1