CoolFace
Modelpublic

Ashraf-kasem/gpt2_fine_tune_with_callback_PolynomialDecay

sourceHugging Facemitupdated 4y agoView on Hugging Face
0likes12downloads
Model Card

<!-- This model card has been generated automatically according to the information Keras had access to. You should probably proofread and complete it, then remove this comment. -->

Ashraf-kasem/gpt2finetunewithcallback_PolynomialDecay

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

  • Train Loss: 3.9746
  • Train Accuracy: 0.0063
  • Validation Loss: 4.3079
  • Validation Accuracy: 0.0044
  • Epoch: 2

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:

  • optimizer: {'name': 'Adam', 'learningrate': {'classname': 'PolynomialDecay', 'config': {'initiallearningrate': 5e-05, 'decaysteps': 14676, 'endlearningrate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
  • trainingprecision: mixedfloat16

Training results

Train LossTrain AccuracyValidation LossValidation AccuracyEpoch
4.64200.00924.44450.00560
4.13310.00674.32970.00471
3.97460.00634.30790.00442

Framework versions

  • Transformers 4.25.1
  • TensorFlow 2.9.0
  • Datasets 2.8.0
  • Tokenizers 0.13.2