File size: 4,855 Bytes
f266e0a
 
 
 
 
 
 
 
 
4a62d87
f266e0a
b121c7b
f266e0a
3971fdd
f266e0a
3971fdd
7c7df90
3971fdd
 
 
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
 
 
f266e0a
3971fdd
f266e0a
 
 
3971fdd
 
 
 
 
 
 
b121c7b
f266e0a
57cd858
f266e0a
57cd858
7c7df90
57cd858
 
 
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
 
 
f266e0a
57cd858
f266e0a
 
 
57cd858
 
 
 
 
 
 
f266e0a
 
a2cdc02
f266e0a
a2cdc02
7c7df90
a2cdc02
 
 
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
 
 
f266e0a
a2cdc02
f266e0a
 
 
a2cdc02
 
 
 
 
 
 
b121c7b
f266e0a
b121c7b
 
 
7c7df90
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
 
 
f266e0a
b121c7b
f266e0a
 
 
b121c7b
 
 
 
 
 
 
f266e0a
b121c7b
 
 
 
3971fdd
 
f266e0a
 
 
 
57cd858
 
f266e0a
 
 
 
a2cdc02
 
b121c7b
f266e0a
 
b121c7b
 
 
f266e0a
 
 
 
 
 
 
 
 
 
000d34c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
---
language:
- en
license: apache-2.0
size_categories:
- 1K<n<10K
task_categories:
- question-answering
- visual-question-answering
pretty_name: Image2Structure - Latex
dataset_info:
- config_name: algorithm
  features:
  - name: structure
    dtype: string
  - name: image
    dtype: image
  - name: __index_level_0__
    dtype: int64
  - name: download_url
    dtype: string
  - name: instance_name
    dtype: string
  - name: date
    dtype: string
  - name: additional_info
    dtype: string
  - name: date_scrapped
    dtype: string
  - name: file_filters
    dtype: string
  - name: compilation_info
    dtype: string
  - name: rendering_filters
    dtype: string
  - name: assets
    sequence: 'null'
  - name: category
    dtype: string
  - name: num_id
    dtype: string
  splits:
  - name: validation
    num_bytes: 26011840.0
    num_examples: 224
  - name: test
    num_bytes: 5904093.0
    num_examples: 56
  download_size: 30447143
  dataset_size: 31915933.0
- config_name: equation
  features:
  - name: structure
    dtype: string
  - name: image
    dtype: image
  - name: __index_level_0__
    dtype: int64
  - name: download_url
    dtype: string
  - name: instance_name
    dtype: string
  - name: date
    dtype: string
  - name: additional_info
    dtype: string
  - name: date_scrapped
    dtype: string
  - name: file_filters
    dtype: string
  - name: compilation_info
    dtype: string
  - name: rendering_filters
    dtype: string
  - name: assets
    sequence: 'null'
  - name: category
    dtype: string
  - name: num_id
    dtype: string
  splits:
  - name: validation
    num_bytes: 5287873.0
    num_examples: 261
  - name: test
    num_bytes: 1197172.0
    num_examples: 66
  download_size: 5075163
  dataset_size: 6485045.0
- config_name: plot
  features:
  - name: structure
    dtype: string
  - name: image
    dtype: image
  - name: __index_level_0__
    dtype: int64
  - name: download_url
    dtype: string
  - name: instance_name
    dtype: string
  - name: date
    dtype: string
  - name: additional_info
    dtype: string
  - name: date_scrapped
    dtype: string
  - name: file_filters
    dtype: string
  - name: compilation_info
    dtype: string
  - name: rendering_filters
    dtype: string
  - name: assets
    sequence: 'null'
  - name: category
    dtype: string
  - name: num_id
    dtype: string
  splits:
  - name: validation
    num_bytes: 8897613.0
    num_examples: 227
  - name: test
    num_bytes: 2345783.0
    num_examples: 57
  download_size: 8545368
  dataset_size: 11243396.0
- config_name: table
  features:
  - name: structure
    dtype: string
  - name: image
    dtype: image
  - name: __index_level_0__
    dtype: int64
  - name: download_url
    dtype: string
  - name: instance_name
    dtype: string
  - name: date
    dtype: string
  - name: additional_info
    dtype: string
  - name: date_scrapped
    dtype: string
  - name: file_filters
    dtype: string
  - name: compilation_info
    dtype: string
  - name: rendering_filters
    dtype: string
  - name: assets
    sequence: 'null'
  - name: category
    dtype: string
  - name: num_id
    dtype: string
  splits:
  - name: validation
    num_bytes: 24513524.0
    num_examples: 244
  - name: test
    num_bytes: 6607532.0
    num_examples: 61
  download_size: 29757568
  dataset_size: 31121056.0
configs:
- config_name: algorithm
  data_files:
  - split: validation
    path: algorithm/validation-*
  - split: test
    path: algorithm/test-*
- config_name: equation
  data_files:
  - split: validation
    path: equation/validation-*
  - split: test
    path: equation/test-*
- config_name: plot
  data_files:
  - split: validation
    path: plot/validation-*
  - split: test
    path: plot/test-*
- config_name: table
  data_files:
  - split: validation
    path: table/validation-*
  - split: test
    path: table/test-*
tags:
- biology
- finance
- economics
- math
- physics
- computer_science
- electronics
- statistics
---

# Image2Structure - Latex

## Dataset description
We introduce Image2Structure, a dataset to evaluate the capabilities of multimodel models to learn the structure of a document. This subdataset focuses on Latex code. The model is given an image of the expected output with the prompt:
```Prease provide the LaTex code used to generate this image. Only generate the code relevant to what you see. Your code will be surrounded by all the imports necessary as well as the begin and end document delimiters.```
An additional message is added if assets are available:
```
The following assets can be used:
 - assets/cs/1_log.png
 - ...
 ```
 The assets are provided under the assets folder for each subject. The subjects were collected on ArXiv and are: eess, cs, stat, math, physics, econ, q-bio, q-fin.
 
 The dataset is divided in 5 categories:
* equations
* figures
* tables
* algorithms
* code