Datasets:

Languages:
Portuguese
ArXiv:
License:
nicholasKluge commited on
Commit
937be68
·
verified ·
1 Parent(s): fabcde9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +181 -0
README.md CHANGED
@@ -28,4 +28,185 @@ configs:
28
  data_files:
29
  - split: train
30
  path: data/train-*
 
 
 
 
 
 
 
 
 
31
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  data_files:
29
  - split: train
30
  path: data/train-*
31
+ license: other
32
+ language:
33
+ - pt
34
+ pretty_name: ViTucano-Pretrain
35
+ task_categories:
36
+ - image-to-text
37
+ - text-generation
38
+ size_categories:
39
+ - 100K<n<1M
40
  ---
41
+ # ViTucano-Pretrain
42
+
43
+ ## Table of Contents
44
+
45
+ - [Table of Contents](#table-of-contents)
46
+ - [Dataset Description](#dataset-description)
47
+ - [Dataset Summary](#dataset-summary)
48
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
49
+ - [Languages](#languages)
50
+ - [Dataset Structure](#dataset-structure)
51
+ - [Data Instances](#data-instances)
52
+ - [Data Fields](#data-fields)
53
+ - [Data Splits](#data-splits)
54
+ - [Dataset Creation](#dataset-creation)
55
+ - [Curation Rationale](#curation-rationale)
56
+ - [Source Data](#source-data)
57
+ - [Annotations](#annotations)
58
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
59
+ - [Other Known Limitations](#other-known-limitations)
60
+ - [Additional Information](#additional-information)
61
+ - [Dataset Curators](#dataset-curators)
62
+ - [Licensing Information](#licensing-information)
63
+ - [Citation Information](#citation-information)
64
+ - [Aknowlegments](#aknowlegments)
65
+ - [Contributions](#contributions)
66
+
67
+ ## Dataset Description
68
+
69
+ - **Homepage:** https://huggingface.co/datasets/TucanoBR/ViTucano-Pretrain
70
+ - **Repository:** https://huggingface.co/datasets/TucanoBR/ViTucano-Pretrain
71
+ - **Paper:** [Tucano: Advancing Neural Text Generation for Portuguese](https://arxiv.org/abs/2411.07854)
72
+ - **Point of Contact:** [Nk-correa](mailto:[email protected])
73
+
74
+ ### Dataset Summary
75
+
76
+ ViTucano-Pretrain is a translation of the original [liuhaotian/LLaVA-Pretrain](https://huggingface.co/datasets/liuhaotian/LLaVA-Pretrain), obtained via Google's translation API. LLaVA Visual Instruct Pretrain LCS-558K is a subset of the LAION/CC/SBU dataset, filtered with a more balanced concept coverage distribution. This dataset was used to train the **ViTucano**, our first attempt at creating a vision assistant natively pretrained in Portuguese. **ViTucano** is built on top of the [Tucano series](https://arxiv.org/abs/2411.07854) using the LLaVA ([Large Language and Vision Assistant](https://arxiv.org/abs/2304.08485)) methodology.
77
+
78
+ ### Supported Tasks and Leaderboards
79
+
80
+ This dataset can be utilized for tasks involving language modeling and visual instruction tunning.
81
+
82
+ ### Languages
83
+
84
+ Portuguese.
85
+
86
+ ## Dataset Structure
87
+
88
+ ### Data Instances
89
+
90
+ The dataset consists of the following features:
91
+
92
+ - **image:** a PIL image.
93
+ - **id:** an identifier (name of the respective file) for that image.
94
+ - **filepath:** the path to the file in the original folder configuration.
95
+ - **conversations:** a list of dictionaries, where each dictionary represents a message or an entry in a conversation.
96
+ - **blip_caption:** the original BLIP caption.
97
+ - **url:** the url of the corresponding image.
98
+
99
+ ### Data Fields
100
+
101
+ ```python
102
+ {
103
+
104
+ "image": PIL.Image,
105
+ "id": "004539375",
106
+ "filepath": "train/00453/004539375.jpg",
107
+ "conversations": [
108
+ {
109
+ "from": "human",
110
+ "value": "Renderize um resumo claro e conciso da foto.\n<image>"
111
+ },
112
+ {
113
+ "from": "gpt",
114
+ "value": "Selecione móveis de luxo 3 - colchão de espuma de memória de gel de polegada"
115
+ }
116
+ ],
117
+ "blip_caption": "Selecione móveis de luxo 3 - colchão de espuma de memória de gel de polegada",
118
+ "url": "http://ec1.ostkcdn.com/images/products/8111140/P15459545.jpg"
119
+ }
120
+ ```
121
+
122
+ ### Data Splits
123
+
124
+ Available splits are `train`.
125
+
126
+ ```python
127
+ from datasets import load_dataset
128
+
129
+ dataset = load_dataset("TucanoBR/ViTucano-Pretrain", split='train')
130
+
131
+ # If you don't want to download the entire dataset, set streaming to `True`
132
+ dataset = load_dataset("TucanoBR/ViTucano-Pretrain", split='train', streaming=True)
133
+
134
+ ```
135
+
136
+ ## Dataset Creation
137
+
138
+ ### Curation Rationale
139
+
140
+ This dataset is a translation of the original [liuhaotian/LLaVA-Pretrain](https://huggingface.co/datasets/liuhaotian/LLaVA-Pretrain) obtained via Google's translation API.
141
+
142
+ ### Source Data
143
+
144
+ #### Who are the source language producers?
145
+
146
+ All text samples translated from English to Portuguese.
147
+
148
+ ### Annotations
149
+
150
+ #### Annotation process
151
+
152
+ Read this [dataset card](liuhaotian/LLaVA-Pretrain) for more information.
153
+
154
+ #### Who are the annotators?
155
+
156
+ Read this [dataset card](liuhaotian/LLaVA-Pretrain) for more information.
157
+
158
+ ### Considerations for Using the Data
159
+
160
+ **Warning:** This dataset may contain NSFW (Not Safe For Work) content, including explicit images and text captions with offensive, toxic, disturbing, or sensitive language.
161
+
162
+ ### Other Known Limitations
163
+
164
+ This dataset has has been translated using translation engines, potentially resulting in corrupted samples. While useful for quickly converting text between languages, translation engines often struggle with accurately preserving the syntax, semantics, and context of certain languages.
165
+
166
+ ## Additional Information
167
+
168
+ ### Dataset Curators
169
+
170
+ [Nicholas Kluge Corrêa](mailto:[email protected]).
171
+
172
+ ### Licensing Information
173
+
174
+ Users of this dataset must comply with license of [CC-3M](https://github.com/google-research-datasets/conceptual-captions/blob/master/LICENSE) and [BLIP](https://github.com/salesforce/BLIP/blob/main/LICENSE.txt) (if you use their synthetic caption).
175
+
176
+ ### Citation Information
177
+
178
+ ```latex
179
+
180
+ @misc{correa20204vitucano,
181
+ author={Corr{\^e}a, Nicholas Kluge and Sen, Aniket and Falk, Sophia and Fatimah, Shiza},
182
+ title={{ViTucano: A Portuguese Vision Assitant}},
183
+ year=2024,
184
+ howpublished = {\url{https://huggingface.co/TucanoBR}},
185
+ }
186
+
187
+ @misc{correa2024tucanoadvancingneuraltext,
188
+ title={{Tucano: Advancing Neural Text Generation for Portuguese}},
189
+ author={Corr{\^e}a, Nicholas Kluge and Sen, Aniket and Falk, Sophia and Fatimah, Shiza},
190
+ year={2024},
191
+ eprint={2411.07854},
192
+ archivePrefix={arXiv},
193
+ primaryClass={cs.CL},
194
+ url={https://arxiv.org/abs/2411.07854},
195
+ }
196
+
197
+ @misc{liu2023llava,
198
+ title={Visual Instruction Tuning},
199
+ author={Liu, Haotian and Li, Chunyuan and Wu, Qingyang and Lee, Yong Jae},
200
+ publisher={NeurIPS},
201
+ year={2023},
202
+ }
203
+
204
+ ```
205
+
206
+ ### Aknowlegments
207
+
208
+ We gratefully acknowledge the granted access to the [Marvin cluster](https://www.hpc.uni-bonn.de/en/systems/marvin) hosted by [University of Bonn](https://www.uni-bonn.de/en) along with the support provided by its High Performance Computing \& Analytics Lab.
209
+
210
+ ### Contributions
211
+
212
+ If you want to contribute, contact me at [[email protected]](mailto:[email protected])!