Remove deprecated tasks
#3
by
albertvillanova
HF staff
- opened
- phrase_retrieval.py +0 -6
phrase_retrieval.py
CHANGED
@@ -21,7 +21,6 @@ import json
|
|
21 |
import os.path
|
22 |
|
23 |
import datasets
|
24 |
-
from datasets.tasks import QuestionAnsweringExtractive
|
25 |
|
26 |
|
27 |
logger = datasets.logging.get_logger(__name__)
|
@@ -104,11 +103,6 @@ class PhraseRetrieval(datasets.GeneratorBasedBuilder):
|
|
104 |
homepage=_HOMEPAGE,
|
105 |
license=_LICENSE,
|
106 |
citation=_CITATION,
|
107 |
-
task_templates=[
|
108 |
-
QuestionAnsweringExtractive(
|
109 |
-
question_column="question", context_column="context", answers_column="answers"
|
110 |
-
)
|
111 |
-
],
|
112 |
)
|
113 |
|
114 |
def _split_generators(self, dl_manager):
|
|
|
21 |
import os.path
|
22 |
|
23 |
import datasets
|
|
|
24 |
|
25 |
|
26 |
logger = datasets.logging.get_logger(__name__)
|
|
|
103 |
homepage=_HOMEPAGE,
|
104 |
license=_LICENSE,
|
105 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
106 |
)
|
107 |
|
108 |
def _split_generators(self, dl_manager):
|