Justyna Krzywdziak
commited on
Commit
·
90aaabd
1
Parent(s):
6ddcca5
fixes
Browse files
MOCKS.py
CHANGED
|
@@ -42,7 +42,7 @@ audio testset for evaluation and benchmarking Open-Vocabulary Keyword Spotting (
|
|
| 42 |
|
| 43 |
_BASE_URL = "https://huggingface.co/datasets/voiceintelligenceresearch/MOCKS/tree/main"
|
| 44 |
_DL_URL = "https://huggingface.co/datasets/voiceintelligenceresearch/MOCKS/blob/main/"
|
| 45 |
-
_TR_URL = "https://huggingface.co/datasets/voiceintelligenceresearch/MOCKS/
|
| 46 |
_DL_URLS = {
|
| 47 |
"de.MCV": {
|
| 48 |
"offline": _DL_URL + "de/MCV/test/offline/data.tar.gz",
|
|
@@ -479,7 +479,6 @@ class Mocks(datasets.GeneratorBasedBuilder):
|
|
| 479 |
trans_col_name = "adversary_keyword_transcription"
|
| 480 |
|
| 481 |
with open(transcription, encoding="utf-8") as f:
|
| 482 |
-
next(f)
|
| 483 |
for row in f:
|
| 484 |
r = row.split(r"\t")
|
| 485 |
print(row)
|
|
|
|
| 42 |
|
| 43 |
_BASE_URL = "https://huggingface.co/datasets/voiceintelligenceresearch/MOCKS/tree/main"
|
| 44 |
_DL_URL = "https://huggingface.co/datasets/voiceintelligenceresearch/MOCKS/blob/main/"
|
| 45 |
+
_TR_URL = "https://huggingface.co/datasets/voiceintelligenceresearch/MOCKS/blob/main/"
|
| 46 |
_DL_URLS = {
|
| 47 |
"de.MCV": {
|
| 48 |
"offline": _DL_URL + "de/MCV/test/offline/data.tar.gz",
|
|
|
|
| 479 |
trans_col_name = "adversary_keyword_transcription"
|
| 480 |
|
| 481 |
with open(transcription, encoding="utf-8") as f:
|
|
|
|
| 482 |
for row in f:
|
| 483 |
r = row.split(r"\t")
|
| 484 |
print(row)
|