Datasets:
Update emotion_chinese_english.py
Browse files
emotion_chinese_english.py
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
# See the License for the specific language governing permissions and
|
14 |
# limitations under the License.
|
15 |
-
# Version 10-0
|
16 |
"""emotion_chinese_english dataset: A multilingual emotion dataset of wilde's children's literature"""
|
17 |
|
18 |
|
@@ -48,7 +48,7 @@ class emotionchineseenglish(datasets.GeneratorBasedBuilder):
|
|
48 |
{
|
49 |
"id": datasets.Value("int32"),
|
50 |
"sentence": datasets.Value("string"),
|
51 |
-
"label": datasets.ClassLabel(names=["joy", "sadness", "anger", "fear", "love"
|
52 |
}
|
53 |
),
|
54 |
supervised_keys=None,
|
|
|
12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
# See the License for the specific language governing permissions and
|
14 |
# limitations under the License.
|
15 |
+
# Version 10-0-sad.
|
16 |
"""emotion_chinese_english dataset: A multilingual emotion dataset of wilde's children's literature"""
|
17 |
|
18 |
|
|
|
48 |
{
|
49 |
"id": datasets.Value("int32"),
|
50 |
"sentence": datasets.Value("string"),
|
51 |
+
"label": datasets.ClassLabel(names=["joy", "sadness", "anger", "fear", "love"]),
|
52 |
}
|
53 |
),
|
54 |
supervised_keys=None,
|