make dataset pstage3 format
Browse files- klue-mrc.py +5 -1
klue-mrc.py
CHANGED
@@ -32,7 +32,11 @@ class KoreanNewspaper(datasets.GeneratorBasedBuilder):
|
|
32 |
{
|
33 |
"context": datasets.Value("string"),
|
34 |
"question": datasets.Value("string"),
|
35 |
-
"answers":
|
|
|
|
|
|
|
|
|
36 |
"guid":datasets.Value("string"),
|
37 |
|
38 |
}
|
|
|
32 |
{
|
33 |
"context": datasets.Value("string"),
|
34 |
"question": datasets.Value("string"),
|
35 |
+
"answers":
|
36 |
+
{
|
37 |
+
"answer_start" : datasets.Sequence(datasets.Value("int32")),
|
38 |
+
"text":datasets.Sequence(datasets.Value("string"))
|
39 |
+
},
|
40 |
"guid":datasets.Value("string"),
|
41 |
|
42 |
}
|