Datasets:
Remove deprecated tasks
#2
by
albertvillanova
HF staff
- opened
- IndicQA.py +0 -6
IndicQA.py
CHANGED
@@ -4,7 +4,6 @@
|
|
4 |
import json
|
5 |
|
6 |
import datasets
|
7 |
-
from datasets.tasks import QuestionAnsweringExtractive
|
8 |
|
9 |
|
10 |
_CITATION = """\
|
@@ -68,11 +67,6 @@ class Xquad(datasets.GeneratorBasedBuilder):
|
|
68 |
# Homepage of the dataset for documentation
|
69 |
homepage="",
|
70 |
citation=_CITATION,
|
71 |
-
task_templates=[
|
72 |
-
QuestionAnsweringExtractive(
|
73 |
-
question_column="question", context_column="context", answers_column="answers"
|
74 |
-
)
|
75 |
-
],
|
76 |
)
|
77 |
|
78 |
def _split_generators(self, dl_manager):
|
|
|
4 |
import json
|
5 |
|
6 |
import datasets
|
|
|
7 |
|
8 |
|
9 |
_CITATION = """\
|
|
|
67 |
# Homepage of the dataset for documentation
|
68 |
homepage="",
|
69 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
70 |
)
|
71 |
|
72 |
def _split_generators(self, dl_manager):
|