Datasets:
Maxime
commited on
Commit
•
cead70c
1
Parent(s):
f6d352b
change from Sequence to list
Browse files
mfaq.py
CHANGED
@@ -73,13 +73,13 @@ class MFAQ(datasets.GeneratorBasedBuilder):
|
|
73 |
"language": datasets.Value("string"),
|
74 |
"num_pairs": datasets.Value("int64"),
|
75 |
"domain": datasets.Value("string"),
|
76 |
-
"qa_pairs":
|
77 |
{
|
78 |
"question": datasets.Value("string"),
|
79 |
"answer": datasets.Value("string"),
|
80 |
"language": datasets.Value("string")
|
81 |
}
|
82 |
-
|
83 |
}
|
84 |
)
|
85 |
return datasets.DatasetInfo(
|
|
|
73 |
"language": datasets.Value("string"),
|
74 |
"num_pairs": datasets.Value("int64"),
|
75 |
"domain": datasets.Value("string"),
|
76 |
+
"qa_pairs": [
|
77 |
{
|
78 |
"question": datasets.Value("string"),
|
79 |
"answer": datasets.Value("string"),
|
80 |
"language": datasets.Value("string")
|
81 |
}
|
82 |
+
]
|
83 |
}
|
84 |
)
|
85 |
return datasets.DatasetInfo(
|