albertvillanova HF staff commited on
Commit
638761a
1 Parent(s): cefa5bb

Remove deprecated tasks (#3)

Browse files

- Remove deprecated tasks (7f121841bfd56d92ffb587bfce5cc0b0b2619fc8)

Files changed (1) hide show
  1. 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):