Jerichog0731 antoineedy commited on
Commit
4aee936
·
0 Parent(s):

Duplicate from vidore/vidore_v3_computer_science

Browse files

Co-authored-by: Antoine EDY <antoineedy@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
60
+ pdfs/Introduction_to_Computer_Science.pdf filter=lfs diff=lfs merge=lfs -text
61
+ pdfs/Introduction_to_Python_Programming.pdf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ - config_name: corpus
4
+ features:
5
+ - name: corpus_id
6
+ dtype: int64
7
+ - name: image
8
+ dtype: image
9
+ - name: doc_id
10
+ dtype: string
11
+ - name: markdown
12
+ dtype: string
13
+ - name: page_number_in_doc
14
+ dtype: int64
15
+ splits:
16
+ - name: test
17
+ num_bytes: 522665974
18
+ num_examples: 1360
19
+ download_size: 512886311
20
+ dataset_size: 522665974
21
+ - config_name: documents_metadata
22
+ features:
23
+ - name: file_name
24
+ dtype: string
25
+ - name: doc_id
26
+ dtype: string
27
+ - name: url
28
+ dtype: string
29
+ - name: doc_type
30
+ dtype: string
31
+ - name: doc_language
32
+ dtype: string
33
+ - name: doc_year
34
+ dtype: int64
35
+ - name: visual_types
36
+ list: string
37
+ - name: page_number
38
+ dtype: int64
39
+ - name: license
40
+ dtype: string
41
+ splits:
42
+ - name: test
43
+ num_bytes: 648
44
+ num_examples: 2
45
+ download_size: 5646
46
+ dataset_size: 648
47
+ - config_name: qrels
48
+ features:
49
+ - name: query_id
50
+ dtype: int64
51
+ - name: corpus_id
52
+ dtype: int64
53
+ - name: score
54
+ dtype: int64
55
+ - name: content_type
56
+ list: string
57
+ - name: bounding_boxes
58
+ list:
59
+ - name: annotator
60
+ dtype: int64
61
+ - name: x1
62
+ dtype: int64
63
+ - name: x2
64
+ dtype: int64
65
+ - name: y1
66
+ dtype: int64
67
+ - name: y2
68
+ dtype: int64
69
+ splits:
70
+ - name: test
71
+ num_bytes: 654456
72
+ num_examples: 6294
73
+ download_size: 63107
74
+ dataset_size: 654456
75
+ - config_name: queries
76
+ features:
77
+ - name: query_id
78
+ dtype: int64
79
+ - name: query
80
+ dtype: string
81
+ - name: language
82
+ dtype: string
83
+ - name: query_types
84
+ list: string
85
+ - name: query_format
86
+ dtype: string
87
+ - name: content_type
88
+ list: string
89
+ - name: raw_answers
90
+ list: string
91
+ - name: query_generator
92
+ dtype: string
93
+ - name: query_generation_pipeline
94
+ dtype: string
95
+ - name: source_type
96
+ dtype: string
97
+ - name: query_type_for_generation
98
+ dtype: string
99
+ - name: answer
100
+ dtype: string
101
+ splits:
102
+ - name: test
103
+ num_bytes: 1301852
104
+ num_examples: 1290
105
+ download_size: 419894
106
+ dataset_size: 1301852
107
+ configs:
108
+ - config_name: corpus
109
+ data_files:
110
+ - split: test
111
+ path: corpus/test-*
112
+ - config_name: documents_metadata
113
+ data_files:
114
+ - split: test
115
+ path: documents_metadata/test-*
116
+ - config_name: qrels
117
+ data_files:
118
+ - split: test
119
+ path: qrels/test-*
120
+ - config_name: queries
121
+ data_files:
122
+ - split: test
123
+ path: queries/test-*
124
+ tags:
125
+ - Visual Retrieving
126
+ - Industrial RAG
127
+ - datadesigner
128
+ - vidore
129
+ - arxiv:2601.08620
130
+ task_categories:
131
+ - visual-document-retrieval
132
+ language:
133
+ - en
134
+ license: cc-by-4.0
135
+ ---
136
+
137
+ <center><h1>ViDoRe V3 : Computer Science</h1></center>
138
+
139
+ This dataset, `Computer Science`, is a corpus of `textbooks` from the openstacks website, intended for long-document understanding tasks. It is one of the 10 corpora comprising the **ViDoRe v3 Benchmark**.
140
+
141
+ ## About ViDoRe v3
142
+
143
+ [![arXiv](https://img.shields.io/badge/arXiv-2601.08620-b31b1b.svg?style=for-the-badge)](https://arxiv.org/abs/2601.08620)
144
+
145
+ ViDoRe V3 is our latest benchmark for RAG evaluation on visually-rich documents from real-world applications. It features 10 datasets with, in total, 26,000 pages and 3099 queries, translated into 6 languages. Each query comes with human-verified relevant pages, bounding box annotations for key elements, and a comprehensive combined answer from human annotations.
146
+
147
+ ## Links
148
+
149
+ * **Homepage:** [https://huggingface.co/vidore](https://huggingface.co/vidore)
150
+ * **Collection:** [https://hf.co/collections/vidore/vidore-benchmark-v3](https://hf.co/collections/vidore/vidore-benchmark-v3)
151
+ * **Preprint:** [https://arxiv.org/abs/2601.08620](https://arxiv.org/abs/2601.08620)
152
+ * **Blogpost:** [https://huggingface.co/blog/QuentinJG/introducing-vidore-v3](https://huggingface.co/blog/QuentinJG/introducing-vidore-v3)
153
+ * **Leaderboard:** [https://huggingface.co/spaces/vidore/vidore-leaderboard](https://huggingface.co/spaces/vidore/vidore-leaderboard)
154
+
155
+ ### Dataset Summary
156
+
157
+ This specific dataset (`Computer Science`) contains documents related to textbook classes on computer science.
158
+
159
+ - Description: Consists of two books from the openstacks website
160
+
161
+ - Language: en
162
+
163
+ - Domain: Computer Science
164
+
165
+ - Document Types: TextBooks
166
+
167
+ >[!NOTE]
168
+ > Commit used for end-to-end evaluation: `7b91f10e18b72a763dd17a0c05d66bf985b98f1d`
169
+
170
+ ### Dataset Statistics
171
+
172
+ - Total Documents : 2
173
+ - Total Pages : 1360
174
+ - Total Queries : 1290
175
+ - Queries without counting translations : 215
176
+ - Average number of pages per query : 4.6
177
+
178
+ ### Languages
179
+
180
+ The documents in this dataset are in `english`.
181
+
182
+ ### Queries type
183
+
184
+ ![education_computer_science_en_query_types](https://cdn-uploads.huggingface.co/production/uploads/66e16a677c2eb2da5109fb5c/iWF7kBgJwjk0tuD5lI4xN.png)
185
+
186
+ ### Queries format
187
+
188
+ ![education_computer_science_en_query_formats](https://cdn-uploads.huggingface.co/production/uploads/66e16a677c2eb2da5109fb5c/JgVIhzzOZ1UPPG1QA3aBF.png)
189
+
190
+ ### Content type
191
+
192
+ ![education_computer_science_en_content_types](https://cdn-uploads.huggingface.co/production/uploads/66e16a677c2eb2da5109fb5c/dF8F1J55nsT507sGwLKvs.png)
193
+
194
+ ## Dataset Structure
195
+
196
+ ### 1. Corpus
197
+
198
+ Contains the full collection of documents to be searched.
199
+
200
+ Data instance of a single item from the corpus subset:
201
+
202
+ ```json
203
+ {
204
+ "corpus_id": <int>,
205
+ "image": <PIL.Image>,
206
+ "doc_id": <str>,
207
+ "markdown": <str>,
208
+ "page_number_in_doc": <int>
209
+ }
210
+ ```
211
+
212
+ - **corpus_id** <int> : A unique numerical identifier for the corresponding corpus document.
213
+ - **image** <PIL.Image> : The page
214
+ - **doc_id** <str> : name of the document from where the image was extracted
215
+ - **markdown** <str> : Extracted text from the Image using an OCR pipeline
216
+ - **page_number_in_doc** <int> : Original page number inside the document
217
+
218
+ ### 2. Queries
219
+ Contains set of questions or search queries.
220
+
221
+ Data Instance of a single item from the queries subset:
222
+
223
+
224
+ ```json
225
+ {
226
+ "query_id": <int>,
227
+ "query": <str>,
228
+ "language": <str>,
229
+ "query_types": <List[str]>,
230
+ "query_format": <str>,
231
+ "content_type": <str>,
232
+ "raw_answers": <List[str]>,
233
+ "query_generator": <str>,
234
+ "query_generation_pipeline": <str>,
235
+ "source_type": <str>,
236
+ "query_type_for_generation": <str>,
237
+ "answer": <str>
238
+ }
239
+ ```
240
+
241
+ - **query_id** <int> : A unique numerical identifier for the query.
242
+ - **query** <str> : The actual text of the search question or statement used for retrieval.
243
+ - **language** <str> : The language of the query text.
244
+ - **query_types** <List[str]> : A list of categories or labels describing the query's intent.
245
+ - **query_format** <str> : The syntactic format of the query ("intruction", "keyword" or "question").
246
+ - **content_type** <str> : The type of visual content present images relevant for the query.
247
+ - **raw_answers** <List[str]> : A list of reference answers written by human annotators.
248
+ - **query_generator** <str> : The source or method used to create the query ("human" or "sdg").
249
+ - **query_generation_pipeline** <str> : Type of SDG pipeline used to create the query (if it was not written by humans)
250
+ - **source_type** <str> : "summary" or "image", metadata about the type of information used by the annotation pipeline to create the query
251
+ - **query_type_for_generation** <str> : The specific type requested when the query was generated
252
+ - **answer** <str> : The answer extracted from the source documents, merged from human annotations using an LLM.
253
+
254
+ ### 3. Qrels
255
+ Maps queries to their corresponding relevant documents.
256
+
257
+ Data Instance of a single item for the qrels subset:
258
+ ```json
259
+ {
260
+ "query_id": <int>,
261
+ "corpus_id": <int>,
262
+ "score": <int>,
263
+ "content_type": <str>,
264
+ "bounding_boxes": <List[Tuple[int]]>
265
+ }
266
+ ```
267
+
268
+ - **query_id** <int> : A unique numerical identifier for the query.
269
+ - **corpus_id** <int> : A unique numerical identifier for the corresponding corpus document.
270
+ - **score** <int> : Relevance score for the pair `<query, corpus>`. Can be either 1 (Critically Relevant) or 2 (Fully Relevant):
271
+ - Fully Relevant (2) - The page contains the complete answer.
272
+ - Critically Relevant (1) - The page contains facts or information that are required to answer the query, though additional information is required.
273
+ - **content_type** <str> : The type of visual content present images relevant for the query.
274
+ - **bounding_boxes** <List[Tuple[int]]> : Bounding boxes annotated by humans that indicate which part of the image is relevant to the query.
275
+
276
+ ### 4. Original PDFs
277
+ All the original pdfs used to build the corpus are distributed in the "pdfs" folder of this directory.
278
+
279
+ ## License information
280
+
281
+ All annotations, query-document relevance judgments (qrels), and related metadata generated for this corpus are distributed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
282
+
283
+ The licensing status of the original source documents (the corpus) and any parsed text (`markdown` column in the corpus) are inherited from their respective publishers. The specific license governing each original document is provided in the `documents_metadata["license"]` field of that document's entry.
284
+
285
+ ## Data Privacy and Removal Requests
286
+
287
+ While this dataset is released under open licenses, we respect the privacy of individuals and the ownership of source content. If you are a data subject, author, or publisher and are uncomfortable with the inclusion of your data or documents in this release, please contact us at gautier.viaud@illuin.tech and quentin.mace@illuin.tech. We will promptly review your request.
corpus/test-00000-of-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0de0cecb23bf67ca40bb28df3d3677692f42f03cf538faa533ebe6435c1c3409
3
+ size 228901444
corpus/test-00001-of-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00361cdf2aec14fcf35ec5a00ef63ae9b0c989e2d67417c926a44aeab220b135
3
+ size 283984867
documents_metadata/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f86f8a0e2ecf6e1ba76965d684ec8798cbb7560b34c5308f16256c53c65b3377
3
+ size 5646
pdfs/Introduction_to_Computer_Science.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1003e2a5484f0ef1604fa83cf8176066b156ae686560f72ee48376e341395272
3
+ size 53398130
pdfs/Introduction_to_Python_Programming.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca60aa86a3066f8504eb6e177d16303fcb3e38ff9bd6b07326f4eced94c2f6fc
3
+ size 11572327
pdfs/metadata.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ file_name,doc_id
2
+ Introduction_to_Computer_Science.pdf,Introduction_to_Computer_Science
3
+ Introduction_to_Python_Programming.pdf,Introduction_to_Python_Programming
qrels/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:338306ef0bc1f3d40f1a4cdfe56aaefa04f512e8d003da88a28c423c7d0514ad
3
+ size 63107
queries/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86a800279c12f4a607378fc001e89e1d136d5568580c16cc0356eaa0092676f5
3
+ size 419894