Remove deprecated tasks

#2
by albertvillanova HF Staff - opened
Files changed (1) hide show
  1. spanextract.py +0 -6
spanextract.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__)
@@ -76,11 +75,6 @@ class Squad(datasets.GeneratorBasedBuilder):
76
  # No default supervised_keys (as we have to pass both question
77
  # and context as input).
78
  supervised_keys=None,
79
- task_templates=[
80
- QuestionAnsweringExtractive(
81
- question_column="question", context_column="context", answers_column="answers"
82
- )
83
- ],
84
  )
85
 
86
  def _split_generators(self, dl_manager):
 
20
  import json
21
 
22
  import datasets
 
23
 
24
 
25
  logger = datasets.logging.get_logger(__name__)
 
75
  # No default supervised_keys (as we have to pass both question
76
  # and context as input).
77
  supervised_keys=None,
 
 
 
 
 
78
  )
79
 
80
  def _split_generators(self, dl_manager):