crows_pairs

参考:

crows_pairs

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

ds = tfds.load('huggingface:crows_pairs/crows_pairs')
  • 说明
CrowS-Pairs, a challenge dataset for measuring the degree to which U.S. stereotypical biases present in the masked language models (MLMs).
  • 许可:无已知许可
  • 版本:1.0.0
  • 拆分
拆分 样本
'test' 1508
  • 特征
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "sent_more": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "sent_less": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "stereo_antistereo": {
        "num_classes": 2,
        "names": [
            "stereo",
            "antistereo"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "bias_type": {
        "num_classes": 9,
        "names": [
            "race-color",
            "socioeconomic",
            "gender",
            "disability",
            "nationality",
            "sexual-orientation",
            "physical-appearance",
            "religion",
            "age"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "annotations": {
        "feature": {
            "feature": {
                "num_classes": 9,
                "names": [
                    "race-color",
                    "socioeconomic",
                    "gender",
                    "disability",
                    "nationality",
                    "sexual-orientation",
                    "physical-appearance",
                    "religion",
                    "age"
                ],
                "names_file": null,
                "id": null,
                "_type": "ClassLabel"
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "anon_writer": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "anon_annotators": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}