Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Japanese
Libraries:
Datasets
pandas
License:
File size: 8,478 Bytes
1ce9d0a
0de2cb3
 
 
 
 
1ce9d0a
f321acc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84abc8a
 
 
 
 
77aebbd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ea5fbd7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
008b3da
 
 
 
 
0031f87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57a4406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a004d44
 
 
512c97d
 
 
 
 
b160199
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6d23ad5
b160199
6d23ad5
 
1ce9d0a
f321acc
 
 
 
84abc8a
 
77aebbd
 
 
 
ea5fbd7
 
 
 
008b3da
 
0031f87
 
 
 
57a4406
 
 
 
909dc51
 
b160199
 
 
 
1ce9d0a
c858edd
44d9716
c858edd
44d9716
c858edd
29b70ec
c858edd
58918cb
26d78ca
29b70ec
c858edd
 
 
29b70ec
c858edd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44d9716
 
29b70ec
44d9716
29b70ec
44d9716
29b70ec
2ce7efb
44d9716
 
e1fda52
 
 
44d9716
 
 
7fcde30
a2685fe
 
 
d36b9d4
 
7fcde30
58918cb
 
 
 
96da477
 
 
 
58918cb
 
 
adab589
 
58918cb
 
 
 
 
 
 
 
 
 
 
29b70ec
44d9716
29b70ec
58918cb
 
 
 
a2d56eb
58918cb
a2d56eb
58918cb
 
e1fda52
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
---
language:
- ja
license: cc-by-sa-4.0
task_categories:
- question-answering
dataset_info:
- config_name: v1
  features:
  - name: qid
    dtype: string
  - name: type
    dtype: string
  - name: question
    dtype: string
  - name: answer
    dtype: string
  - name: derivations
    list:
    - name: '0'
      dtype: string
    - name: '1'
      dtype: string
    - name: '2'
      sequence: string
  - name: page_ids
    sequence: string
  - name: time_dependent
    dtype: bool
  splits:
  - name: train
    num_bytes: 336414
    num_examples: 1059
  - name: validation
    num_bytes: 37295
    num_examples: 120
  download_size: 210192
  dataset_size: 373709
- config_name: v1-extended-answers
  features:
  - name: qid
    dtype: string
  - name: type
    dtype: string
  - name: question
    dtype: string
  - name: answers
    sequence: string
  - name: derivations
    list:
    - name: '0'
      dtype: string
    - name: '1'
      dtype: string
    - name: '2'
      sequence: string
  - name: page_ids
    sequence: string
  - name: time_dependent
    dtype: bool
  splits:
  - name: validation
    num_bytes: 37999
    num_examples: 120
  download_size: 28606
  dataset_size: 37999
- config_name: v1.1
  features:
  - name: qid
    dtype: string
  - name: type
    dtype: string
  - name: question
    dtype: string
  - name: answer
    dtype: string
  - name: derivations
    list:
    - name: '0'
      dtype: string
    - name: '1'
      dtype: string
    - name: '2'
      sequence: string
  - name: page_ids
    sequence: string
  - name: time_dependent
    dtype: bool
  splits:
  - name: train
    num_bytes: 336500
    num_examples: 1059
  - name: validation
    num_bytes: 37357
    num_examples: 120
  download_size: 210184
  dataset_size: 373857
- config_name: v1.1-extended-answers
  features:
  - name: qid
    dtype: string
  - name: type
    dtype: string
  - name: question
    dtype: string
  - name: answers
    sequence: string
  - name: derivations
    list:
    - name: '0'
      dtype: string
    - name: '1'
      dtype: string
    - name: '2'
      sequence: string
  - name: page_ids
    sequence: string
  - name: time_dependent
    dtype: bool
  splits:
  - name: validation
    num_bytes: 38061
    num_examples: 120
  download_size: 28624
  dataset_size: 38061
- config_name: v1.2
  features:
  - name: qid
    dtype: string
  - name: type
    dtype: string
  - name: question
    dtype: string
  - name: answer
    dtype: string
  - name: derivations
    list:
    - name: '0'
      dtype: string
    - name: '1'
      dtype: string
    - name: '2'
      sequence: string
  - name: page_ids
    sequence: string
  - name: time_dependent
    dtype: bool
  splits:
  - name: train
    num_bytes: 336860
    num_examples: 1059
  - name: validation
    num_bytes: 37389
    num_examples: 120
  download_size: 609248
  dataset_size: 374249
- config_name: v1.2-extended-answers
  features:
  - name: qid
    dtype: string
  - name: type
    dtype: string
  - name: question
    dtype: string
  - name: answers
    sequence: string
  - name: derivations
    list:
    - name: '0'
      dtype: string
    - name: '1'
      dtype: string
    - name: '2'
      sequence: string
  - name: page_ids
    sequence: string
  - name: time_dependent
    dtype: bool
  splits:
  - name: validation
    num_bytes: 38093
    num_examples: 120
  download_size: 28663
  dataset_size: 38093
configs:
- config_name: v1
  data_files:
  - split: train
    path: v1/train-*
  - split: validation
    path: v1/validation-*
