albertvillanova HF staff commited on
Commit
205ba82
1 Parent(s): e0ec01c

Remove deprecated tasks (#3)

Browse files

- Remove deprecated tasks (3bb26ebae624fa1420fe4830dc69678b71789181)

Files changed (1) hide show
  1. faquad.py +0 -6
faquad.py CHANGED
@@ -23,7 +23,6 @@
23
  import json
24
 
25
  import datasets
26
- from datasets.tasks import QuestionAnsweringExtractive
27
 
28
 
29
  logger = datasets.logging.get_logger(__name__)
@@ -112,11 +111,6 @@ class Faquad(datasets.GeneratorBasedBuilder):
112
  supervised_keys=None,
113
  homepage="https://github.com/liafacom/faquad",
114
  citation=_CITATION,
115
- task_templates=[
116
- QuestionAnsweringExtractive(
117
- question_column="question", context_column="context", answers_column="answers"
118
- )
119
- ],
120
  )
121
 
122
  def _split_generators(self, dl_manager):
 
23
  import json
24
 
25
  import datasets
 
26
 
27
 
28
  logger = datasets.logging.get_logger(__name__)
 
111
  supervised_keys=None,
112
  homepage="https://github.com/liafacom/faquad",
113
  citation=_CITATION,
 
 
 
 
 
114
  )
115
 
116
  def _split_generators(self, dl_manager):