Remove deprecated tasks

#2
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. dynahate.py +0 -2
dynahate.py CHANGED
@@ -20,7 +20,6 @@
20
  import csv
21
 
22
  import datasets
23
- from datasets.tasks import TextClassification
24
 
25
 
26
  _DESCRIPTION = """\
@@ -66,7 +65,6 @@ class Dynahate(datasets.GeneratorBasedBuilder):
66
  ),
67
  homepage="https://arxiv.org/abs/2012.15761",
68
  citation=_CITATION,
69
- task_templates=[TextClassification(text_column="text", label_column="label")],
70
  )
71
 
72
  def _split_generators(self, dl_manager):
 
20
  import csv
21
 
22
  import datasets
 
23
 
24
 
25
  _DESCRIPTION = """\
 
65
  ),
66
  homepage="https://arxiv.org/abs/2012.15761",
67
  citation=_CITATION,
 
68
  )
69
 
70
  def _split_generators(self, dl_manager):