albertvillanova HF staff commited on
Commit
d4da1b1
1 Parent(s): 17dd9ee

Remove deprecated tasks (#3)

Browse files

- Remove deprecated tasks (a7937a7cde3b799ec77935f1ef0c90285f739c62)

Files changed (1) hide show
  1. phrase_retrieval.py +0 -6
phrase_retrieval.py CHANGED
@@ -21,7 +21,6 @@ import json
21
  import os.path
22
 
23
  import datasets
24
- from datasets.tasks import QuestionAnsweringExtractive
25
 
26
 
27
  logger = datasets.logging.get_logger(__name__)
@@ -104,11 +103,6 @@ class PhraseRetrieval(datasets.GeneratorBasedBuilder):
104
  homepage=_HOMEPAGE,
105
  license=_LICENSE,
106
  citation=_CITATION,
107
- task_templates=[
108
- QuestionAnsweringExtractive(
109
- question_column="question", context_column="context", answers_column="answers"
110
- )
111
- ],
112
  )
113
 
114
  def _split_generators(self, dl_manager):
 
21
  import os.path
22
 
23
  import datasets
 
24
 
25
 
26
  logger = datasets.logging.get_logger(__name__)
 
103
  homepage=_HOMEPAGE,
104
  license=_LICENSE,
105
  citation=_CITATION,
 
 
 
 
 
106
  )
107
 
108
  def _split_generators(self, dl_manager):