Update dstc9-targz.py
Browse files- dstc9-targz.py +3 -10
dstc9-targz.py
CHANGED
|
@@ -36,16 +36,9 @@ class dstc9Targz(datasets.GeneratorBasedBuilder):
|
|
| 36 |
description=_DESCRIPTION,
|
| 37 |
features=datasets.Features(
|
| 38 |
{
|
| 39 |
-
"
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
"question": datasets.Value("string"),
|
| 43 |
-
"answers": datasets.features.Sequence(
|
| 44 |
-
{
|
| 45 |
-
"text": datasets.Value("string"),
|
| 46 |
-
"answer_start": datasets.Value("int32"),
|
| 47 |
-
}
|
| 48 |
-
),
|
| 49 |
}
|
| 50 |
),
|
| 51 |
# No default supervised_keys (as we have to pass both question
|
|
|
|
| 36 |
description=_DESCRIPTION,
|
| 37 |
features=datasets.Features(
|
| 38 |
{
|
| 39 |
+
"Context": datasets.Value("string"),
|
| 40 |
+
"Knowledge": datasets.Value("string"),
|
| 41 |
+
"Response": datasets.Value("string"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
}
|
| 43 |
),
|
| 44 |
# No default supervised_keys (as we have to pass both question
|