Remove deprecated tasks

#1
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. metrecv2.py +0 -2
metrecv2.py CHANGED
@@ -20,7 +20,6 @@
20
  import os
21
 
22
  import datasets
23
- from datasets.tasks import TextClassification
24
 
25
 
26
  _DESCRIPTION = """\
@@ -85,7 +84,6 @@ class MetRecV2(datasets.GeneratorBasedBuilder):
85
  supervised_keys=None,
86
  homepage="",
87
  citation=_CITATION,
88
- task_templates=[TextClassification(text_column="text", label_column="label")],
89
  )
90
 
91
  def _vocab_text_gen(self, archive):
 
20
  import os
21
 
22
  import datasets
 
23
 
24
 
25
  _DESCRIPTION = """\
 
84
  supervised_keys=None,
85
  homepage="",
86
  citation=_CITATION,
 
87
  )
88
 
89
  def _vocab_text_gen(self, archive):