CoolFace
Modelpublic

Image-Captioning-ML/Vit-GPT2-COCO2017Flickr-115k-nlpconnect

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes13downloads
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. -->

Vit-GPT2-COCO2017Flickr-115k-nlpconnect

This model is a fine-tuned version of NourFakih/Vit-GPT2-COCO2017Flickr-115k-nlpconnect on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.4978
  • —Rouge1: 40.7656
  • —Rouge2: 15.3367
  • —Rougel: 36.9775
  • —Rougelsum: 36.9808
  • —Gen Len: 11.8545

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: 5e-05
  • —trainbatchsize: 4
  • —evalbatchsize: 4
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 16
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 3.0

Training results

Training LossEpochStepGen LenValidation LossRouge1Rouge2RougelRougelsum
0.42180.2783200011.70010.440240.837415.097136.925836.9122
0.40710.5565400011.27420.435341.178515.754337.518337.5112
0.39140.8348600011.73670.434541.442515.99137.538737.5422
0.33671.1130800011.84340.448141.067715.860937.399137.3749
0.32651.39131000011.66950.451841.324316.107737.547837.5367
0.31581.66961200011.71700.455641.302215.915437.394337.3924
0.30941.94791400011.59690.460241.41116.133837.631337.6262
0.26392.22621600011.83490.487140.840215.418236.930236.9355
0.25152.5045180000.494041.011615.440737.002637.018811.8727
0.2532.7827200000.497840.765615.336736.977536.980811.8545

Framework versions

  • —Transformers 4.42.3
  • —Pytorch 2.1.2
  • —Datasets 2.20.0
  • —Tokenizers 0.19.1