Attend the Women in ML Symposium on December 7 Register now

hate_offensive

参考:

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

ds = tfds.load('huggingface:hate_offensive')
  • 说明
This dataset contains annotated tweets for automated hate-speech recognition
  • 许可:无已知许可
  • 版本:1.0.0
  • 拆分
拆分 样本
'train' 24783
  • 特征
{
    "total_annotation_count": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "hate_speech_annotations": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "offensive_language_annotations": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "neither_annotations": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 3,
        "names": [
            "hate-speech",
            "offensive-language",
            "neither"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "tweet": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}