CoolFace
Modelpublic

PFcoding/medicare-gpt2-large

sourceHugging Facemitupdated 3y agoView on Hugging Face
1likes15downloads
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. -->

medicare-gpt2-large

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

  • —Loss: 2.6383

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

Training results

Training LossEpochStepValidation Loss
5.90360.085004.2296
3.75540.1610003.3542
3.24570.2315003.0897
3.0650.3120002.9694
2.9660.3925002.8919
2.89120.4730002.8305
2.83450.5535002.7817
2.78180.6240002.7378
2.73910.745002.7001
2.70520.7850002.6689
2.67690.8655002.6486
2.65990.9460002.6383

Framework versions

  • —Transformers 4.28.0
  • —Pytorch 2.0.1+cu118
  • —Datasets 2.12.0
  • —Tokenizers 0.13.3

Test input samples

diabetes is caused by