forked from yecchen/cs245-project-crag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcroissant.json
executable file
·213 lines (213 loc) · 6.76 KB
/
croissant.json
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
{
"@context": {
"@language": "en",
"@vocab": "https://schema.org/",
"citeAs": "cr:citeAs",
"column": "cr:column",
"conformsTo": "dct:conformsTo",
"cr": "http://mlcommons.org/croissant/",
"rai": "http://mlcommons.org/croissant/RAI/",
"data": {
"@id": "cr:data",
"@type": "@json"
},
"dataType": {
"@id": "cr:dataType",
"@type": "@vocab"
},
"dct": "http://purl.org/dc/terms/",
"examples": {
"@id": "cr:examples",
"@type": "@json"
},
"extract": "cr:extract",
"field": "cr:field",
"fileProperty": "cr:fileProperty",
"fileObject": "cr:fileObject",
"fileSet": "cr:fileSet",
"format": "cr:format",
"includes": "cr:includes",
"isLiveDataset": "cr:isLiveDataset",
"jsonPath": "cr:jsonPath",
"key": "cr:key",
"md5": "cr:md5",
"parentField": "cr:parentField",
"path": "cr:path",
"recordSet": "cr:recordSet",
"references": "cr:references",
"regex": "cr:regex",
"repeated": "cr:repeated",
"replace": "cr:replace",
"sc": "https://schema.org/",
"separator": "cr:separator",
"source": "cr:source",
"subField": "cr:subField",
"transform": "cr:transform"
},
"@type": "sc:Dataset",
"name": "CRAG",
"description": "The CRAG dataset is designed to support the development and evaluation of Retrieval-Augmented Generation (RAG) models. It consists of two main types of data:Question Answering Pairs: Pairs of questions and their corresponding answers.Retrieval Contents: Contents for information retrieval to support answer generation.Retrieval contents are divided into two types to simulate practical scenarios for RAG:Web Search Results: For each question, up to 50 full HTML pages are stored, retrieved using the question text as a search query. For Task 1, 5 pages are randomly selected from the top-10 pages. These pages are likely relevant to the question, but relevance is not guaranteed.Mock KGs and APIs: The Mock API is designed to mimic real-world Knowledge Graphs (KGs) or API searches. Given some input parameters, they output relevant results, which may or may not be helpful in answering the user's question.",
"conformsTo": "http://mlcommons.org/croissant/1.0",
"citeAs": "@article{yang2024crag, title={CRAG -- Comprehensive RAG Benchmark}, author={Xiao Yang and Kai Sun and Hao Xin and Yushi Sun and Nikita Bhalla and Xiangsen Chen and Sajal Choudhary and Rongze Daniel Gui and Ziran Will Jiang and Ziyu Jiang and Lingkun Kong and Brian Moran and Jiaqi Wang and Yifan Ethan Xu and An Yan and Chenyu Yang and Eting Yuan and Hanwen Zha and Nan Tang and Lei Chen and Nicolas Scheffer and Yue Liu and Nirav Shah and Rakesh Wanga and Anuj Kumar and Wen-tau Yih and Xin Luna Dong}, year={2024}, eprint={2406.04744}, archivePrefix={arXiv}, primaryClass={cs.CL}}",
"url": "https://gitlab.aicrowd.com/aicrowd/challenges/meta-comprehensive-rag-benchmark-kdd-cup-2024/meta-comphrehensive-rag-benchmark-starter-kit/-/blob/master/docs/dataset.md",
"distribution": [
{
"@type": "cr:FileObject",
"@id": "jsonl-files",
"name": "jsonl-files",
"description": "Dataset for CRAG.",
"contentUrl": "crag_task_1_dev_v3_release.jsonl",
"encodingFormat": "application/jsonlines",
"sha256": "a34d477a16b5687ba4cd699dc809d02116d1945b86f32cfc782e20806fcd5a2a"
}
],
"recordSet": [
{
"@type": "cr:RecordSet",
"@id": "jsonl",
"name": "jsonl",
"field": [
{
"@type": "cr:Field",
"@id": "jsonl/interaction_id",
"name": "interaction_id",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "jsonl-files"
},
"extract": {
"column": "interaction_id"
}
}
},
{
"@type": "cr:Field",
"@id": "jsonl/domain",
"name": "domain",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "jsonl-files"
},
"extract": {
"column": "domain"
}
}
},
{
"@type": "cr:Field",
"@id": "jsonl/split",
"name": "split",
"dataType": "sc:Integer",
"source": {
"fileSet": {
"@id": "jsonl-files"
},
"extract": {
"column": "split"
}
}
},
{
"@type": "cr:Field",
"@id": "jsonl/question_type",
"name": "question_type",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "jsonl-files"
},
"extract": {
"column": "question_type"
}
}
},
{
"@type": "cr:Field",
"@id": "jsonl/static_or_dynamic",
"name": "static_or_dynamic",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "jsonl-files"
},
"extract": {
"column": "static_or_dynamic"
}
}
},
{
"@type": "cr:Field",
"@id": "jsonl/query",
"name": "query",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "jsonl-files"
},
"extract": {
"column": "query"
}
}
},
{
"@type": "cr:Field",
"@id": "jsonl/answer",
"name": "answer",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "jsonl-files"
},
"extract": {
"column": "answer"
}
}
},
{
"@type": "cr:Field",
"@id": "jsonl/query_time",
"name": "query_time",
"dataType": "sc:Date",
"source": {
"fileSet": {
"@id": "jsonl-files"
},
"extract": {
"column": "query_time"
}
}
},
{
"@type": "cr:Field",
"@id": "jsonl/search_results",
"name": "search_results",
"dataType": "sc:Text",
"source": {
"fileSet": {
"@id": "jsonl-files"
},
"extract": {
"column": "search_results"
}
}
},
{
"@type": "cr:Field",
"@id": "jsonl/alt_ans",
"name": "alt_ans",
"dataType": "sc:Text",
"source": {
"fileSet": {
"@id": "jsonl-files"
},
"extract": {
"column": "alt_ans"
}
}
}
]
}
]
}