Hans

Les références:

texte_plain

Utilisez la commande suivante pour charger cet ensemble de données dans TFDS :

ds = tfds.load('huggingface:hans/plain_text')
  • Description :
The HANS dataset is an NLI evaluation set that tests specific hypotheses about invalid heuristics that NLI models are likely to learn.
  • Licence : Aucune licence connue
  • Version : 1.0.0
  • Divisions :
Diviser Exemples
'train' 30000
'validation' 30000
  • Caractéristiques :
{
    "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"
    }
}