Datasets:

ArXiv:
License:
eve commited on
Commit
004bd02
·
verified ·
1 Parent(s): 78a0279

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +127 -5
README.md CHANGED
@@ -1,7 +1,129 @@
1
  ---
2
  license: apache-2.0
3
- task_categories:
4
- - question-answering
5
- language:
6
- - en
7
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ ---
4
+
5
+
6
+
7
+
8
+
9
+ ## **Data Structure**
10
+
11
+ The dataset consists of three major components: **Documents, Multimodal Question Answering (MQA), and Images**. Each component is structured across six different sub-datasets, ensuring a diverse and comprehensive collection of multimodal content.
12
+
13
+ ---
14
+
15
+ ### **1. Document Collection**
16
+ The dataset includes **six JSONL files**, each corresponding to a different data source:
17
+
18
+ | File Name | Description |
19
+ |--------------------|-------------|
20
+ | `doc_wit.jsonl` | Wit-MQA+ documents |
21
+ | `doc_wiki.jsonl` | Wiki-MQA+ documents |
22
+ | `doc_web.jsonl` | Web-MQA+ documents |
23
+ | `doc_arxiv.jsonl` | Arxiv-MQA+ documents |
24
+ | `doc_recipe.jsonl`| Recipe-MQA+ documents |
25
+ | `doc_manual.jsonl`| Manual-MQA+ documents |
26
+
27
+ Each line in these files represents a **single document** with the following fields:
28
+
29
+ #### **Data Format (Example Entry)**
30
+ ```json
31
+ [
32
+ 10004,
33
+ "Amanita bisporigera, renowned as the most toxic North American Amanita mushroom, stands out with its impressive size characterized by a tall, slender stem and a broad white cap. This species thrives in forested areas, often found amidst lush green vegetation and decaying leaves. Its toxic profile is consistent across different fruit bodies, with three subtypes of amatoxin—α-, β-, and γ-amanitin—described, underscoring its dangerous nature.<PIC>",
34
+ [30118192]
35
+ ]
36
+ ```
37
+
38
+ #### **Field Definitions**
39
+ - **`id` (int)**: Unique identifier for the document.
40
+ - **`content` (str)**: The main textual content of the document. If an image is referenced, `<PIC>` is used as a placeholder indicating its position in the text.
41
+ - **`images_list` (list[int])**: A list of **image IDs** associated with the document.
42
+
43
+ ---
44
+
45
+
46
+ ### **2. Multimodal Question Answering (MQA)**
47
+ The **MQA component** consists of **six JSONL files**, each corresponding to a different dataset:
48
+
49
+ | File Name | Description |
50
+ |----------------------|-------------|
51
+ | `wit_mqa.jsonl` | Wit-MQA+ multimodal QA pairs |
52
+ | `wiki_mqa.jsonl` | Wiki-MQA+ multimodal QA pairs |
53
+ | `web_mqa.jsonl` | Web-MQA+ multimodal QA pairs |
54
+ | `arxiv_mqa.jsonl` | Arxiv-MQA+ QA pairs |
55
+ | `recipe_mqa.jsonl` | Recipe-MQA+ QA pairs |
56
+ | `manual_mqa.jsonl` | Manual-MQA+ QA pairs |
57
+
58
+ Each entry contains **a question, provenance documents, a ground truth answer, and image references**.
59
+
60
+ #### **Data Format (Example Entry)**
61
+ ```json
62
+ {
63
+ "id": "WEB_18",
64
+ "question": "Do the Grand Palais and the Petit Palais both feature more than four large pillars around their entrance?",
65
+ "provenance": [10036, 10037],
66
+ "ground_truth": "Yes, both the Grand Palais and the Petit Palais feature more than four large pillars around their entrances. The Petit Palais, located across from the Grand Palais, boasts a grand entrance with six large pillars that complement its classical architecture <PIC>. Meanwhile, the Grand Palais is renowned for its neoclassical façade, highlighted by an impressive main entrance adorned with eight large Corinthian-style pillars, adding to its architectural grandeur <PIC>.",
67
+ "images_list": [30016332, 30234266]
68
+ }
69
+ ```
70
+
71
+ #### **Field Definitions**
72
+ - **`id` (str)**: Unique identifier for the question.
73
+ - **`question` (str)**: The question text.
74
+ - **`provenance` (list[int])**: A list of **document IDs** that serve as supporting evidence for the answer.
75
+ - **`ground_truth` (str)**: The correct answer, which may contain `<PIC>` placeholders indicating relevant images.
76
+ - **`images_list` (list[int])**: A list of **image IDs** directly associated with the answer.
77
+
78
+ ---
79
+
80
+ ### **3. Image Metadata**
81
+ The dataset contains **a collection of images** stored under the directory:
82
+
83
+ ```
84
+ IMAGE/images/
85
+ ```
86
+
87
+ Additionally, metadata about these images is provided in **six JSON files**, corresponding to each dataset:
88
+
89
+ | File Name | Description |
90
+ |----------------------------------|-------------|
91
+ | `wit_imgs_collection.json` | Image metadata from Wit-MQA+ |
92
+ | `wiki_imgs_collection.json` | Image metadata from Web-MQA+ |
93
+ | `web_imgs_collection.json` | Image metadata from Wiki-MQA+ |
94
+ | `arxiv_imgs_collection.json` | Image metadata from Arxiv-MQA+ |
95
+ | `recipe_imgs_collection.json` | Image metadata from Recipe-MQA+ |
96
+ | `manual_imgs_collection.json` | Image metadata from Manual-MQA+ |
97
+
98
+ #### **Data Format (Example Entry)**
99
+ ```json
100
+ {
101
+ "30319793": {
102
+ "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/14/Seoul_World_Cup_Stadium_01.jpg/800px-Seoul_World_Cup_Stadium_01.jpg",
103
+ "image_path": "30319793.jpg",
104
+ "image_caption": "Seoul World Cup Stadium 01 Seoul World Cup Stadium North side Plaza, FC Seoul vs Ulsan Hyundai, 19.August 2017, K League Classic 27 Round"
105
+ }
106
+ }
107
+ ```
108
+
109
+ #### **Field Definitions**
110
+ - **`id` (int)**: Unique identifier for the image.
111
+ - **`image_url` (str)**: The URL where the image is originally sourced from.
112
+ - **`image_path` (str)**: The filename of the image as stored in the dataset.
113
+ - **`image_caption` (str)**: A textual description or caption of the image.
114
+
115
+
116
+
117
+ ---
118
+
119
+
120
+
121
+ ## Contact
122
+ If you have any questions or suggestions, please contact yuqinhan@stu.pku.edu.cn
123
+ ## Citation Information
124
+
125
+ If you use this dataset in your research, please cite the original dataset as follows:
126
+
127
+ ```
128
+
129
+ ```