Edit model card

Vit-GPT2-COCO2017Sample-Flickr8k

This model is a fine-tuned version of NourFakih/image-captioning-Vit-GPT2-Flickr8k on the None dataset. It achieves the following results on the evaluation set:

  • eval_loss: 0.2359
  • eval_rouge1: 40.7947
  • eval_rouge2: 15.3254
  • eval_rougeL: 36.9574
  • eval_rougeLsum: 36.9431
  • eval_gen_len: 11.504
  • eval_runtime: 588.289
  • eval_samples_per_second: 4.25
  • eval_steps_per_second: 1.062
  • epoch: 2.25
  • step: 14000

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
  • train_batch_size: 4
  • eval_batch_size: 4
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 3.0

Framework versions

  • Transformers 4.39.3
  • Pytorch 2.1.2
  • Datasets 2.18.0
  • Tokenizers 0.15.2
Downloads last month
25
Safetensors
Model size
239M params
Tensor type
F32
·
Inference API
Inference API (serverless) does not yet support transformers models for this pipeline type.

Model tree for NourFakih/Vit-GPT2-COCO2017Sample-Flickr8k