nanaaaa commited on
Commit
0bf098b
·
1 Parent(s): 54f3ee3

Update emotion_chinese_english.py

Browse files
Files changed (1) hide show
  1. emotion_chinese_english.py +1 -1
emotion_chinese_english.py CHANGED
@@ -69,4 +69,4 @@ class emotionchineseenglish(datasets.GeneratorBasedBuilder):
69
  fields = line.strip().split("\t")
70
  idx, sentence, label = fields
71
  label = _LABEL_MAPPING[int(label)]
72
- yield int(idx), {"id": int(idx), "sentence": verse_text, "label": label}
 
69
  fields = line.strip().split("\t")
70
  idx, sentence, label = fields
71
  label = _LABEL_MAPPING[int(label)]
72
+ yield int(idx), {"id": int(idx), "sentence": sentence, "label": label}