albertvillanova HF staff commited on
Commit
c99d974
1 Parent(s): c426a81

Remove deprecated tasks (#2)

Browse files

- Remove deprecated tasks (36a19644fe08022847e6b7312ac32d5de7059c89)

Files changed (1) hide show
  1. quranqa.py +0 -6
quranqa.py CHANGED
@@ -1,7 +1,6 @@
1
  import json
2
 
3
  import datasets
4
- from datasets.tasks import QuestionAnsweringExtractive
5
 
6
 
7
  _CITATION = """\
@@ -92,11 +91,6 @@ class QuranQA(datasets.GeneratorBasedBuilder):
92
  homepage=_HOMEPAGE,
93
  license=_LICENSE,
94
  citation=_CITATION,
95
- task_templates=[
96
- QuestionAnsweringExtractive(
97
- question_column="question", context_column="passage", answers_column="answers"
98
- )
99
- ],
100
  )
101
 
102
  def _split_generators(self, dl_manager):
 
1
  import json
2
 
3
  import datasets
 
4
 
5
 
6
  _CITATION = """\
 
91
  homepage=_HOMEPAGE,
92
  license=_LICENSE,
93
  citation=_CITATION,
 
 
 
 
 
94
  )
95
 
96
  def _split_generators(self, dl_manager):