emotion

参考:

使用以下命令在 TFDS 中加载此数据集:

ds = tfds.load('huggingface:emotion')
  • 说明
Emotion is a dataset of English Twitter messages with six basic emotions: anger, fear, joy, love, sadness, and surprise. For more detailed information please refer to the paper.
  • 许可:无已知许可
  • 版本:0.0.0
  • 拆分
拆分 样本
'test' 2000
'train' 16000
'validation' 2000
  • 特征
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 6,
        "names": [
            "sadness",
            "joy",
            "love",
            "anger",
            "fear",
            "surprise"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    }
}