Datasets:
File size: 4,348 Bytes
6c0a26b adb9036 6e66f1b 6c0a26b adb9036 6e66f1b adb9036 6e66f1b adb9036 6e66f1b f91f5c8 adb9036 f91f5c8 adb9036 |
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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
---
language:
- pt
size_categories:
- 10K<n<100K
task_categories:
- text-to-image
- image-to-text
- text-generation
pretty_name: nocaps Portuguese Translation
dataset_info:
features:
- name: image
dtype: image
- name: image_coco_url
dtype: string
- name: image_date_captured
dtype: string
- name: image_file_name
dtype: string
- name: image_height
dtype: int32
- name: image_width
dtype: int32
- name: image_id
dtype: int32
- name: image_license
dtype: int8
- name: image_open_images_id
dtype: string
- name: annotations_ids
sequence: int32
- name: annotations_captions
sequence: string
- name: image_domain
dtype: string
splits:
- name: test
num_bytes: 3342886710.0
num_examples: 10600
- name: validation
num_bytes: 1422203749.0
num_examples: 4500
download_size: 4761190122
dataset_size: 4765090459.0
configs:
- config_name: default
data_files:
- split: test
path: data/test-*
- split: validation
path: data/validation-*
---
# 🎉 nocaps Dataset Translation for Portuguese Image Captioning
## 💾 Dataset Summary
nocaps Portuguese Translation, a multimodal dataset for Portuguese image captioning benchmark, each image accompanied by ten 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/nocaps-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=L size=732x1024>,
'image_coco_url': 'https://s3.amazonaws.com/nocaps/val/0013ea2087020901.jpg',
'image_date_captured': '2018-11-06 11:04:33',
'image_file_name': '0013ea2087020901.jpg',
'image_height': 1024,
'image_width': 732,
'image_id': 0,
'image_license': 0,
'image_open_images_id': '0013ea2087020901',
'annotations_ids': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'annotations_captions': [
'Um bebê está parado na frente de uma casa.',
'Uma menina com uma jaqueta branca e sandálias.',
'Uma criança está parada na frente de uma casa.',
'Uma criança está vestindo uma camisa branca e parada em uma calçada lateral.',
'Um garotinho está de fralda e com uma camisa branca.',
'Uma criança usando fralda e sapatos está na calçada.',
'Uma criança veste uma camisa de cor clara durante o dia.',
'Uma criança parada na calçada com uma camisa.',
'Foto em preto e branco de uma menina sorrindo.',
'um bebê fofo está sozinho com camisa branca'
],
'image_domain': 'in-domain'
}
```
### 🗃️ Data Fields
The data instances have the following fields:
- `image`: a `PIL.Image.Image` object containing the image.
- `image_coco_url`: a `str` containing the URL to the original image.
- `image_date_captured`: a `str` representing the date and time when the image was captured.
- `image_file_name`: a `str` containing the name of the image file.
- `image_height`: an `int` representing the height of the image in pixels.
- `image_width`: an `int` representing the width of the image in pixels.
- `image_id`: an `int` containing the unique identifier of the image.
- `image_license`: an `int` representing the license type of the image.
- `image_open_images_id`: a `str` containing the identifier for the image.
- `annotations_ids`: a `list` of `int` containing the unique identifiers of the annotations related to the image.
- `annotations_captions`: a `list` of `str` containing the captions describing the image.
- `image_domain`: a `str` indicating the domain of the image. It can be: `in-domain`, `near-domain` or `out-of-domain`.
## 📋 BibTeX entry and citation info
```bibtex
@misc{bromonschenkel2024nocapspt,
title = {nocaps 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/nocaps-pt-br}},
publisher = {Hugging Face},
year = {2024}
}
``` |