Datasets:
Commit
•
90d4e2e
1
Parent(s):
96a234b
Remove deprecated tasks (#5)
Browse files- Remove deprecated tasks (4f802542b8c6f9441da556a669b71fefbeb26b99)
- banking77.py +0 -2
banking77.py
CHANGED
@@ -18,7 +18,6 @@
|
|
18 |
import csv
|
19 |
|
20 |
import datasets
|
21 |
-
from datasets.tasks import TextClassification
|
22 |
|
23 |
|
24 |
_CITATION = """\
|
@@ -148,7 +147,6 @@ class Banking77(datasets.GeneratorBasedBuilder):
|
|
148 |
homepage=_HOMEPAGE,
|
149 |
license=_LICENSE,
|
150 |
citation=_CITATION,
|
151 |
-
task_templates=[TextClassification(text_column="text", label_column="label")],
|
152 |
)
|
153 |
|
154 |
def _split_generators(self, dl_manager):
|
|
|
18 |
import csv
|
19 |
|
20 |
import datasets
|
|
|
21 |
|
22 |
|
23 |
_CITATION = """\
|
|
|
147 |
homepage=_HOMEPAGE,
|
148 |
license=_LICENSE,
|
149 |
citation=_CITATION,
|
|
|
150 |
)
|
151 |
|
152 |
def _split_generators(self, dl_manager):
|