phongdtd commited on
Commit
4bf433a
1 Parent(s): 2109ac9

[Update] Edit version -> x.y.z

Browse files
Files changed (3) hide show
  1. .gitignore +2 -0
  2. custom_common_voice.py +4 -11
  3. dataset_infos.json +2 -2
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ /venv/
2
+ /.idea
custom_common_voice.py CHANGED
@@ -87,17 +87,10 @@ class CustomCommonVoice(datasets.GeneratorBasedBuilder):
87
  def _info(self):
88
  features = datasets.Features(
89
  {
90
- "client_id": datasets.Value("string"),
91
- "path": datasets.Value("string"),
92
- "audio": datasets.Audio(sampling_rate=48_000),
93
- "sentence": datasets.Value("string"),
94
- "up_votes": datasets.Value("int64"),
95
- "down_votes": datasets.Value("int64"),
96
- "age": datasets.Value("string"),
97
- "gender": datasets.Value("string"),
98
- "accent": datasets.Value("string"),
99
- "locale": datasets.Value("string"),
100
- "segment": datasets.Value("string"),
101
  }
102
  )
103
 
 
87
  def _info(self):
88
  features = datasets.Features(
89
  {
90
+ "file_path": datasets.Value("string"),
91
+ "audio": datasets.Audio(sampling_rate=16_000),
92
+ "script": datasets.Value("string"),
93
+ "duration": datasets.Value("float16")
 
 
 
 
 
 
 
94
  }
95
  )
96
 
dataset_infos.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3b538721de160b475f8b25377e577d8e8c3dd490c59fdb6839275afc8d5e4c61
3
- size 2787
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56bd3df0bb0aa3498991e8e313cc4e68504a0f3413aa6dfcc2712d61e31db839
3
+ size 1708