make dataset pstage3 format
Browse files- klue-mrc.py +1 -1
klue-mrc.py
CHANGED
@@ -83,7 +83,7 @@ class KoreanNewspaper(datasets.GeneratorBasedBuilder):
|
|
83 |
answer = q[answer_key][0]
|
84 |
answer_text = answer['text']
|
85 |
answer_start = answer['answer_start']
|
86 |
-
answer_data = {'answer_start' :
|
87 |
guid = q['guid']
|
88 |
|
89 |
yield key, {
|
|
|
83 |
answer = q[answer_key][0]
|
84 |
answer_text = answer['text']
|
85 |
answer_start = answer['answer_start']
|
86 |
+
answer_data = {'answer_start' : answer_start, 'text': answer_text}
|
87 |
guid = q['guid']
|
88 |
|
89 |
yield key, {
|