Datasets:
gabrielmotablima
commited on
Commit
•
adb9036
1
Parent(s):
6c0a26b
Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,13 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
dataset_info:
|
3 |
features:
|
4 |
- name: image
|
@@ -42,3 +51,88 @@ configs:
|
|
42 |
- split: validation
|
43 |
path: data/validation-*
|
44 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- pt
|
4 |
+
size_categories:
|
5 |
+
- 10K<n<100K
|
6 |
+
task_categories:
|
7 |
+
- text-to-image
|
8 |
+
- image-to-text
|
9 |
+
- text-generation
|
10 |
+
pretty_name: nocaps Portuguese Translated
|
11 |
dataset_info:
|
12 |
features:
|
13 |
- name: image
|
|
|
51 |
- split: validation
|
52 |
path: data/validation-*
|
53 |
---
|
54 |
+
|
55 |
+
|
56 |
+
# 🎉 nocaps Dataset Translated for Portuguese Image Captioning
|
57 |
+
|
58 |
+
## 💾 Dataset Summary
|
59 |
+
|
60 |
+
nocaps Portuguese Translated, a multimodal dataset for Portuguese image captioning benchmark, each image accompanied by ten descriptive captions
|
61 |
+
that have been generated by human annotators for every individual image. The original English captions were rendered into Portuguese
|
62 |
+
through the utilization of the Google Translator API.
|
63 |
+
|
64 |
+
## 🧑💻 Hot to Get Started with the Dataset
|
65 |
+
|
66 |
+
```python
|
67 |
+
from datasets import load_dataset
|
68 |
+
|
69 |
+
dataset = load_dataset('laicsiifes/nocaps-pt-br')
|
70 |
+
```
|
71 |
+
|
72 |
+
## ✍️ Languages
|
73 |
+
|
74 |
+
The images descriptions in the dataset are in Portuguese.
|
75 |
+
|
76 |
+
## 🧱 Dataset Structure
|
77 |
+
|
78 |
+
### 📝 Data Instances
|
79 |
+
|
80 |
+
An example looks like below:
|
81 |
+
|
82 |
+
```
|
83 |
+
{
|
84 |
+
'image': <PIL.JpegImagePlugin.JpegImageFile image mode=L size=732x1024>,
|
85 |
+
'image_coco_url': 'https://s3.amazonaws.com/nocaps/val/0013ea2087020901.jpg',
|
86 |
+
'image_date_captured': '2018-11-06 11:04:33',
|
87 |
+
'image_file_name': '0013ea2087020901.jpg',
|
88 |
+
'image_height': 1024,
|
89 |
+
'image_width': 732,
|
90 |
+
'image_id': 0,
|
91 |
+
'image_license': 0,
|
92 |
+
'image_open_images_id': '0013ea2087020901',
|
93 |
+
'annotations_ids': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
94 |
+
'annotations_captions': [
|
95 |
+
'Um bebê está parado na frente de uma casa.',
|
96 |
+
'Uma menina com uma jaqueta branca e sandálias.',
|
97 |
+
'Uma criança está parada na frente de uma casa.',
|
98 |
+
'Uma criança está vestindo uma camisa branca e parada em uma calçada lateral.',
|
99 |
+
'Um garotinho está de fralda e com uma camisa branca.',
|
100 |
+
'Uma criança usando fralda e sapatos está na calçada.',
|
101 |
+
'Uma criança veste uma camisa de cor clara durante o dia.',
|
102 |
+
'Uma criança parada na calçada com uma camisa.',
|
103 |
+
'Foto em preto e branco de uma menina sorrindo.',
|
104 |
+
'um bebê fofo está sozinho com camisa branca'
|
105 |
+
],
|
106 |
+
'image_domain': 'in-domain'
|
107 |
+
}
|
108 |
+
```
|
109 |
+
|
110 |
+
### 🗃️ Data Fields
|
111 |
+
|
112 |
+
The data instances have the following fields:
|
113 |
+
|
114 |
+
- `image`: a `PIL.Image.Image` object containing the image.
|
115 |
+
- `image_coco_url`: a `str` containing the URL to the original image.
|
116 |
+
- `image_date_captured`: a `str` representing the date and time when the image was captured.
|
117 |
+
- `image_file_name`: a `str` containing the name of the image file.
|
118 |
+
- `image_height`: an `int` representing the height of the image in pixels.
|
119 |
+
- `image_width`: an `int` representing the width of the image in pixels.
|
120 |
+
- `image_id`: an `int` containing the unique identifier of the image.
|
121 |
+
- `image_license`: an `int` representing the license type of the image.
|
122 |
+
- `image_open_images_id`: a `str` containing the identifier for the image.
|
123 |
+
- `annotations_ids`: a `list` of `int` containing the unique identifiers of the annotations related to the image.
|
124 |
+
- `annotations_captions`: a `list` of `str` containing the captions describing the image.
|
125 |
+
- `image_domain`: a `str` indicating the domain of the image. It can be: `in-domain`, `near-domain` or `out-of-domain`.
|
126 |
+
|
127 |
+
|
128 |
+
## 📋 BibTeX entry and citation info
|
129 |
+
|
130 |
+
```bibtex
|
131 |
+
@misc{bromonschenkel2024nocapspt,
|
132 |
+
title = "nocaps Dataset Translated for Portuguese Image Captioning",
|
133 |
+
author = "Bromonschenkel, Gabriel and Oliveira, Hil{\'a}rio and Paix{\~a}o, Thiago M.",
|
134 |
+
howpublished = "\url{https://huggingface.co/datasets/laicsiifes/nocaps-pt-br}",
|
135 |
+
publisher = {Hugging Face},
|
136 |
+
year = "2024"
|
137 |
+
}
|
138 |
+
```
|