shunk031 commited on
Commit
81a48c5
·
verified ·
1 Parent(s): bfad947

update README.md

Browse files
Files changed (1) hide show
  1. README.md +386 -11
README.md CHANGED
@@ -1,6 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # Dataset Card for JGLUE
2
 
3
  [![CI](https://github.com/shunk031/huggingface-datasets_JGLUE/actions/workflows/ci.yaml/badge.svg)](https://github.com/shunk031/huggingface-datasets_JGLUE/actions/workflows/ci.yaml)
 
4
 
5
  ## Table of Contents
6
  - [Table of Contents](#table-of-contents)
@@ -34,44 +69,296 @@
34
 
35
  ### Dataset Summary
36
 
 
 
37
  > JGLUE, Japanese General Language Understanding Evaluation, is built to measure the general NLU ability in Japanese. JGLUE has been constructed from scratch without translation. We hope that JGLUE will facilitate NLU research in Japanese.
38
 
39
  > JGLUE has been constructed by a joint research project of Yahoo Japan Corporation and Kawahara Lab at Waseda University.
40
 
41
  ### Supported Tasks and Leaderboards
42
 
43
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  ### Languages
46
 
47
- [More Information Needed]
48
 
49
  ## Dataset Structure
50
 
51
  ### Data Instances
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  ```python
54
  from datasets import load_dataset
55
 
56
  dataset = load_dataset("shunk031/JGLUE", name="JNLI")
57
 
58
  print(dataset)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  ```
61
 
62
  ### Data Fields
63
 
64
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
  ### Data Splits
67
 
68
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
70
  ## Dataset Creation
71
 
72
  ### Curation Rationale
73
 
74
- [More Information Needed]
 
 
75
 
76
  ### Source Data
77
 
@@ -81,17 +368,87 @@ print(dataset)
81
 
82
  #### Who are the source language producers?
83
 
84
- [More Information Needed]
85
 
86
  ### Annotations
87
 
88
  #### Annotation process
89
 
90
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
 
92
  #### Who are the annotators?
93
 
94
- [More Information Needed]
 
 
95
 
96
  ### Personal and Sensitive Information
97
 
@@ -101,7 +458,9 @@ print(dataset)
101
 
102
  ### Social Impact of Dataset
103
 
104
- [More Information Needed]
 
 
105
 
106
  ### Discussion of Biases
107
 
@@ -113,9 +472,25 @@ print(dataset)
113
 
114
  ## Additional Information
115
 
 
 
116
  ### Dataset Curators
117
 
118
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
 
120
  ### Licensing Information
121
 
@@ -153,4 +528,4 @@ print(dataset)
153
 
154
  ### Contributions
155
 
156
- Thanks to [RONDHUIT Co., Ltd.](https://www.rondhuit.com/) for creating this dataset.
 
1
+ ---
2
+ annotations_creators:
3
+ - crowdsourced
4
+ language:
5
+ - ja
6
+ language_creators:
7
+ - crowdsourced
8
+ - found
9
+ license:
10
+ - cc-by-4.0
11
+ multilinguality:
12
+ - monolingual
13
+ pretty_name: JGLUE
14
+ size_categories: []
15
+ source_datasets:
16
+ - original
17
+ tags:
18
+ - MARC
19
+ - STS
20
+ - NLI
21
+ - SQuAD
22
+ - CommonsenseQA
23
+ task_categories:
24
+ - multiple-choice
25
+ - question-answering
26
+ - sentence-similarity
27
+ - text-classification
28
+ task_ids:
29
+ - multiple-choice-qa
30
+ - open-domain-qa
31
+ - multi-class-classification
32
+ - sentiment-classification
33
+ ---
34
+
35
  # Dataset Card for JGLUE
36
 
37
  [![CI](https://github.com/shunk031/huggingface-datasets_JGLUE/actions/workflows/ci.yaml/badge.svg)](https://github.com/shunk031/huggingface-datasets_JGLUE/actions/workflows/ci.yaml)
38
+ [![ACL2020 2020.acl-main.419](https://img.shields.io/badge/LREC2022-2022.lrec--1.317-red)](https://aclanthology.org/2022.lrec-1.317)
39
 
40
  ## Table of Contents
41
  - [Table of Contents](#table-of-contents)
 
69
 
70
  ### Dataset Summary
71
 
72
+ From [the official README.md](https://github.com/yahoojapan/JGLUE#jglue-japanese-general-language-understanding-evaluation):
73
+
74
  > JGLUE, Japanese General Language Understanding Evaluation, is built to measure the general NLU ability in Japanese. JGLUE has been constructed from scratch without translation. We hope that JGLUE will facilitate NLU research in Japanese.
75
 
76
  > JGLUE has been constructed by a joint research project of Yahoo Japan Corporation and Kawahara Lab at Waseda University.
77
 
78
  ### Supported Tasks and Leaderboards
79
 
80
+ From [the official README.md](https://github.com/yahoojapan/JGLUE#tasksdatasets):
81
+
82
+ > JGLUE consists of the tasks of text classification, sentence pair classification, and QA. Each task consists of multiple datasets.
83
+
84
+ #### Supported Tasks
85
+
86
+ ##### MARC-ja
87
+
88
+ From [the official README.md](https://github.com/yahoojapan/JGLUE#marc-ja):
89
+
90
+ > MARC-ja is a dataset of the text classification task. This dataset is based on the Japanese portion of [Multilingual Amazon Reviews Corpus (MARC)](https://docs.opendata.aws/amazon-reviews-ml/readme.html) ([Keung+, 2020](https://aclanthology.org/2020.emnlp-main.369/)).
91
+
92
+ ##### JSTS
93
+
94
+ From [the official README.md](https://github.com/yahoojapan/JGLUE#jsts):
95
+
96
+ > JSTS is a Japanese version of the STS (Semantic Textual Similarity) dataset. STS is a task to estimate the semantic similarity of a sentence pair. The sentences in JSTS and JNLI (described below) are extracted from the Japanese version of the MS COCO Caption Dataset, [the YJ Captions Dataset](https://github.com/yahoojapan/YJCaptions) ([Miyazaki and Shimizu, 2016](https://aclanthology.org/P16-1168/)).
97
+
98
+ ##### JNLI
99
+
100
+ From [the official README.md](https://github.com/yahoojapan/JGLUE#jnli):
101
+
102
+ > JNLI is a Japanese version of the NLI (Natural Language Inference) dataset. NLI is a task to recognize the inference relation that a premise sentence has to a hypothesis sentence. The inference relations are entailment, contradiction, and neutral.
103
+
104
+ ##### JSQuAD
105
+
106
+ From [the official README.md](https://github.com/yahoojapan/JGLUE#jsquad):
107
+
108
+ > JSQuAD is a Japanese version of [SQuAD](https://rajpurkar.github.io/SQuAD-explorer/) ([Rajpurkar+, 2018](https://aclanthology.org/P18-2124/)), one of the datasets of reading comprehension. Each instance in the dataset consists of a question regarding a given context (Wikipedia article) and its answer. JSQuAD is based on SQuAD 1.1 (there are no unanswerable questions). We used [the Japanese Wikipedia dump](https://dumps.wikimedia.org/jawiki/) as of 20211101.
109
+
110
+ ##### JCommonsenseQA
111
+
112
+ From [the official README.md](https://github.com/yahoojapan/JGLUE#jcommonsenseqa):
113
+
114
+ > JCommonsenseQA is a Japanese version of [CommonsenseQA](https://www.tau-nlp.org/commonsenseqa) ([Talmor+, 2019](https://aclanthology.org/N19-1421/)), which is a multiple-choice question answering dataset that requires commonsense reasoning ability. It is built using crowdsourcing with seeds extracted from the knowledge base [ConceptNet](https://conceptnet.io/).
115
+
116
+ #### Leaderboard
117
+
118
+ From [the official README.md](https://github.com/yahoojapan/JGLUE#leaderboard):
119
+
120
+ > A leaderboard will be made public soon. The test set will be released at that time.
121
 
122
  ### Languages
123
 
124
+ The language data in JGLUE is in Japanese ([BCP-47 ja-JP](https://www.rfc-editor.org/info/bcp47)).
125
 
126
  ## Dataset Structure
127
 
128
  ### Data Instances
129
 
130
+ When loading a specific configuration, users has to append a version dependent suffix:
131
+
132
+ #### MARC-ja
133
+
134
+ ```python
135
+ from datasets import load_dataset
136
+
137
+ dataset = load_dataset("shunk031/JGLUE", name="MARC-ja")
138
+
139
+ print(dataset)
140
+ ```
141
+
142
+ #### JSTS
143
+
144
+ ```python
145
+ from datasets import load_dataset
146
+
147
+ dataset = load_dataset("shunk031/JGLUE", name="JSTS")
148
+
149
+ print(dataset)
150
+ # DatasetDict({
151
+ # train: Dataset({
152
+ # features: ['sentence_pair_id', 'yjcaptions_id', 'sentence1', 'sentence2', 'label'],
153
+ # num_rows: 12451
154
+ # })
155
+ # validation: Dataset({
156
+ # features: ['sentence_pair_id', 'yjcaptions_id', 'sentence1', 'sentence2', 'label'],
157
+ # num_rows: 1457
158
+ # })
159
+ # })
160
+ ```
161
+
162
+ An example of the JSTS dataset looks as follows:
163
+
164
+ ```json
165
+ {
166
+ "sentence_pair_id": "691",
167
+ "yjcaptions_id": "127202-129817-129818",
168
+ "sentence1": "街中の道路を大きなバスが走っています。 (A big bus is running on the road in the city.)",
169
+ "sentence2": "道路を大きなバスが走っています。 (There is a big bus running on the road.)",
170
+ "label": 4.4
171
+ }
172
+ ```
173
+
174
+ #### JNLI
175
+
176
  ```python
177
  from datasets import load_dataset
178
 
179
  dataset = load_dataset("shunk031/JGLUE", name="JNLI")
180
 
181
  print(dataset)
182
+ # DatasetDict({
183
+ # train: Dataset({
184
+ # features: ['sentence_pair_id', 'yjcaptions_id', 'sentence1', 'sentence2', 'label'],
185
+ # num_rows: 20073
186
+ # })
187
+ # validation: Dataset({
188
+ # features: ['sentence_pair_id', 'yjcaptions_id', 'sentence1', 'sentence2', 'label'],
189
+ # num_rows: 2434
190
+ # })
191
+ # })
192
+ ```
193
+
194
+ An example of the JNLI dataset looks as follows:
195
+
196
+ ```json
197
+ {
198
+ "sentence_pair_id": "1157",
199
+ "yjcaptions_id": "127202-129817-129818",
200
+ "sentence1": "街中の道路を大きなバスが走っています。 (A big bus is running on the road in the city.)",
201
+ "sentence2": "道路を大きなバスが走っています。 (There is a big bus running on the road.)",
202
+ "label": "entailment"
203
+ }
204
+ ```
205
+
206
+ #### JSQuAD
207
+
208
+ ```python
209
+ from datasets import load_dataset
210
+
211
+ dataset = load_dataset("shunk031/JGLUE", name="JSQuAD")
212
+
213
+ print(dataset)
214
+ # DatasetDict({
215
+ # train: Dataset({
216
+ # features: ['data'],
217
+ # num_rows: 1
218
+ # })
219
+ # validation: Dataset({
220
+ # features: ['data'],
221
+ # num_rows: 1
222
+ # })
223
+ # })
224
+ ```
225
 
226
+ An example of the JSQuAD looks as follows:
227
+
228
+ ```json
229
+ {
230
+ "title": "東海道新幹線 (Tokaido Shinkansen)",
231
+ "paragraphs": [
232
+ {
233
+ "qas": [
234
+ {
235
+ "question": "2020 年(令和 2 年)3 月現在、東京駅 - 新大阪駅間の最高速度はどのくらいか。 (What is the maximum speed between Tokyo Station and Shin-Osaka Station as of March 2020?)",
236
+ "id": "a1531320p0q0",
237
+ "answers": [
238
+ {
239
+ "text": "285 km/h",
240
+ "answer_start": 182
241
+ }
242
+ ],
243
+ "is_impossible": false
244
+ },
245
+ {
246
+ ..
247
+ }
248
+ ],
249
+ "context": "東海道新幹線 [SEP] 1987 年(昭和 62 年)4 月 1 日の国鉄分割民営化により、JR 東海が運営を継承した。西日本旅客鉄道(JR 西日本)が継承した山陽新幹線とは相互乗り入れが行われており、東海道新幹線区間のみで運転される列車にも JR 西日本所有の車両が使用されることがある。2020 年(令和 2 年)3 月現在、東京駅 - 新大阪駅間の所要時間は最速 2 時間 21 分、最高速度 285 km/h で運行されている。"
250
+ }
251
+ ]
252
+ }
253
+ ```
254
+
255
+ #### JCommonsenseQA
256
+
257
+ ```python
258
+ from datasets import load_dataset
259
+
260
+ dataset = load_dataset("shunk031/JGLUE", name="JCommonsenseQA")
261
+
262
+ print(dataset)
263
+ # DatasetDict({
264
+ # train: Dataset({
265
+ # features: ['q_id', 'question', 'choice0', 'choice1', 'choice2', 'choice3', 'choice4', 'label'],
266
+ # num_rows: 8939
267
+ # })
268
+ # validation: Dataset({
269
+ # features: ['q_id', 'question', 'choice0', 'choice1', 'choice2', 'choice3', 'choice4', 'label'],
270
+ # num_rows: 1119
271
+ # })
272
+ # })
273
+ ```
274
+
275
+ An example of the JCommonsenseQA looks as follows:
276
+
277
+ ```json
278
+ {
279
+ "q_id": 3016,
280
+ "question": "会社の最高責任者を何というか? (What do you call the chief executive officer of a company?)",
281
+ "choice0": "社長 (president)",
282
+ "choice1": "教師 (teacher)",
283
+ "choice2": "部長 (manager)",
284
+ "choice3": "バイト (part-time worker)",
285
+ "choice4": "部下 (subordinate)",
286
+ "label": 0
287
+ }
288
  ```
289
 
290
  ### Data Fields
291
 
292
+ #### MARC-ja
293
+
294
+ - `sentence_pair_id`: ID of the sentence pair
295
+ - `yjcaptions_id`: sentence ids in yjcaptions (explained below)
296
+ - `sentence1`: first sentence
297
+ - `sentence2`: second sentence
298
+ - `label`: sentence similarity: 5 (equivalent meaning) - 0 (completely different meaning)
299
+
300
+ ##### Explanation for yjcaptions_id
301
+
302
+ There are the following two cases:
303
+
304
+ 1. sentence pairs in one image: `(image id)-(sentence1 id)-(sentence2 id)`
305
+ - e.g., 723-844-847
306
+ - a sentence id starting with "g" means a sentence generated by a crowdworker (e.g., 69501-75698-g103): only for JNLI
307
+ 2. sentence pairs in two images: `(image id of sentence1)_(image id of sentence2)-(sentence1 id)-(sentence2 id)`
308
+ - e.g., 91337_217583-96105-91680
309
+
310
+ #### JNLI
311
+
312
+ - `sentence_pair_id`: ID of the sentence pair
313
+ - `yjcaptions_id`: sentence ids in the yjcaptions
314
+ - `sentence1`: premise sentence
315
+ - `sentence2`: hypothesis sentence
316
+ - `label`: inference relation
317
+
318
+ #### JSQuAD
319
+
320
+ - `title`: title of a Wikipedia article
321
+ - `paragraphs`: a set of paragraphs
322
+ - `qas`: a set of pairs of a question and its answer
323
+ - `question`: question
324
+ - `id`: id of a question
325
+ - `answers`: a set of answers
326
+ - `text`: answer text
327
+ - `answer_start`: start position (character index)
328
+ - `is_impossible`: all the values are false
329
+ - `context`: a concatenation of the title and paragraph
330
+
331
+ #### JCommonsenseQA
332
+
333
+ - `q_id`: ID of the question
334
+ - `question`: question
335
+ - `choice{0..4}`: choice
336
+ - `label`: correct choice id
337
 
338
  ### Data Splits
339
 
340
+ From [the official README.md](https://github.com/yahoojapan/JGLUE/blob/main/README.md#tasksdatasets):
341
+
342
+ > Only train/dev sets are available now, and the test set will be available after the leaderboard is made public.
343
+
344
+ | Task | Dataset | Train | Dev | Test |
345
+ |------------------------------|----------------|--------:|------:|------:|
346
+ | Text Classification | MARC-ja | 187,528 | 5,654 | 5,639 |
347
+ | | JCoLA† | - | - | - |
348
+ | Sentence Pair Classification | JSTS | 12,451 | 1,457 | 1,589 |
349
+ | | JNLI | 20,073 | 2,434 | 2,508 |
350
+ | Question Answering | JSQuAD | 62,859 | 4,442 | 4,420 |
351
+ | | JCommonsenseQA | 8,939 | 1,119 | 1,118 |
352
+
353
+ > †JCoLA will be added soon.
354
 
355
  ## Dataset Creation
356
 
357
  ### Curation Rationale
358
 
359
+ From [the original paper](https://aclanthology.org/2022.lrec-1.317/):
360
+
361
+ > JGLUE is designed to cover a wide range of GLUE and SuperGLUE tasks and consists of three kinds of tasks: text classification, sentence pair classification, and question answering.
362
 
363
  ### Source Data
364
 
 
368
 
369
  #### Who are the source language producers?
370
 
371
+ - The source language producers are users of Amazon (MARC-ja), crowd-workers of Yahoo! Crowdsourcing (JSTS, JNLI and JCommonsenseQA), writers of the Japanese Wikipedia (JSQuAD).
372
 
373
  ### Annotations
374
 
375
  #### Annotation process
376
 
377
+ ##### MARC-ja
378
+
379
+ From [the original paper](https://aclanthology.org/2022.lrec-1.317/):
380
+
381
+ > As one of the text classification datasets, we build a dataset based on the Multilingual Amazon Reviews Corpus (MARC) (Keung et al., 2020). MARC is a multilingual corpus of product reviews with 5-level star ratings (1-5) on the Amazon shopping site. This corpus covers six languages, including English and Japanese. For JGLUE, we use the Japanese part of MARC and to make it easy for both humans and computers to judge a class label, we cast the text classification task as a binary classification task, where 1- and 2-star ratings are converted to “negative”, and 4 and 5 are converted to “positive”. We do not use reviews with a 3-star rating.
382
+
383
+ > One of the problems with MARC is that it sometimes contains data where the rating diverges from the review text. This happens, for example, when a review with positive content is given a rating of 1 or 2. These data degrade the quality of our dataset. To improve the quality of the dev/test instances used for evaluation, we crowdsource a positive/negative judgment task for approximately 12,000 reviews. We adopt only reviews with the same votes from 7 or more out of 10 workers and assign a label of the maximum votes to these reviews. We divide the resulting reviews into dev/test data.
384
+
385
+ > We obtained 5,654 and 5,639 instances for the dev and test data, respectively, through the above procedure. For the training data, we extracted 187,528 instances directly from MARC without performing the cleaning procedure because of the large number of training instances. The statistics of MARC-ja are listed in Table 2. For the evaluation metric for MARC-ja, we use accuracy because it is a binary classification task of texts.
386
+
387
+ ##### JSTS and JNLI
388
+
389
+ From [the original paper](https://aclanthology.org/2022.lrec-1.317/):
390
+
391
+ > For the sentence pair classification datasets, we construct a semantic textual similarity (STS) dataset, JSTS, and a natural language inference (NLI) dataset, JNLI.
392
+
393
+ > ### Overview
394
+ > STS is a task of estimating the semantic similarity of a sentence pair. Gold similarity is usually assigned as an average of the integer values 0 (completely different meaning) to 5 (equivalent meaning) assigned by multiple workers through crowdsourcing.
395
+
396
+ > NLI is a task of recognizing the inference relation that a premise sentence has to a hypothesis sentence. Inference relations are generally defined by three labels: “entailment”, “contradiction”, and “neutral”. Gold inference relations are often assigned by majority voting after collecting answers from multiple workers through crowdsourcing.
397
+
398
+ > For the STS and NLI tasks, STS-B (Cer et al., 2017) and MultiNLI (Williams et al., 2018) are included in GLUE, respectively. As Japanese datasets, JSNLI (Yoshikoshi et al., 2020) is a machine translated dataset of the NLI dataset SNLI (Stanford NLI), and JSICK (Yanaka and Mineshima, 2021) is a human translated dataset of the STS/NLI dataset SICK (Marelli et al., 2014). As mentioned in Section 1, these have problems originating from automatic/manual translations. To solve this problem, we construct STS/NLI datasets in Japanese from scratch. We basically extract sentence pairs in JSTS and JNLI from the Japanese version of the MS COCO Caption Dataset (Chen et al., 2015), the YJ Captions Dataset (Miyazaki and Shimizu, 2016). Most of the sentence pairs in JSTS and JNLI overlap, allowing us to analyze the relationship between similarities and inference relations for the same sentence pairs like SICK and JSICK.
399
+
400
+ > The similarity value in JSTS is assigned a real number from 0 to 5 as in STS-B. The inference relation in JNLI is assigned from the above three labels as in SNLI and MultiNLI. The definitions of the inference relations are also based on SNLI.
401
+
402
+ > ### Method of Construction
403
+ > Our construction flow for JSTS and JNLI is shown in Figure 1. Basically, two captions for the same image of YJ Captions are used as sentence pairs. For these sentence pairs, similarities and NLI relations of entailment and neutral are obtained by crowdsourcing. However, it is difficult to collect sentence pairs with low similarity and contradiction relations from captions for the same image. To solve this problem, we collect sentence pairs with low similarity from captions for different images. We collect contradiction relations by asking workers to write contradictory sentences for a given caption.
404
+
405
+ > The detailed construction procedure for JSTS and JNLI is described below.
406
+ > 1. We crowdsource an STS task using two captions for the same image from YJ Captions. We ask five workers to answer the similarity between two captions and take the mean value as the gold similarity. We delete sentence pairs with a large variance in the answers because such pairs have poor answer quality. We performed this task on 16,000 sentence pairs and deleted sentence pairs with a similarity variance of 1.0 or higher, resulting in the collection of 10,236 sentence pairs with gold similarity. We refer to this collected data as JSTS-A.
407
+ > 2. To collect sentence pairs with low similarity, we crowdsource the same STS task as Step 1 using sentence pairs of captions for different images. We conducted this task on 4,000 sentence pairs and collected 2,970 sentence pairs with gold similarity. We refer to this collected data as JSTS-B.
408
+ > 3. For JSTS-A, we crowdsource an NLI task. Since inference relations are directional, we obtain inference relations in both directions for sentence pairs. As mentioned earlier,it is difficult to collect instances of contradiction from JSTS-A, which was collected from the captions of the same images,and thus we collect instances of entailment and neutral in this step. We collect inference relation answers from 10 workers. If six or more people give the same answer, we adopt it as the gold label if it is entailment or neutral. To obtain inference relations in both directions for JSTS-A, we performed this task on 20,472 sentence pairs, twice as many as JSTS-A. As a result, we collected inference relations for 17,501 sentence pairs. We refer to this collected data as JNLI-A. We do not use JSTS-B for the NLI task because it is difficult to define and determine the inference relations between captions of different images.
409
+ > 4. To collect NLI instances of contradiction, we crowdsource a task of writing four contradictory sentences for each caption in YJCaptions. From the written sentences, we remove sentence pairs with an edit distance of 0.75 or higher to remove low-quality sentences, such as short sentences and sentences with low relevance to the original sentence. Furthermore, we perform a one-way NLI task with 10 workers to verify whether the created sentence pairs are contradictory. Only the sentence pairs answered as contradiction by at least six workers are adopted. Finally,since the contradiction relation has no direction, we automatically assign contradiction in the opposite direction of the adopted sentence pairs. Using 1,800 captions, we acquired 7,200 sentence pairs, from which we collected 3,779 sentence pairs to which we assigned the one-way contradiction relation.By automatically assigning the contradiction relation in the opposite direction, we doubled the number of instances to 7,558. We refer to this collected data as JNLI-C.
410
+ > 5. For the 3,779 sentence pairs collected in Step 4, we crowdsource an STS task, assigning similarity and filtering in the same way as in Steps1 and 2. In this way, we collected 2,303 sentence pairs with gold similarity from 3,779 pairs. We refer to this collected data as JSTS-C.
411
+
412
+ ##### JSQuAD
413
+
414
+ From [the original paper](https://aclanthology.org/2022.lrec-1.317/):
415
+
416
+ > As QA datasets, we build a Japanese version of SQuAD (Rajpurkar et al., 2016), one of the datasets of reading comprehension, and a Japanese version ofCommonsenseQA, which is explained in the next section.
417
+
418
+ > Reading comprehension is the task of reading a document and answering questions about it. Many reading comprehension evaluation sets have been built in English, followed by those in other languages or multilingual ones.
419
+
420
+ > In Japanese, reading comprehension datasets for quizzes (Suzukietal.,2018) and those in the drivingdomain (Takahashi et al., 2019) have been built, but none are in the general domain. We use Wikipedia to build a dataset for the general domain. The construction process is basically based on SQuAD 1.1 (Rajpurkar et al., 2016).
421
+
422
+ > First, to extract high-quality articles from Wikipedia, we use Nayuki, which estimates the quality of articles on the basis of hyperlinks in Wikipedia. We randomly chose 822 articles from the top-ranked 10,000 articles. For example, the articles include “熊本県 (Kumamoto Prefecture)” and “フランス料理 (French cuisine)”. Next, we divide an article into paragraphs, present each paragraph to crowdworkers, and ask them to write questions and answers that can be answered if one understands the paragraph. Figure 2 shows an example of JSQuAD. We ask workers to write two additional answers for the dev and test sets to make the system evaluation robust.
423
+
424
+ ##### JCommonsenseQA
425
+
426
+ From [the original paper](https://aclanthology.org/2022.lrec-1.317/):
427
+
428
+ > ### Overview
429
+ > JCommonsenseQA is a Japanese version of CommonsenseQA (Talmor et al., 2019), which consists of five choice QA to evaluate commonsense reasoning ability. Figure 3 shows examples of JCommonsenseQA. In the same way as CommonsenseQA, JCommonsenseQA is built using crowdsourcing with seeds extracted from the knowledge base ConceptNet (Speer et al., 2017). ConceptNet is a multilingual knowledge base that consists of triplets of two concepts and their relation. The triplets are directional and represented as (source concept, relation, target concept), for example (bullet train, AtLocation, station).
430
+
431
+ > ### Method of Construction
432
+ > The construction flow for JCommonsenseQA is shown in Figure 4. First, we collect question sets (QSs) from ConceptNet, each of which consists of a source concept and three target concepts that have the same relation to the source concept. Next, for each QS, we crowdAtLocation 2961source a task of writing a question with only one target concept as the answer and a task of adding two distractors. We describe the detailed construction procedure for JCommonsenseQA below, showing how it differs from CommonsenseQA.
433
+
434
+ > 1. We collect Japanese QSs from ConceptNet. CommonsenseQA uses only forward relations (source concept, relation, target concept) excluding general ones such as “RelatedTo” and “IsA”. JCommonsenseQA similarly uses a set of 22 relations5, excluding general ones, but the direction of the relations is bidirectional to make the questions more diverse. In other words, we also use relations in the opposite direction (source concept, relation−1, target concept).6 With this setup, we extracted 43,566 QSs with Japanese source/target concepts and randomly selected 7,500 from them.
435
+ > 2. Some low-quality questions in CommonsenseQA contain distractors that can be considered to be an answer. To improve the quality of distractors, we add the following two processes that are not adopted in CommonsenseQA. First, if three target concepts of a QS include a spelling variation or a synonym of one another, this QS is removed. To identify spelling variations, we use the word ID of the morphological dictionary Juman Dic7. Second, we crowdsource a task of judging whether target concepts contain a synonym. As a result, we adopted 5,920 QSs from 7,500.
436
+ > 3. For each QS, we crowdsource a task of writing a question sentence in which only one from the three target concepts is an answer. In the example shown in Figure 4, “駅 (station)” is an answer, and the others are distractors. To remove low quality question sentences, we remove the following question sentences.
437
+ > - Question sentences that contain a choice word(this is because such a question is easily solved).
438
+ > - Question sentences that contain the expression “XX characters”.8 (XX is a number).
439
+ > - Improperly formatted question sentences that do not end with “?”.
440
+ > - As a result, 5,920 × 3 = 17,760question sentences were created, from which we adopted 15,310 by removing inappropriate question sentences.
441
+ > 4. In CommonsenseQA, when adding distractors, one is selected from ConceptNet, and the other is created by crowdsourcing. In JCommonsenseQA, to have a wider variety of distractors, two distractors are created by crowdsourcing instead of selecting from ConceptNet. To improve the quality of the questions9, we remove questions whose added distractors fall into one of the following categories:
442
+ > - Distractors are included in a question sentence.
443
+ > - Distractors overlap with one of existing choices.
444
+ > - As a result, distractors were added to the 15,310 questions, of which we adopted 13,906.
445
+ > 5. We asked three crowdworkers to answer each question and adopt only those answered correctly by at least two workers. As a result, we adopted 11,263 out of the 13,906 questions.
446
 
447
  #### Who are the annotators?
448
 
449
+ From [the official README.md](https://github.com/yahoojapan/JGLUE/blob/main/README.md#tasksdatasets):
450
+
451
+ > We use Yahoo! Crowdsourcing for all crowdsourcing tasks in constructing the datasets.
452
 
453
  ### Personal and Sensitive Information
454
 
 
458
 
459
  ### Social Impact of Dataset
460
 
461
+ From [the original paper](https://aclanthology.org/2022.lrec-1.317/):
462
+
463
+ > We build a Japanese NLU benchmark, JGLUE, from scratch without translation to measure the general NLU ability in Japanese. We hope that JGLUE will facilitate NLU research in Japanese.
464
 
465
  ### Discussion of Biases
466
 
 
472
 
473
  ## Additional Information
474
 
475
+ - 日本語言語理解ベンチマーク JGLUE の構築 〜 自然言語処理モデルの評価用データセットを公開しました - Yahoo! JAPAN Tech Blog https://techblog.yahoo.co.jp/entry/2022122030379907/
476
+
477
  ### Dataset Curators
478
 
479
+ #### MARC-ja
480
+
481
+ - Keung, Phillip, et al. "The Multilingual Amazon Reviews Corpus." Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP). 2020.
482
+
483
+ #### JSTS and JNLI
484
+
485
+ - Miyazaki, Takashi, and Nobuyuki Shimizu. "Cross-lingual image caption generation." Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2016.
486
+
487
+ #### JSQuAD
488
+
489
+ The authors curated the original data for JSQuAD from the Japanese wikipedia dump.
490
+
491
+ #### JCommonsenseQA
492
+
493
+ In the same way as CommonsenseQA, JCommonsenseQA is built using crowdsourcing with seeds extracted from the knowledge base ConceptNet
494
 
495
  ### Licensing Information
496
 
 
528
 
529
  ### Contributions
530
 
531
+ Thanks to [Kentaro Kurihara](https://twitter.com/kkurihara_cs), [Daisuke Kawahara](https://twitter.com/daisukekawahar1), and [Tomohide Shibata](https://twitter.com/stomohide) for creating this dataset.