Commit
•
f947be8
1
Parent(s):
fd3771b
Remove deprecated tasks (#2)
Browse files- Remove deprecated tasks (b04c8edc43400310e3cd0a6de646a7ef3ea300ed)
phrase_sense_disambiguation.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__)
|
@@ -98,11 +97,6 @@ class PhraseSenseDisambiguation(datasets.GeneratorBasedBuilder):
|
|
98 |
homepage=_HOMEPAGE,
|
99 |
license=_LICENSE,
|
100 |
citation=_CITATION,
|
101 |
-
task_templates=[
|
102 |
-
QuestionAnsweringExtractive(
|
103 |
-
question_column="question", context_column="context", answers_column="answers"
|
104 |
-
)
|
105 |
-
]
|
106 |
)
|
107 |
|
108 |
def _split_generators(self, dl_manager):
|
|
|
21 |
import os.path
|
22 |
|
23 |
import datasets
|
|
|
24 |
|
25 |
|
26 |
logger = datasets.logging.get_logger(__name__)
|
|
|
97 |
homepage=_HOMEPAGE,
|
98 |
license=_LICENSE,
|
99 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
100 |
)
|
101 |
|
102 |
def _split_generators(self, dl_manager):
|