Team Ai
Modelpublic

Image-Captioning-ML/image-captioning-Vit-GPT2-Flickr8k

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

image-captioning-Vit-GPT2-Flickr8k

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

  • —Loss: 0.4624
  • —Rouge1: 38.4609
  • —Rouge2: 14.1268
  • —Rougel: 35.4304
  • —Rougelsum: 35.391
  • —Gen Len: 12.1355

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
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 3.0

Training results

Training LossEpochStepValidation LossRouge1Rouge2RougelRougelsumGen Len
0.54950.065000.494235.081211.735732.422832.425111.5738
0.49450.1210000.490335.494312.020732.857132.848611.8682
0.49840.1915000.486235.365211.970732.829632.812612.0544
0.47830.2520000.480836.104812.359733.463533.450411.3468
0.47360.3125000.477235.934212.34333.51933.49511.1066
0.46850.3730000.470836.898513.074334.329434.297811.4739
0.46870.4335000.470436.193412.572133.473133.467111.9201
0.47090.4940000.469636.182212.830633.400133.367312.1733
0.45750.5645000.467537.447113.755334.565534.538412.6302
0.44840.6250000.466236.678613.060133.934833.899912.6007
0.45070.6855000.465636.50612.799234.066534.040911.4316
0.44450.7460000.462837.073713.332434.41634.390212.3211
0.45570.865000.459437.334913.163334.470934.450312.2522
0.44510.8770000.460037.338413.569934.672634.655512.0494
0.43810.9375000.458837.616413.785534.846734.808412.1347
0.43570.9980000.457137.204713.434134.338334.312112.2670
0.38691.0585000.461237.68413.692234.991434.972111.3216
0.3771.1190000.461637.261513.205934.337534.332712.3221
0.37361.1795000.460737.210913.138734.392334.363811.8274
0.38011.24100000.461738.003313.756135.243435.241411.6079
0.38161.3105000.459937.345313.62234.649534.63912.2101
0.3771.36110000.461937.299613.458334.377734.352512.3911
0.37451.42115000.460437.544813.384134.578534.553212.2747
0.37851.48120000.456838.076914.008935.074435.060512.3179
0.36751.54125000.458737.628413.827734.783734.761811.8732
0.37311.61130000.455438.43314.146135.675735.668311.4294
0.37311.67135000.454837.906513.752634.909134.891912.1241
0.3711.73140000.454238.406414.213635.484535.467112.1014
0.36151.79145000.455138.069514.104235.16235.142712.1135
0.36871.85150000.455038.197814.124335.310735.282112.2255
0.37111.92155000.453237.66113.60334.760134.746712.1632
0.36851.98160000.451538.572714.534535.585535.558511.9162
0.33332.04165000.462638.465714.472635.643135.611911.9506
0.31292.1170000.466038.200214.068935.185135.174812.3313
0.31552.16175000.467437.891913.9134.916734.915412.4853
0.31342.22180000.464438.157613.937135.048635.025211.9748
0.31672.29185000.465337.851613.902934.795934.784712.5273
0.3222.35190000.467337.988314.012734.866734.84112.4680
0.3122.41195000.464138.461114.23835.446535.41711.9315
0.31732.47200000.465438.147713.916435.114835.090512.4845
0.30812.53205000.464038.715314.328235.704835.692311.8932
0.30932.6210000.463338.293214.096135.273635.230811.8932
0.31542.66215000.463738.070813.737435.072235.05512.1310
0.30962.72220000.463038.372214.04135.284735.242512.2591
0.31012.78225000.462738.637214.296135.511835.481912.2836
0.3092.84230000.462038.359614.039635.328535.312.3281
0.3122.9235000.462338.426814.076835.401535.365612.2208
0.31352.97240000.462438.460914.126835.430435.39112.1355

Framework versions

  • —Transformers 4.39.3
  • —Pytorch 2.1.2
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2