Commit
•
a275958
1
Parent(s):
0e5403e
Remove deprecated tasks (#2)
Browse files- Remove deprecated tasks (eab4f6964635220ed3c45fc4032ad418ef2d9160)
EpiSet4BinaryClassification.py
CHANGED
@@ -19,7 +19,6 @@
|
|
19 |
|
20 |
import csv
|
21 |
import datasets
|
22 |
-
from datasets.tasks import TextClassification
|
23 |
|
24 |
|
25 |
_DESCRIPTION = """\
|
@@ -48,7 +47,6 @@ class EpiClassify4GARD(datasets.GeneratorBasedBuilder):
|
|
48 |
),
|
49 |
homepage="https://github.com/ncats/epi4GARD/tree/master/Epi4GARD#epi4gard",
|
50 |
citation=_CITATION,
|
51 |
-
task_templates=[TextClassification(text_column="abstract", label_column="label")],
|
52 |
)
|
53 |
|
54 |
def _split_generators(self, dl_manager):
|
|
|
19 |
|
20 |
import csv
|
21 |
import datasets
|
|
|
22 |
|
23 |
|
24 |
_DESCRIPTION = """\
|
|
|
47 |
),
|
48 |
homepage="https://github.com/ncats/epi4GARD/tree/master/Epi4GARD#epi4gard",
|
49 |
citation=_CITATION,
|
|
|
50 |
)
|
51 |
|
52 |
def _split_generators(self, dl_manager):
|