ajyy commited on
Commit
90175e5
1 Parent(s): 369efb6

Update MELD_audio.py

Browse files
Files changed (1) hide show
  1. MELD_audio.py +2 -2
MELD_audio.py CHANGED
@@ -55,8 +55,8 @@ class MELD_Audio(datasets.GeneratorBasedBuilder):
55
  "text": datasets.Value("string"),
56
  "path": datasets.Value("string"),
57
  "audio": datasets.Audio(sampling_rate=16000),
58
- "emotion": ClassLabel(names=["neutral", "joy", "sadness", "anger", "fear", "disgust", "surprise"]),
59
- "sentiment": ClassLabel(names=["neutral", "positive", "negative"]),
60
  }
61
  ),
62
  homepage=_HOMEPAGE,
 
55
  "text": datasets.Value("string"),
56
  "path": datasets.Value("string"),
57
  "audio": datasets.Audio(sampling_rate=16000),
58
+ "emotion": datasets.Value("string"), # ClassLabel(names=["neutral", "joy", "sadness", "anger", "fear", "disgust", "surprise"]),
59
+ "sentiment": datasets.Value("string"), # ClassLabel(names=["neutral", "positive", "negative"]),
60
  }
61
  ),
62
  homepage=_HOMEPAGE,