CoolFace
Modelpublic

TuringGame/gpt2-classifier

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes6downloads
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-classifier

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

  • —Loss: 0.3035
  • —Accuracy: 0.8660
  • —F1: 0.7584

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: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 2

Training results

Training LossEpochStepValidation LossAccuracyF1
No log004.53050.25360.4046
No log0.2020790.42430.80550.6281
No log0.40411580.38720.82130.6884
No log0.60612370.35440.85450.7363
No log0.80823160.32200.85880.7278
No log1.01023950.33210.85160.7392
No log1.21234740.31210.87460.7655
0.44991.41435530.29340.87900.7717
0.44991.61646320.31840.86020.7544
0.44991.81847110.30350.86600.7584

Framework versions

  • —Transformers 4.54.0
  • —Pytorch 2.6.0+cu124
  • —Datasets 4.0.0
  • —Tokenizers 0.21.2