albertvillanova HF staff commited on
Commit
9694a09
1 Parent(s): 8a4dd8a

Remove deprecated tasks (#2)

Browse files

- Remove deprecated tasks (58200f485b619dff26053e40220fa249754b32d4)

Files changed (1) hide show
  1. conversational_dummy.py +0 -5
conversational_dummy.py CHANGED
@@ -18,7 +18,6 @@
18
 
19
 
20
  import datasets
21
- from datasets.tasks import AutomaticSpeechRecognition
22
 
23
 
24
  _CITATION = ""
@@ -32,13 +31,11 @@ class AsrDummyConfig(datasets.BuilderConfig):
32
  self,
33
  data_url,
34
  url,
35
- task_templates=None,
36
  **kwargs,
37
  ):
38
  super().__init__(version=datasets.Version("1.9.0", ""), **kwargs)
39
  self.data_url = data_url
40
  self.url = url
41
- self.task_templates = task_templates
42
 
43
 
44
  class AsrDummy(datasets.GeneratorBasedBuilder):
@@ -50,7 +47,6 @@ class AsrDummy(datasets.GeneratorBasedBuilder):
50
  description="",
51
  url="",
52
  data_url="",
53
- task_templates=[],
54
  )
55
  ]
56
 
@@ -74,7 +70,6 @@ class AsrDummy(datasets.GeneratorBasedBuilder):
74
  supervised_keys=("file",),
75
  homepage=self.config.url,
76
  citation=_CITATION,
77
- task_templates=self.config.task_templates,
78
  )
79
 
80
  def _split_generators(self, dl_manager):
 
18
 
19
 
20
  import datasets
 
21
 
22
 
23
  _CITATION = ""
 
31
  self,
32
  data_url,
33
  url,
 
34
  **kwargs,
35
  ):
36
  super().__init__(version=datasets.Version("1.9.0", ""), **kwargs)
37
  self.data_url = data_url
38
  self.url = url
 
39
 
40
 
41
  class AsrDummy(datasets.GeneratorBasedBuilder):
 
47
  description="",
48
  url="",
49
  data_url="",
 
50
  )
51
  ]
52
 
 
70
  supervised_keys=("file",),
71
  homepage=self.config.url,
72
  citation=_CITATION,
 
73
  )
74
 
75
  def _split_generators(self, dl_manager):