Datasets:
gabrielmotablima
commited on
Commit
•
ccdd961
1
Parent(s):
b38af14
Update README.md
Browse files
README.md
CHANGED
@@ -37,4 +37,78 @@ language:
|
|
37 |
pretty_name: Flickr8K Portuguese Translated
|
38 |
size_categories:
|
39 |
- 1K<n<10K
|
40 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
pretty_name: Flickr8K Portuguese Translated
|
38 |
size_categories:
|
39 |
- 1K<n<10K
|
40 |
+
---
|
41 |
+
|
42 |
+
|
43 |
+
# 🎉 Flickr8K Portuguese Translated
|
44 |
+
|
45 |
+
## 💾 Dataset Summary
|
46 |
+
|
47 |
+
Flickr8K Portuguese Translated consists of 8,000 images, each accompanied by five descriptive captions that have been
|
48 |
+
generated by human annotators for every individual image. The original English captions were rendered into Portuguese
|
49 |
+
through the utilization of the Google Translator API.
|
50 |
+
|
51 |
+
## 🧑💻 Hot to Get Started with the Dataset
|
52 |
+
|
53 |
+
```python
|
54 |
+
from datasets import load_dataset
|
55 |
+
|
56 |
+
dataset = load_dataset('laicsiifes/flickr8k-pt-br')
|
57 |
+
```
|
58 |
+
|
59 |
+
## ✍️ Languages
|
60 |
+
|
61 |
+
The images descriptions in the dataset are in Portuguese.
|
62 |
+
|
63 |
+
## 🧱 Dataset Structure
|
64 |
+
|
65 |
+
### 📝 Data Instances
|
66 |
+
|
67 |
+
An example looks like below:
|
68 |
+
|
69 |
+
```
|
70 |
+
{
|
71 |
+
'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=500x333>,
|
72 |
+
'caption':
|
73 |
+
[
|
74 |
+
'Um cachorro preto carrega um brinquedo verde na boca enquanto caminha pela grama.',
|
75 |
+
'Um cachorro preto molhado carrega um brinquedo verde pela grama.',
|
76 |
+
'Um cachorro preto carregando algo pela grama.',
|
77 |
+
'Um cachorro na grama com um item azul na boca.',
|
78 |
+
'Um cachorro preto tem um brinquedo azul na boca.'
|
79 |
+
],
|
80 |
+
'filename': '1026685415.jpg'
|
81 |
+
}
|
82 |
+
```
|
83 |
+
|
84 |
+
### 🗃️ Data Fields
|
85 |
+
|
86 |
+
The data instances have the following fields:
|
87 |
+
|
88 |
+
- `image`: a `PIL.Image.Image` object containing the image.
|
89 |
+
- `caption`: a `list` of `str` containing the 5 captions related to the image.
|
90 |
+
- `filename`: a `str` containing the name of the image file.
|
91 |
+
|
92 |
+
### ✂️ Data Splits
|
93 |
+
|
94 |
+
The dataset is partitioned using the Karpathy splitting appoach for Image Captioning
|
95 |
+
([Karpathy and Fei-Fei, 2015](https://arxiv.org/pdf/1412.2306)).
|
96 |
+
|
97 |
+
|Split|Samples|Average Caption Length (Words)|
|
98 |
+
|:-----------:|:-----:|:--------:|
|
99 |
+
|Train|6,000|12.1 ± 5.1|
|
100 |
+
|Validation|1,000|12.3 ± 5.3|
|
101 |
+
|Test|1,000|12.2 ± 5.4|
|
102 |
+
|Total|8,000|12.1 ± 5.2|
|
103 |
+
|
104 |
+
|
105 |
+
## 📋 BibTeX entry and citation info
|
106 |
+
|
107 |
+
```bibtex
|
108 |
+
@misc{bromonschenkel2024flickr8kpt,
|
109 |
+
title = "Flickr8K Portuguese Translated",
|
110 |
+
author = "Bromonschenkel, Gabriel and Oliveira, Hil{\'a}rio and Paix{\~a}o, Thiago M.",
|
111 |
+
howpublished = "https://huggingface.co/datasets/laicsiifes/flickr8k-pt-br",
|
112 |
+
year = "2024"
|
113 |
+
}
|
114 |
+
```
|