teruo6939 commited on
Commit
c3e5d90
·
verified ·
1 Parent(s): 84c337c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -7
README.md CHANGED
@@ -79,14 +79,14 @@ Japanese
79
  An example from culture category looks as follows:
80
  ```
81
  {
82
- "qid": "jamcqa_test_culture_00001",
83
  "category": "culture",
84
  "question": "「狂った世で気が狂うなら気は確かだ」の名言を残した映画はどれ?",
85
- "choice0": "",
86
  "choice1": "羅生門",
87
  "choice2": "隠し砦の三悪人",
88
- "choice3": "影武者",
89
- "answer_index": 0,
90
  }
91
  ```
92
 
@@ -132,14 +132,26 @@ An example from culture category looks as follows:
132
  ```python
133
  $ python
134
  >>> import datasets
135
- >>> jamcqa_test = datasets.load_dataset('sbintuitions/JamC-QA', 'v1.0', split='test')
 
 
 
 
 
 
 
 
 
 
 
 
136
  >>> print(jamcqa_test)
137
  Dataset({
138
  features: ['qid', 'category', 'question', 'choice0', 'choice1', 'choice2', 'choice3', 'answer_index'],
139
- num_rows: 2341
140
  })
141
  >>> print(jamcqa_test[0])
142
- {'qid': 'jamcqa_test_culture_00001', 'category': '文化', 'question': '「狂った世で気が狂うなら気は確かだ」の名言を残した映画はどれ?', 'choice0': '', 'choice1': '羅生門', 'choice2': '隠し砦の三悪人', 'choice3': '影武者', 'answer_index': 0}
143
  >>>
144
  ```
145
 
 
79
  An example from culture category looks as follows:
80
  ```
81
  {
82
+ "qid": "jamcqa-test-culture-00001",
83
  "category": "culture",
84
  "question": "「狂った世で気が狂うなら気は確かだ」の名言を残した映画はどれ?",
85
+ "choice0": "影武者",
86
  "choice1": "羅生門",
87
  "choice2": "隠し砦の三悪人",
88
+ "choice3": "",
89
+ "answer_index": 3,
90
  }
91
  ```
92
 
 
132
  ```python
133
  $ python
134
  >>> import datasets
135
+ >>> jamcqa = datasets.load_dataset('sbintuitions/JamC-QA', 'v1.0')
136
+ >>> print(jamcqa)
137
+ DatasetDict({
138
+ test: Dataset({
139
+ features: ['qid', 'category', 'question', 'choice0', 'choice1', 'choice2', 'choice3', 'answer_index'],
140
+ num_rows: 2309
141
+ })
142
+ dev: Dataset({
143
+ features: ['qid', 'category', 'question', 'choice0', 'choice1', 'choice2', 'choice3', 'answer_index'],
144
+ num_rows: 32
145
+ })
146
+ })
147
+ >>> jamcqa_test = jamcqa['test']
148
  >>> print(jamcqa_test)
149
  Dataset({
150
  features: ['qid', 'category', 'question', 'choice0', 'choice1', 'choice2', 'choice3', 'answer_index'],
151
+ num_rows: 2309
152
  })
153
  >>> print(jamcqa_test[0])
154
+ {'qid': 'jamcqa-test-culture-00001', 'category': 'culture', 'question': '「狂った世で気が狂うなら気は確かだ」の名言を残した映画はどれ?', 'choice0': '影武者', 'choice1': '羅生門', 'choice2': '隠し砦の三悪人', 'choice3': '', 'answer_index': 3}
155
  >>>
156
  ```
157