Datasets:
Commit
•
7f12184
1
Parent(s):
cefa5bb
Remove deprecated tasks
Browse filesThis dataset uses `tasks`, which are deprecated and will raise an error after the next major release of `datasets`. See: https://github.com/huggingface/datasets/pull/6999
- tydiqa_xtreme.py +0 -6
tydiqa_xtreme.py
CHANGED
@@ -2,7 +2,6 @@ import json
|
|
2 |
import textwrap
|
3 |
|
4 |
import datasets
|
5 |
-
from datasets.tasks import QuestionAnsweringExtractive
|
6 |
|
7 |
# TODO(tydiqa): BibTeX citation
|
8 |
_CITATION = """\
|
@@ -102,11 +101,6 @@ class TyDiQA(datasets.GeneratorBasedBuilder):
|
|
102 |
supervised_keys=None,
|
103 |
homepage="https://github.com/google-research-datasets/tydiqa",
|
104 |
citation=_CITATION,
|
105 |
-
task_templates=[
|
106 |
-
QuestionAnsweringExtractive(
|
107 |
-
question_column="question", context_column="context", answers_column="answers"
|
108 |
-
)
|
109 |
-
],
|
110 |
)
|
111 |
|
112 |
def _split_generators(self, dl_manager):
|
|
|
2 |
import textwrap
|
3 |
|
4 |
import datasets
|
|
|
5 |
|
6 |
# TODO(tydiqa): BibTeX citation
|
7 |
_CITATION = """\
|
|
|
101 |
supervised_keys=None,
|
102 |
homepage="https://github.com/google-research-datasets/tydiqa",
|
103 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
104 |
)
|
105 |
|
106 |
def _split_generators(self, dl_manager):
|