system HF staff commited on
Commit
ab70cd4
1 Parent(s): adc76d5

Update files from the datasets library (from 1.9.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.9.0

Files changed (3) hide show
  1. README.md +8 -3
  2. common_voice.py +4 -0
  3. dataset_infos.json +0 -0
README.md CHANGED
@@ -1,4 +1,5 @@
1
  ---
 
2
  annotations_creators:
3
  - crowdsourced
4
  language_creators:
@@ -190,11 +191,11 @@ size_categories:
190
  zh-TW:
191
  - 10K<n<100K
192
  source_datasets:
193
- - extended|other-common-voice
194
  task_categories:
195
- - other
196
  task_ids:
197
- - other-other-automatic-speech-recognition
198
  paperswithcode_id: common-voice
199
  ---
200
 
@@ -358,3 +359,7 @@ The dataset consists of people who have donated their voice online. You agree t
358
  year = 2020
359
  }
360
  ```
 
 
 
 
 
1
  ---
2
+ pretty_name: Common Voice
3
  annotations_creators:
4
  - crowdsourced
5
  language_creators:
 
191
  zh-TW:
192
  - 10K<n<100K
193
  source_datasets:
194
+ - extended|common_voice
195
  task_categories:
196
+ - automatic-speech-recognition
197
  task_ids:
198
+ - speech-recognition
199
  paperswithcode_id: common-voice
200
  ---
201
 
 
359
  year = 2020
360
  }
361
  ```
362
+
363
+ ### Contributions
364
+
365
+ Thanks to [@BirgerMoell](https://github.com/BirgerMoell) for adding this dataset.
common_voice.py CHANGED
@@ -18,6 +18,7 @@
18
  import os
19
 
20
  import datasets
 
21
 
22
 
23
  _DATA_URL = "https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-6.1-2020-12-11/{}.tar.gz"
@@ -649,6 +650,9 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
649
  homepage=_HOMEPAGE,
650
  license=_LICENSE,
651
  citation=_CITATION,
 
 
 
652
  )
653
 
654
  def _split_generators(self, dl_manager):
 
18
  import os
19
 
20
  import datasets
21
+ from datasets.tasks import AutomaticSpeechRecognition
22
 
23
 
24
  _DATA_URL = "https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-6.1-2020-12-11/{}.tar.gz"
 
650
  homepage=_HOMEPAGE,
651
  license=_LICENSE,
652
  citation=_CITATION,
653
+ task_templates=[
654
+ AutomaticSpeechRecognition(audio_file_path_column="path", transcription_column="sentence")
655
+ ],
656
  )
657
 
658
  def _split_generators(self, dl_manager):
dataset_infos.json CHANGED
The diff for this file is too large to render. See raw diff