lhoestq HF staff commited on
Commit
169a91d
1 Parent(s): 0237683

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

dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"polish": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_file_path_column": "file", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "polish", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 16136430, "num_examples": 25043, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1383232, "num_examples": 2173, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 145411, "num_examples": 238, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 318964, "num_examples": 512, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 332317, "num_examples": 520, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_polish.tar.gz": {"num_bytes": 6609569551, "checksum": "f911a08c4019891cc85b08995dc0f171e16d201037c02f69023beecef5b51d61"}}, "download_size": 6609569551, "post_processing_size": null, "dataset_size": 18316354, "size_in_bytes": 6627885905}, "german": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_file_path_column": "file", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "german", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 277089334, "num_examples": 469942, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1325460, "num_examples": 2194, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 145998, "num_examples": 241, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 2160779, "num_examples": 3469, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 2131177, "num_examples": 3394, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_german.tar.gz": {"num_bytes": 122944886305, "checksum": "cea7912396a33cc599f86221f612a2eb1004b98ece3f60124710555eb5134b5c"}}, "download_size": 122944886305, "post_processing_size": null, "dataset_size": 282852748, "size_in_bytes": 123227739053}, "dutch": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_file_path_column": "file", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "dutch", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 218648573, "num_examples": 374287, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1281951, "num_examples": 2153, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 141672, "num_examples": 234, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 1984165, "num_examples": 3095, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 1945428, "num_examples": 3075, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_dutch.tar.gz": {"num_bytes": 92158429530, "checksum": "f2c4b3deb5b918786c1819bc907adac8dd01413478bf3e51f3021aa66cc5a692"}}, "download_size": 92158429530, "post_processing_size": null, "dataset_size": 224001789, "size_in_bytes": 92382431319}, "french": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_file_path_column": "file", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "french", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 162009691, "num_examples": 258213, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1347707, "num_examples": 2167, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 146699, "num_examples": 241, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 1482961, "num_examples": 2416, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 1539152, "num_examples": 2426, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_french.tar.gz": {"num_bytes": 64474642518, "checksum": "6e02cd822be42067a9b2b79dff65b4421295686471f16efde226baae4e7c7033"}}, "download_size": 64474642518, "post_processing_size": null, "dataset_size": 166526210, "size_in_bytes": 64641168728}, "spanish": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_file_path_column": "file", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "spanish", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 136743162, "num_examples": 220701, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1288180, "num_examples": 2110, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 138734, "num_examples": 233, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 1463115, "num_examples": 2408, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 1464565, "num_examples": 2385, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_spanish.tar.gz": {"num_bytes": 53296894035, "checksum": "3cd4b1e8f40499d5a8b2834a1cc679a4673df5acb25bfd0ded1742ec451bc2f0"}}, "download_size": 53296894035, "post_processing_size": null, "dataset_size": 141097756, "size_in_bytes": 53437991791}, "italian": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_file_path_column": "file", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "italian", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 36008104, "num_examples": 59623, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1325927, "num_examples": 2173, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 145006, "num_examples": 240, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 732210, "num_examples": 1248, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 746977, "num_examples": 1262, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_italian.tar.gz": {"num_bytes": 15395281399, "checksum": "cfb0a5cc22e6e25982c7ee235fd068c1756901ab9e1cbb97bf18f0583e771902"}}, "download_size": 15395281399, "post_processing_size": null, "dataset_size": 38958224, "size_in_bytes": 15434239623}, "portuguese": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_file_path_column": "file", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "portuguese", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 23036487, "num_examples": 37533, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1305698, "num_examples": 2116, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 143781, "num_examples": 236, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 512463, "num_examples": 826, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 549893, "num_examples": 871, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_portuguese.tar.gz": {"num_bytes": 9982803818, "checksum": "89bed1e0ba5acb6f69da14e7063d4a3c3999d13c11af50ae652a3ced80f39164"}}, "download_size": 9982803818, "post_processing_size": null, "dataset_size": 25548322, "size_in_bytes": 10008352140}}
 
