Datasets:
File size: 2,956 Bytes
6ad32d6 b38af14 6ad32d6 b38af14 6ad32d6 b38af14 6ad32d6 88b4502 b38af14 6ad32d6 b38af14 223278d b38af14 ccdd961 223278d ccdd961 223278d ccdd961 c8d9aaa ccdd961 39578b9 b1e4a95 b747be5 ccdd961 c8d9aaa ccdd961 223278d a630346 ab0040c d53c5e2 ab0040c ccdd961 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
---
dataset_info:
features:
- name: image
dtype: image
- name: filename
dtype: string
- name: caption
sequence: string
splits:
- name: train
num_bytes: 829880166
num_examples: 6000
- name: test
num_bytes: 136929806
num_examples: 1000
- name: validation
num_bytes: 138076299
num_examples: 1000
download_size: 1102895899
dataset_size: 1104886271
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: test
path: data/test-*
- split: validation
path: data/validation-*
task_categories:
- image-to-text
- text-to-image
- text-generation
language:
- pt
pretty_name: Flickr8K Portuguese Translation
size_categories:
- 1K<n<10K
---
# 🎉 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](https://arxiv.org/pdf/1412.2306)).
|Split|Samples|Average Caption Length (Words)|
|:-----------:|:-----:|:--------:|
|Train|6,000|10.7 ± 3.8|
|Validation|1,000|10.8 ± 3.9|
|Test|1,000|10.7 ± 3.8|
|Total|8,000|10.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}
}
``` |