albertvillanova HF staff commited on
Commit
d7d9241
1 Parent(s): 1536952

Remove deprecated tasks (#14)

Browse files

- Remove deprecated tasks (4ad9a2f86f3a04206ab37cd49d626dc4358b511f)

Files changed (1) hide show
  1. common_voice.py +0 -2
common_voice.py CHANGED
@@ -19,7 +19,6 @@ import os
19
  import warnings
20
 
21
  import datasets
22
- from datasets.tasks import AutomaticSpeechRecognition
23
 
24
 
25
  _DATA_URL = "https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-6.1-2020-12-11/{}.tar.gz"
@@ -663,7 +662,6 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
663
  homepage=_HOMEPAGE,
664
  license=_LICENSE,
665
  citation=_CITATION,
666
- task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="sentence")],
667
  )
668
 
669
  def _split_generators(self, dl_manager):
 
19
  import warnings
20
 
21
  import datasets
 
22
 
23
 
24
  _DATA_URL = "https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-6.1-2020-12-11/{}.tar.gz"
 
662
  homepage=_HOMEPAGE,
663
  license=_LICENSE,
664
  citation=_CITATION,
 
665
  )
666
 
667
  def _split_generators(self, dl_manager):