CoolFace
Modelpublic

dvitel/h0-1

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
0likes19downloads
Model Card

h0-1

This model is a fine-tuned version of microsoft/CodeGPT-small-py on hearthstone dataset. GitHub repo. It achieves the following results on the evaluation set:

  • —Loss: 0.3622
  • —Exact Match: 0.1970
  • —Bleu: 0.9193
  • —Codebleu: 0.7686
  • —Chrf: 93.5686

Model description

CodeGPT-small-py fine-tuned on HearthStone dataset for 200 epochs

Intended uses & limitations

HearthStone card code synthesis.

Training and evaluation data

See split of hearthstone dataset

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 2e-05
  • —trainbatchsize: 4
  • —evalbatchsize: 4
  • —seed: 17
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: cosine
  • —num_epochs: 200
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossExact MatchBleuCodebleuChrf
0.248211.9416000.28280.13640.90120.701292.2247
0.020323.8832000.29680.19700.91140.729893.0236
0.008235.8248000.30490.19700.91250.748093.1997
0.004947.7664000.31900.18180.91250.752693.0967
0.003859.780000.32890.18180.91170.734893.1293
0.002471.6496000.33580.19700.91420.755593.0747
0.002283.58112000.33790.19700.91640.764293.2931
0.001395.52128000.34440.21210.91890.770093.4456
0.0009107.46144000.34080.19700.91880.765593.4808
0.0006119.4160000.35220.19700.91770.751093.4061
0.0003131.34176000.35890.21210.91780.761493.3980
0.0002143.28192000.35620.21210.91790.763493.5130
0.0002155.22208000.36240.19700.92080.769993.6707
0.0001167.16224000.36080.19700.91930.770393.6082
0.0001179.1240000.36200.19700.91900.766793.5154
0.0001191.04256000.36220.19700.91930.768693.5686

Framework versions

  • —Transformers 4.24.0
  • —Pytorch 1.13.0
  • —Datasets 2.6.1
  • —Tokenizers 0.13.1