CoolFace
Modelpublic

kaizerBox/gpt2-small-summarization

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes101downloads
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-small-summarization

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

  • Loss: 4.4258

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.001
  • trainbatchsize: 8
  • evalbatchsize: 8
  • seed: 42
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: cosine
  • lrschedulerwarmup_steps: 100
  • num_epochs: 3
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation Loss
5.15681.057624.6058
4.52022.0115254.4583
4.42253.0172864.4258

Framework versions

  • Transformers 4.35.2
  • Pytorch 2.1.0+cu118
  • Datasets 2.15.0
  • Tokenizers 0.15.0