albertvillanova HF staff commited on
Commit
fe4401d
1 Parent(s): 8286fc8

Support streaming by hosting data file (#4)

Browse files

- Host data file in ZIP archive (6bb41b309cefc0279727c560546c413ea87e5c08)
- Update loading script (96cd58916d48c301ef3335c5fd8488d82853c9e7)
- Delete legacy metadata JSON file (1cd09e97379c40fa0499f3a6bb5f7e1797b1359c)

common_language.py CHANGED
@@ -21,7 +21,7 @@ import os
21
  import datasets
22
 
23
 
24
- _DATA_URL = "https://zenodo.org/record/5036977/files/CommonLanguage.tar.gz?download=1"
25
 
26
  _CITATION = """\
27
  @dataset{ganesh_sinisetty_2021_5036977,
 
21
  import datasets
22
 
23
 
24
+ _DATA_URL = "data/CommonLanguage.zip"
25
 
26
  _CITATION = """\
27
  @dataset{ganesh_sinisetty_2021_5036977,
data/CommonLanguage.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c986677cd5a6d1067fbbee8fbff3ffa862e14cdc214a47eb364afe738b1a84d
3
+ size 3778055905
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"full": {"description": "This dataset is composed of speech recordings from languages that were carefully selected from the CommonVoice database.\nThe total duration of audio recordings is 45.1 hours (i.e., 1 hour of material for each language).\nThe dataset has been extracted from CommonVoice to train language-id systems.\n", "citation": "@dataset{ganesh_sinisetty_2021_5036977,\n author = {Ganesh Sinisetty and\n Pavlo Ruban and\n Oleksandr Dymov and\n Mirco Ravanelli},\n title = {CommonLanguage},\n month = jun,\n year = 2021,\n publisher = {Zenodo},\n version = {0.1},\n doi = {10.5281/zenodo.5036977},\n url = {https://doi.org/10.5281/zenodo.5036977}\n}\n", "homepage": "https://zenodo.org/record/5036977", "license": "https://creativecommons.org/licenses/by/4.0/legalcode", "features": {"client_id": {"dtype": "string", "id": null, "_type": "Value"}, "path": {"dtype": "string", "id": null, "_type": "Value"}, "sentence": {"dtype": "string", "id": null, "_type": "Value"}, "age": {"dtype": "string", "id": null, "_type": "Value"}, "gender": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"num_classes": 45, "names": ["Arabic", "Basque", "Breton", "Catalan", "Chinese_China", "Chinese_Hongkong", "Chinese_Taiwan", "Chuvash", "Czech", "Dhivehi", "Dutch", "English", "Esperanto", "Estonian", "French", "Frisian", "Georgian", "German", "Greek", "Hakha_Chin", "Indonesian", "Interlingua", "Italian", "Japanese", "Kabyle", "Kinyarwanda", "Kyrgyz", "Latvian", "Maltese", "Mangolian", "Persian", "Polish", "Portuguese", "Romanian", "Romansh_Sursilvan", "Russian", "Sakha", "Slovenian", "Spanish", "Swedish", "Tamil", "Tatar", "Turkish", "Ukranian", "Welsh"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "common_language", "config_name": "full", "version": {"version_str": "0.1.0", "description": null, "major": 0, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 7116761, "num_examples": 22194, "dataset_name": "common_language"}, "validation": {"name": "validation", "num_bytes": 1855233, "num_examples": 5888, "dataset_name": "common_language"}, "test": {"name": "test", "num_bytes": 1877970, "num_examples": 5963, "dataset_name": "common_language"}}, "download_checksums": {"https://zenodo.org/record/5036977/files/CommonLanguage.tar.gz?download=1": {"num_bytes": 3761951178, "checksum": "94bde611700887527c223363bb1d2a22d0a5b55e0e381c5dc74ad67b06a267d7"}}, "download_size": 3761951178, "post_processing_size": null, "dataset_size": 10849964, "size_in_bytes": 3772801142}}