Datasets:
Update emotion_chinese_english.py
Browse files
emotion_chinese_english.py
CHANGED
@@ -33,6 +33,8 @@ _URLS = {
|
|
33 |
"test": f"https://raw.githubusercontent.com/nana-lyj/emotion_chinese_english/main/data/test.tsv",
|
34 |
}
|
35 |
|
|
|
|
|
36 |
|
37 |
class emotionchineseenglish(datasets.GeneratorBasedBuilder):
|
38 |
"""emotion_chinese_english dataset: A multilingual emotion dataset of wilde's children's literature"""
|
|
|
33 |
"test": f"https://raw.githubusercontent.com/nana-lyj/emotion_chinese_english/main/data/test.tsv",
|
34 |
}
|
35 |
|
36 |
+
_LABEL_MAPPING = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8}
|
37 |
+
|
38 |
|
39 |
class emotionchineseenglish(datasets.GeneratorBasedBuilder):
|
40 |
"""emotion_chinese_english dataset: A multilingual emotion dataset of wilde's children's literature"""
|