ฮัน

อ้างอิง:

plain_text

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

ds = tfds.load('huggingface:hans/plain_text')
  • คำอธิบาย :
The HANS dataset is an NLI evaluation set that tests specific hypotheses about invalid heuristics that NLI models are likely to learn.
  • ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'train' 30000
'validation' 30000
  • คุณสมบัติ :
{
    "premise": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "hypothesis": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 2,
        "names": [
            "entailment",
            "non-entailment"
        ],
        "id": null,
        "_type": "ClassLabel"
    },
    "parse_premise": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "parse_hypothesis": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "binary_parse_premise": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "binary_parse_hypothesis": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "heuristic": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "subcase": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "template": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}