KELONMYOSA
commited on
Commit
•
3ec0f8e
1
Parent(s):
60db88d
string -> class label
Browse files- dusha_emotion_audio.py +1 -1
dusha_emotion_audio.py
CHANGED
@@ -25,7 +25,7 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
25 |
{
|
26 |
"file": datasets.Value("string"),
|
27 |
"audio": datasets.Audio(sampling_rate=16_000),
|
28 |
-
"label": datasets.
|
29 |
}
|
30 |
),
|
31 |
supervised_keys=None,
|
|
|
25 |
{
|
26 |
"file": datasets.Value("string"),
|
27 |
"audio": datasets.Audio(sampling_rate=16_000),
|
28 |
+
"label": datasets.ClassLabel(num_classes=5, names=['neutral', 'positive', 'sad', 'angry', 'other']),
|
29 |
}
|
30 |
),
|
31 |
supervised_keys=None,
|