[Update] Edit version -> x.y.z
Browse files- .gitignore +2 -0
- custom_common_voice.py +4 -11
- 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 |
-
"
|
| 91 |
-
"
|
| 92 |
-
"
|
| 93 |
-
"
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56bd3df0bb0aa3498991e8e313cc4e68504a0f3413aa6dfcc2712d61e31db839
|
| 3 |
+
size 1708
|