Initial commit with my dataset
Browse files- .gitignore +4 -1
- nena_speech_1_0.py +2 -1
.gitignore
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
2 |
venv
|
3 |
|
4 |
# MacOS
|
|
|
1 |
+
# development
|
2 |
+
_tests.ipynb
|
3 |
+
|
4 |
+
# python
|
5 |
venv
|
6 |
|
7 |
# MacOS
|
nena_speech_1_0.py
CHANGED
@@ -63,10 +63,11 @@ class NENASpeech(datasets.GeneratorBasedBuilder):
|
|
63 |
)
|
64 |
features = datasets.Features(
|
65 |
{
|
66 |
-
"age": datasets.Value("string"),
|
67 |
"transcription": datasets.Value("string"),
|
68 |
"translation": datasets.Value("string"),
|
|
|
69 |
"path": datasets.Value("string"),
|
|
|
70 |
}
|
71 |
)
|
72 |
|
|
|
63 |
)
|
64 |
features = datasets.Features(
|
65 |
{
|
|
|
66 |
"transcription": datasets.Value("string"),
|
67 |
"translation": datasets.Value("string"),
|
68 |
+
"audio": datasets.features.Audio(sampling_rate=48_000),
|
69 |
"path": datasets.Value("string"),
|
70 |
+
"age": datasets.Value("string"),
|
71 |
}
|
72 |
)
|
73 |
|