Datasets:
Tasks:
Automatic Speech Recognition
Formats:
parquet
Languages:
English
Size:
1M - 10M
ArXiv:
License:
return to previous script
Browse files- peoples_speech.py +1 -1
- test/test/n_files.txt +1 -2
- validation/validation/n_files.txt +1 -2
peoples_speech.py
CHANGED
@@ -110,7 +110,7 @@ class PeoplesSpeech(datasets.GeneratorBasedBuilder):
|
|
110 |
n_files_path = dl_manager.download_and_extract(n_files_url)
|
111 |
|
112 |
with open(n_files_path, encoding="utf-8") as f:
|
113 |
-
return int(
|
114 |
|
115 |
def _split_generators(self, dl_manager):
|
116 |
|
|
|
110 |
n_files_path = dl_manager.download_and_extract(n_files_url)
|
111 |
|
112 |
with open(n_files_path, encoding="utf-8") as f:
|
113 |
+
return int(f.read().strip())
|
114 |
|
115 |
def _split_generators(self, dl_manager):
|
116 |
|
test/test/n_files.txt
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
|
2 |
-
size 42
|
|
|
1 |
+
42
|
|
validation/validation/n_files.txt
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
|
2 |
-
size 24
|
|
|
1 |
+
24
|
|