Use audio feature in ASR task template (#4006)
Browse files* use audio feature in ASR task template
* update datasets
* update tests
* typo
* update dataset_infos.json
Commit from https://github.com/huggingface/datasets/commit/32e0e79aa57b36a269b6f2ee38449a043a393e50
- openslr.py +1 -3
openslr.py
CHANGED
@@ -550,9 +550,7 @@ class OpenSlr(datasets.GeneratorBasedBuilder):
|
|
550 |
homepage=_HOMEPAGE,
|
551 |
license=_LICENSE,
|
552 |
citation=_CITATION,
|
553 |
-
task_templates=[
|
554 |
-
AutomaticSpeechRecognition(audio_file_path_column="path", transcription_column="sentence")
|
555 |
-
],
|
556 |
)
|
557 |
|
558 |
def _split_generators(self, dl_manager):
|
|
|
550 |
homepage=_HOMEPAGE,
|
551 |
license=_LICENSE,
|
552 |
citation=_CITATION,
|
553 |
+
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="sentence")],
|
|
|
|
|
554 |
)
|
555 |
|
556 |
def _split_generators(self, dl_manager):
|