albertvillanova HF staff commited on
Commit
9d9deaa
1 Parent(s): ae76fcd

Remove deprecated tasks (#1)

Browse files

- Remove deprecated tasks (9aa69c09cc44dc2e33d0234c19a876addf1aacd8)

Files changed (1) hide show
  1. toqad.py +0 -6
toqad.py CHANGED
@@ -20,7 +20,6 @@
20
  import json
21
 
22
  import datasets
23
- from datasets.tasks import QuestionAnsweringExtractive
24
 
25
 
26
  logger = datasets.logging.get_logger(__name__)
@@ -84,11 +83,6 @@ class Toqad(datasets.GeneratorBasedBuilder):
84
  supervised_keys=None,
85
  homepage="https://github.com/meetyildiz/toqad",
86
  citation=_CITATION,
87
- task_templates=[
88
- QuestionAnsweringExtractive(
89
- question_column="question", context_column="context", answers_column="answers"
90
- )
91
- ],
92
  )
93
 
94
  def _split_generators(self, dl_manager):
 
20
  import json
21
 
22
  import datasets
 
23
 
24
 
25
  logger = datasets.logging.get_logger(__name__)
 
83
  supervised_keys=None,
84
  homepage="https://github.com/meetyildiz/toqad",
85
  citation=_CITATION,
 
 
 
 
 
86
  )
87
 
88
  def _split_generators(self, dl_manager):