1
+ {"polish": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_column": "audio", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "polish", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 16136430, "num_examples": 25043, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1383232, "num_examples": 2173, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 145411, "num_examples": 238, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 318964, "num_examples": 512, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 332317, "num_examples": 520, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_polish.tar.gz": {"num_bytes": 6609569551, "checksum": "f911a08c4019891cc85b08995dc0f171e16d201037c02f69023beecef5b51d61"}}, "download_size": 6609569551, "post_processing_size": null, "dataset_size": 18316354, "size_in_bytes": 6627885905}, "german": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_column": "audio", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "german", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 277089334, "num_examples": 469942, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1325460, "num_examples": 2194, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 145998, "num_examples": 241, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 2160779, "num_examples": 3469, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 2131177, "num_examples": 3394, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_german.tar.gz": {"num_bytes": 122944886305, "checksum": "cea7912396a33cc599f86221f612a2eb1004b98ece3f60124710555eb5134b5c"}}, "download_size": 122944886305, "post_processing_size": null, "dataset_size": 282852748, "size_in_bytes": 123227739053}, "dutch": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_column": "audio", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "dutch", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 218648573, "num_examples": 374287, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1281951, "num_examples": 2153, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 141672, "num_examples": 234, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 1984165, "num_examples": 3095, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 1945428, "num_examples": 3075, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_dutch.tar.gz": {"num_bytes": 92158429530, "checksum": "f2c4b3deb5b918786c1819bc907adac8dd01413478bf3e51f3021aa66cc5a692"}}, "download_size": 92158429530, "post_processing_size": null, "dataset_size": 224001789, "size_in_bytes": 92382431319}, "french": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_column": "audio", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "french", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 162009691, "num_examples": 258213, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1347707, "num_examples": 2167, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 146699, "num_examples": 241, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 1482961, "num_examples": 2416, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 1539152, "num_examples": 2426, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_french.tar.gz": {"num_bytes": 64474642518, "checksum": "6e02cd822be42067a9b2b79dff65b4421295686471f16efde226baae4e7c7033"}}, "download_size": 64474642518, "post_processing_size": null, "dataset_size": 166526210, "size_in_bytes": 64641168728}, "spanish": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_column": "audio", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "spanish", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 136743162, "num_examples": 220701, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1288180, "num_examples": 2110, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 138734, "num_examples": 233, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 1463115, "num_examples": 2408, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 1464565, "num_examples": 2385, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_spanish.tar.gz": {"num_bytes": 53296894035, "checksum": "3cd4b1e8f40499d5a8b2834a1cc679a4673df5acb25bfd0ded1742ec451bc2f0"}}, "download_size": 53296894035, "post_processing_size": null, "dataset_size": 141097756, "size_in_bytes": 53437991791}, "italian": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_column": "audio", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "italian", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 36008104, "num_examples": 59623, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1325927, "num_examples": 2173, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 145006, "num_examples": 240, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 732210, "num_examples": 1248, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 746977, "num_examples": 1262, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_italian.tar.gz": {"num_bytes": 15395281399, "checksum": "cfb0a5cc22e6e25982c7ee235fd068c1756901ab9e1cbb97bf18f0583e771902"}}, "download_size": 15395281399, "post_processing_size": null, "dataset_size": 38958224, "size_in_bytes": 15434239623}, "portuguese": {"description": "Multilingual LibriSpeech (MLS) dataset is a large multilingual corpus suitable for speech research. The dataset is derived from read audiobooks from LibriVox and consists of 8 languages - English, German, Dutch, Spanish, French, Italian, Portuguese, Polish.\n", "citation": "@article{Pratap2020MLSAL,\n title={MLS: A Large-Scale Multilingual Dataset for Speech Research},\n author={Vineel Pratap and Qiantong Xu and Anuroop Sriram and Gabriel Synnaeve and Ronan Collobert},\n journal={ArXiv},\n year={2020},\n volume={abs/2012.03411}\n}\n", "homepage": "http://www.openslr.org/94", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "audio": {"sampling_rate": 16000, "mono": true, "id": null, "_type": "Audio"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "speaker_id": {"dtype": "int64", "id": null, "_type": "Value"}, "chapter_id": {"dtype": "int64", "id": null, "_type": "Value"}, "id": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_column": "audio", "transcription_column": "text"}], "builder_name": "multilingual_librispeech", "config_name": "portuguese", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 23036487, "num_examples": 37533, "dataset_name": "multilingual_librispeech"}, "train.9h": {"name": "train.9h", "num_bytes": 1305698, "num_examples": 2116, "dataset_name": "multilingual_librispeech"}, "train.1h": {"name": "train.1h", "num_bytes": 143781, "num_examples": 236, "dataset_name": "multilingual_librispeech"}, "validation": {"name": "validation", "num_bytes": 512463, "num_examples": 826, "dataset_name": "multilingual_librispeech"}, "test": {"name": "test", "num_bytes": 549893, "num_examples": 871, "dataset_name": "multilingual_librispeech"}}, "download_checksums": {"https://dl.fbaipublicfiles.com/mls/mls_portuguese.tar.gz": {"num_bytes": 9982803818, "checksum": "89bed1e0ba5acb6f69da14e7063d4a3c3999d13c11af50ae652a3ced80f39164"}}, "download_size": 9982803818, "post_processing_size": null, "dataset_size": 25548322, "size_in_bytes": 10008352140}}
multilingual_librispeech.py CHANGED
@@ -85,7 +85,7 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
85
  supervised_keys=("file", "text"),
86
  homepage=_URL,
87
  citation=_CITATION,
88
- task_templates=[AutomaticSpeechRecognition(audio_file_path_column="file", transcription_column="text")],
89
  )
90
 
91
  def _split_generators(self, dl_manager):
 
85
  supervised_keys=("file", "text"),
86
  homepage=_URL,
87
  citation=_CITATION,
88
+ task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
89
  )
90
 
91
  def _split_generators(self, dl_manager):