albertvillanova HF staff commited on
Commit
15d0e71
1 Parent(s): 9748209

Remove deprecated tasks (#2)

Browse files

- Remove deprecated tasks (cedeacccfc08eef7f8dd18f5b7d89ca7e3b1cc4a)

Files changed (1) hide show
  1. superb_demo.py +0 -4
superb_demo.py CHANGED
@@ -22,7 +22,6 @@ import os
22
  import textwrap
23
 
24
  import datasets
25
- from datasets.tasks import AutomaticSpeechRecognition
26
 
27
  _CITATION = """\
28
  @article{DBLP:journals/corr/abs-2105-01051,
@@ -106,7 +105,6 @@ class SuperbConfig(datasets.BuilderConfig):
106
  url,
107
  data_url=None,
108
  supervised_keys=None,
109
- task_templates=None,
110
  **kwargs,
111
  ):
112
  super().__init__(version=datasets.Version("1.9.0", ""), **kwargs)
@@ -114,7 +112,6 @@ class SuperbConfig(datasets.BuilderConfig):
114
  self.data_url = data_url
115
  self.url = url
116
  self.supervised_keys = supervised_keys
117
- self.task_templates = task_templates
118
 
119
 
120
  class Superb(datasets.GeneratorBasedBuilder):
@@ -273,7 +270,6 @@ class Superb(datasets.GeneratorBasedBuilder):
273
  supervised_keys=self.config.supervised_keys,
274
  homepage=self.config.url,
275
  citation=_CITATION,
276
- task_templates=self.config.task_templates,
277
  )
278
 
279
  def _split_generators(self, dl_manager):
 
22
  import textwrap
23
 
24
  import datasets
 
25
 
26
  _CITATION = """\
27
  @article{DBLP:journals/corr/abs-2105-01051,
 
105
  url,
106
  data_url=None,
107
  supervised_keys=None,
 
108
  **kwargs,
109
  ):
110
  super().__init__(version=datasets.Version("1.9.0", ""), **kwargs)
 
112
  self.data_url = data_url
113
  self.url = url
114
  self.supervised_keys = supervised_keys
 
115
 
116
 
117
  class Superb(datasets.GeneratorBasedBuilder):
 
270
  supervised_keys=self.config.supervised_keys,
271
  homepage=self.config.url,
272
  citation=_CITATION,
 
273
  )
274
 
275
  def _split_generators(self, dl_manager):