phongdtd commited on
Commit
29cd8e8
·
1 Parent(s): 9d8f723

[Update] update

Browse files
Files changed (2) hide show
  1. custom_common_voice.py +10 -10
  2. dataset_infos.json +2 -2
custom_common_voice.py CHANGED
@@ -115,7 +115,7 @@ class CustomCommonVoice(datasets.GeneratorBasedBuilder):
115
  name=datasets.Split.TRAIN,
116
  gen_kwargs={
117
  "files": dl_manager.iter_archive(archive),
118
- "filepath": "/".join([path_to_data, "train_custom_common_voice.csv"]),
119
  "path_to_clips": path_to_clips,
120
  },
121
  ),
@@ -123,18 +123,18 @@ class CustomCommonVoice(datasets.GeneratorBasedBuilder):
123
  name=datasets.Split.TEST,
124
  gen_kwargs={
125
  "files": dl_manager.iter_archive(archive),
126
- "filepath": "/".join([path_to_data, "test_custom_common_voice.csv"]),
 
 
 
 
 
 
 
 
127
  "path_to_clips": path_to_clips,
128
  },
129
  ),
130
- # datasets.SplitGenerator(
131
- # name=datasets.Split.VALIDATION,
132
- # gen_kwargs={
133
- # "files": dl_manager.iter_archive(archive),
134
- # "filepath": "/".join([path_to_data, "dev.tsv"]),
135
- # "path_to_clips": path_to_clips,
136
- # },
137
- # ),
138
  # datasets.SplitGenerator(
139
  # name="other",
140
  # gen_kwargs={
 
115
  name=datasets.Split.TRAIN,
116
  gen_kwargs={
117
  "files": dl_manager.iter_archive(archive),
118
+ "filepath": "/".join([path_to_data, "train_custom_common_voice.tsv"]),
119
  "path_to_clips": path_to_clips,
120
  },
121
  ),
 
123
  name=datasets.Split.TEST,
124
  gen_kwargs={
125
  "files": dl_manager.iter_archive(archive),
126
+ "filepath": "/".join([path_to_data, "test_custom_common_voice.tsv"]),
127
+ "path_to_clips": path_to_clips,
128
+ },
129
+ ),
130
+ datasets.SplitGenerator(
131
+ name=datasets.Split.VALIDATION,
132
+ gen_kwargs={
133
+ "files": dl_manager.iter_archive(archive),
134
+ "filepath": "/".join([path_to_data, "val_custom_common_voice.tsv"]),
135
  "path_to_clips": path_to_clips,
136
  },
137
  ),
 
 
 
 
 
 
 
 
138
  # datasets.SplitGenerator(
139
  # name="other",
140
  # gen_kwargs={
dataset_infos.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1b7616ba750f8cbd168ce394711daf963abd966a0f5a2e5220f99775bb16d43e
3
- size 2007
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4bb652d31237b1f0537452b0c2a64f081948f7d11e8a6aed8bfa9ac80ad3127
3
+ size 2009