Attend the Women in ML Symposium on December 7 Register now

hate_speech_offensive

参考:

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

ds = tfds.load('huggingface:hate_speech_offensive')
  • 说明
An annotated dataset for hate speech and offensive language detection on tweets.
  • 许可:MIT
  • 版本:1.0.0
  • 拆分
拆分 样本
'train' 24783
  • 特征
{
    "count": {
        "dtype": "int64",
        "id": null,
        "_type": "Value"
    },
    "hate_speech_count": {
        "dtype": "int64",
        "id": null,
        "_type": "Value"
    },
    "offensive_language_count": {
        "dtype": "int64",
        "id": null,
        "_type": "Value"
    },
    "neither_count": {
        "dtype": "int64",
        "id": null,
        "_type": "Value"
    },
    "class": {
        "num_classes": 3,
        "names": [
            "hate speech",
            "offensive language",
            "neither"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "tweet": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}