Igor Shalyminov commited on
Commit
956a6cf
1 Parent(s): fba38ae

Common voice validated partition (#3669)

Browse files

* 'validated' split added to CommonVoice

* CommonVoice dataset_infos.json updated

* add dummy validated data

Co-authored-by: Igor Shalyminov
Co-authored-by: Quentin Lhoest

Commit from https://github.com/huggingface/datasets/commit/b06bf4ec036b778f1064581ec39a105f855b0af8

common_voice.py CHANGED
@@ -694,6 +694,14 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
694
  "path_to_clips": path_to_clips,
695
  },
696
  ),
 
 
 
 
 
 
 
 
697
  datasets.SplitGenerator(
698
  name="invalidated",
699
  gen_kwargs={
694
  "path_to_clips": path_to_clips,
695
  },
696
  ),
697
+ datasets.SplitGenerator(
698
+ name="validated",
699
+ gen_kwargs={
700
+ "files": dl_manager.iter_archive(archive),
701
+ "filepath": "/".join([path_to_data, "validated.tsv"]),
702
+ "path_to_clips": path_to_clips,
703
+ },
704
+ ),
705
  datasets.SplitGenerator(
706
  name="invalidated",
707
  gen_kwargs={
dataset_infos.json CHANGED
The diff for this file is too large to render. See raw diff
dummy/ab/6.1.0/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cea291508bf2b3691be7437ce49570b0bd1da9b1540196f7d9027f01bdd29f64
3
- size 11523
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85e49403f105dd492de707786bfd46d627f7fbf7b3bcb39d06ccf1256272d4a6
3
+ size 12601