Datasets:
Tasks:
Audio Classification
Sub-tasks:
keyword-spotting
Languages:
English
Size:
10K - 100K
ArXiv:
License:
soeren
commited on
Commit
·
13bba81
1
Parent(s):
2b65083
reset to download_and_extract
Browse files
speech_commands_enriched.py
CHANGED
@@ -203,21 +203,21 @@ class SpeechCommands(datasets.GeneratorBasedBuilder):
|
|
203 |
datasets.SplitGenerator(
|
204 |
name=datasets.Split.TRAIN,
|
205 |
gen_kwargs={
|
206 |
-
"archive_path": dl_manager.
|
207 |
"metadata": pd.read_parquet(metadata_paths["train"]),
|
208 |
},
|
209 |
),
|
210 |
datasets.SplitGenerator(
|
211 |
name=datasets.Split.VALIDATION,
|
212 |
gen_kwargs={
|
213 |
-
"archive_path": dl_manager.
|
214 |
"metadata": pd.read_parquet(metadata_paths["validation"]),
|
215 |
},
|
216 |
),
|
217 |
datasets.SplitGenerator(
|
218 |
name=datasets.Split.TEST,
|
219 |
gen_kwargs={
|
220 |
-
"archive_path": dl_manager.
|
221 |
"metadata": pd.read_parquet(metadata_paths["test"]),
|
222 |
},
|
223 |
),
|
|
|
203 |
datasets.SplitGenerator(
|
204 |
name=datasets.Split.TRAIN,
|
205 |
gen_kwargs={
|
206 |
+
"archive_path": dl_manager.download_and_extract(archive_paths["train"]),
|
207 |
"metadata": pd.read_parquet(metadata_paths["train"]),
|
208 |
},
|
209 |
),
|
210 |
datasets.SplitGenerator(
|
211 |
name=datasets.Split.VALIDATION,
|
212 |
gen_kwargs={
|
213 |
+
"archive_path": dl_manager.download_and_extract(archive_paths["validation"]),
|
214 |
"metadata": pd.read_parquet(metadata_paths["validation"]),
|
215 |
},
|
216 |
),
|
217 |
datasets.SplitGenerator(
|
218 |
name=datasets.Split.TEST,
|
219 |
gen_kwargs={
|
220 |
+
"archive_path": dl_manager.download_and_extract(archive_paths["test"]),
|
221 |
"metadata": pd.read_parquet(metadata_paths["test"]),
|
222 |
},
|
223 |
),
|