sh110495 commited on
Commit
e0c8ea0
1 Parent(s): 1acffa9

make dataset pstage3 format

Browse files
Files changed (1) hide show
  1. 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' : [answer_start], 'text': [answer_text]}
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, {