Update xquad_split.py
Browse files- xquad_split.py +6 -6
xquad_split.py
CHANGED
|
@@ -5,7 +5,7 @@ import json
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
import datasets
|
| 8 |
-
from datasets.tasks import QuestionAnsweringExtractive
|
| 9 |
|
| 10 |
|
| 11 |
_CITATION = """\
|
|
@@ -89,11 +89,11 @@ class Xquad(datasets.GeneratorBasedBuilder):
|
|
| 89 |
# Homepage of the dataset for documentation
|
| 90 |
homepage="https://github.com/deepmind/xquad",
|
| 91 |
citation=_CITATION,
|
| 92 |
-
task_templates=[
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
],
|
| 97 |
)
|
| 98 |
|
| 99 |
def _split_generators(self, dl_manager):
|
|
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
import datasets
|
| 8 |
+
#from datasets.tasks import QuestionAnsweringExtractive
|
| 9 |
|
| 10 |
|
| 11 |
_CITATION = """\
|
|
|
|
| 89 |
# Homepage of the dataset for documentation
|
| 90 |
homepage="https://github.com/deepmind/xquad",
|
| 91 |
citation=_CITATION,
|
| 92 |
+
# task_templates=[
|
| 93 |
+
# QuestionAnsweringExtractive(
|
| 94 |
+
# question_column="question", context_column="context", answers_column="answers"
|
| 95 |
+
# )
|
| 96 |
+
#],
|
| 97 |
)
|
| 98 |
|
| 99 |
def _split_generators(self, dl_manager):
|