Remove deprecated tasks

#5
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. 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):