File size: 4,814 Bytes
f266e0a
 
 
 
 
 
 
 
 
4a62d87
f266e0a
b121c7b
f266e0a
3971fdd
f266e0a
3971fdd
7c7df90
40f241e
 
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
f266e0a
3971fdd
9baf099
3971fdd
f266e0a
3971fdd
f266e0a
 
 
10d4c4c
 
3971fdd
10d4c4c
 
 
 
b121c7b
f266e0a
57cd858
f266e0a
57cd858
7c7df90
2213aba
 
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
f266e0a
57cd858
54ca062
57cd858
f266e0a
57cd858
f266e0a
 
 
2213aba
 
57cd858
2213aba
 
 
 
f266e0a
 
a2cdc02
f266e0a
a2cdc02
7c7df90
4cf9879
 
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
f266e0a
a2cdc02
ebcff28
a2cdc02
f266e0a
a2cdc02
f266e0a
 
 
4cf9879
 
a2cdc02
4cf9879
 
 
 
b121c7b
f266e0a
b121c7b
 
 
7c7df90
b8210ff
 
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
f266e0a
b121c7b
cbc1b61
b121c7b
f266e0a
b121c7b
f266e0a
 
 
8967ab4
b8210ff
b121c7b
8967ab4
b8210ff
8967ab4
 
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: text
    dtype: string
  - 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: string
  - name: category
    dtype: string
  - name: num_id
    dtype: string
  splits:
  - name: validation
    num_bytes: 47709976.0
    num_examples: 400
  - name: test
    num_bytes: 11966251.0
    num_examples: 100
  download_size: 56505544
  dataset_size: 59676227.0
- config_name: equation
  features:
  - name: structure
    dtype: string
  - name: image
    dtype: image
  - name: text
    dtype: string
  - 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: string
  - name: category
    dtype: string
  - name: num_id
    dtype: string
  splits:
  - name: validation
    num_bytes: 7868785.0
    num_examples: 400
  - name: test
    num_bytes: 1931108.0
    num_examples: 100
  download_size: 7443287
  dataset_size: 9799893.0
- config_name: plot
  features:
  - name: structure
    dtype: string
  - name: image
    dtype: image
  - name: text
    dtype: string
  - 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: string
  - name: category
    dtype: string
  - name: num_id
    dtype: string
  splits:
  - name: validation
    num_bytes: 12575412.0
    num_examples: 354
  - name: test
    num_bytes: 3503078.0
    num_examples: 89
  download_size: 11020118
  dataset_size: 16078490.0
- config_name: table
  features:
  - name: structure
    dtype: string
  - name: image
    dtype: image
  - name: text
    dtype: string
  - 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: string
  - name: category
    dtype: string
  - name: num_id
    dtype: string
  splits:
  - name: validation
    num_bytes: 40377750.0
    num_examples: 400
  - name: test
    num_bytes: 10871216.0
    num_examples: 100
  download_size: 48373023
  dataset_size: 51248966.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