CoolFace
Datasetpublic

laicsiifes/flickr8k-pt-br

🎉 Flickr8K Dataset Translation for Portuguese Image Captioning 💾 Dataset Summary Flickr8K Portuguese Translation, a multimodal dataset for Portuguese image captioning with 8,000 images, each accompanied by five descriptive captions that have been generated by human annotators for every individual image. The original English captions were rendered into Portuguese through the utilization of the Google Translator API. 🧑‍💻 Hot to Get Started with the… See the full description on the dataset page: https://huggingface.co/datasets/laicsiifes/flickr8k-pt-br.

sourceHugging Facemitupdated 1y agoView on Hugging Face
2likes41downloads
Dataset Card

🎉 Flickr8K Dataset Translation for Portuguese Image Captioning

💾 Dataset Summary

Flickr8K Portuguese Translation, a multimodal dataset for Portuguese image captioning with 8,000 images, each accompanied by five descriptive captions that have been generated by human annotators for every individual image. The original English captions were rendered into Portuguese through the utilization of the Google Translator API.

🧑‍💻 Hot to Get Started with the Dataset

python
from datasets import load_dataset

dataset = load_dataset('laicsiifes/flickr8k-pt-br')

✍️ Languages

The images descriptions in the dataset are in Portuguese.

🧱 Dataset Structure

📝 Data Instances

An example looks like below:

{
  'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=500x399>,
  'filename': 'ad5f9478d603fe97.jpg',
  'caption': [
    'Um cachorro preto está correndo atrás de um cachorro branco na neve.',
    'Cachorro preto perseguindo cachorro marrom na neve',
    'Dois cães perseguem um ao outro pelo chão nevado.',
    'Dois cachorros brincam juntos na neve.',
    'Dois cães correndo por um corpo de água baixo.'
  ]
}

🗃️ Data Fields

The data instances have the following fields:

  • image: a PIL.Image.Image object containing image.
  • filename: a str containing name of image file.
  • caption: a list of str containing 5 captions related to image.

✂️ Data Splits

The dataset is partitioned using the Karpathy splitting appoach for Image Captioning (Karpathy and Fei-Fei, 2015).

SplitSamplesAverage Caption Length (Words)
Train6,00010.7 ± 3.8
Validation1,00010.8 ± 3.9
Test1,00010.7 ± 3.8
Total8,00010.7 ± 3.8

📋 BibTeX entry and citation info

bibtex
@misc{bromonschenkel2024flickr8kpt,
  title        = {Flickr8K Dataset Translation for Portuguese Image Captioning},
  author       = {Bromonschenkel, Gabriel and Oliveira, Hil{\'a}rio and Paix{\~a}o, Thiago M.},
  howpublished = {\url{https://huggingface.co/datasets/laicsiifes/flickr8k-pt-br}},
  publisher    = {Hugging Face},
  year         = {2024}
}