hate_speech_portuguese

อ้างอิง:

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:hate_speech_portuguese')
  • คำอธิบาย :
Portuguese dataset for hate speech detection composed of 5,668 tweets with binary annotations (i.e. 'hate' vs. 'no-hate').
  • ใบอนุญาต : ไม่ทราบ
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'train' 5670
  • คุณสมบัติ :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 2,
        "names": [
            "no-hate",
            "hate"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "hatespeech_G1": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "annotator_G1": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "hatespeech_G2": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "annotator_G2": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "hatespeech_G3": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "annotator_G3": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}