- config_name: v1-extended-answers
  data_files:
  - split: validation
    path: v1-extended-answers/validation-*
- config_name: v1.1
  data_files:
  - split: train
    path: v1.1/train-*
  - split: validation
    path: v1.1/validation-*
- config_name: v1.1-extended-answers
  data_files:
  - split: validation
    path: v1.1-extended-answers/validation-*
- config_name: v1.2
  data_files:
  - split: train
    path: v1.2/train-*
  - split: validation
    path: v1.2/validation-*
- config_name: v1.2-extended-answers
  data_files:
  - split: validation
    path: v1.2-extended-answers/validation-*
---

評価スコアの再現性確保と SB Intuitions 修正版の公開用クローン

ソース: [aiishii/JEMHopQA on GitHub](https://github.com/aiishii/JEMHopQA)

# JEMHopQA

> JEMHopQA (Japanese Explainable Multi-hop Question Answering)は、回答導出ステップの情報付きの日本語の根拠情報付きマルチホップQAデータセットです。質問 (Question)を入力として、回答 (Answer)と導出 (Derivation)を生成するタスクです。導出は導出ステップの集合で、半構造化されたエンティティ間の関係表現です。問題は、Wikipediaの2つの記事の情報をリンクさせて答える構成問題 (compositional)と2つの記事の情報を比較して答える比較問題 (comparison)が含まれています。

## Licensing Information

[Creative Commons Attribution Share Alike 4.0 International](https://github.com/aiishii/JEMHopQA/blob/main/LICENSE)

## Citation Information

```
@inproceedings{ishii-etal-2024-jemhopqa-dataset,
    title = "{JEMH}op{QA}: Dataset for {J}apanese Explainable Multi-Hop Question Answering",
    author = "Ishii, Ai  and
      Inoue, Naoya  and
      Suzuki, Hisami  and
      Sekine, Satoshi",
    editor = "Calzolari, Nicoletta  and
      Kan, Min-Yen  and
      Hoste, Veronique  and
      Lenci, Alessandro  and
      Sakti, Sakriani  and
      Xue, Nianwen",
    booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
    month = may,
    year = "2024",
    address = "Torino, Italia",
    publisher = "ELRA and ICCL",
    url = "https://aclanthology.org/2024.lrec-main.831",
    pages = "9515--9525",
}
```

# Subsets

## v1

v1: [JEMHopQA/corpus on GitHub](https://github.com/aiishii/JEMHopQA/tree/main/corpus)

- `qid` (`str`): Unique identifier for each entry in the dataset.
- `type` (`str`): The category of the question ("comparison" or "compositional").
- `question` (`str`): The text of the question.(未 NFKC 正規化)
- `answer` (`str`): The correct answer to the question.(未 NFKC 正規化)
- `derivations` (`dict[str: Any]`): Knowledge triples for reasoning used to arrive at the answer.(未 NFKC 正規化)
- `page_ids` (`list[str]`): Identifiers for related Wikipedia pages.
- `time_dependent` (`bool`): Indicates whether the question/answer is time-sensitive.

オリジナルの JEMHopQA の `derivations` は、<br>
`list[ list[str, str, list[str]], list[str, str, list[str]]] `<br>
という構造になっている。しかし1つのリスト内に str型と list型が混在できない形式の都合、ここでは<br>
`list[{"0": str, "1": str, "2": list[str]}, {"0": str, "1": str, "2": list[str]}]`<br>
という形に修正している。具体的には以下の通り。

[オリジナル](https://github.com/aiishii/JEMHopQA/blob/main/corpus/dev_for_view.json#L7-L22)
```
"derivations": [
["ダンガンロンパ 希望の学園と絶望の高校生", "発売日", ["2010年11月25日"]],
["ファイナルファンタジーXIII", "発売日", ["2009年12月17日"]]
],
```
↓ 修正版(このリポジトリ)
```
"derivations": [
{"0”": "ダンガンロンパ 希望の学園と絶望の高校生", "1": "発売日", "2": ["2010年11月25日"]},
{"0": "ファイナルファンタジーXIII", "1": "発売日", "2": ["2009年12月17日"]}
],
```

## v1-extended-answers

- v1 の `answer` に別解を加え、`answers` (`list[str]`) に拡張したもの
  - e.g., `"カリフォルニア州クパチーノ"` -> `["カリフォルニア州クパチーノ", "アメリカ合衆国カリフォルニア州クパチーノ", "アメリカ合衆国カリフォルニア州クパティーノ", "カリフォルニア州クパティーノ"]`
- split: validation のみ

## v1.1

v1.1: [JEMHopQA/corpus_ver1.1 on GitHub](https://github.com/aiishii/JEMHopQA/tree/main/corpus_ver1.1) 

## v1.1-extended-answers

- v1.1 の `answer` に別解を加え、`answers` (`list[str]`) に拡張したもの
- split: validation のみ

## v1.2

v1.2: [JEMHopQA/corpus_ver1.2 on GitHub](https://github.com/aiishii/JEMHopQA/tree/main/corpus_ver1.2) 

## v1.2-extended-answers

- v1.2 の `answer` に別解を加え、`answers` (`list[str]`) に拡張したもの
- split: validation のみ