wino_bias

مراجع:

wino_bias

برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:

ds = tfds.load('huggingface:wino_bias/wino_bias')
  • توضیحات :
WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.
The corpus contains Winograd-schema style sentences with entities corresponding to people
referred by their occupation (e.g. the nurse, the doctor, the carpenter).
تقسیم کنید نمونه ها
'train' 150335
  • ویژگی ها :
{
    "document_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "part_number": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "word_number": {
        "feature": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "pos_tags": {
        "feature": {
            "num_classes": 54,
            "names": [
                "\"",
                "''",
                "#",
                "$",
                "(",
                ")",
                ",",
                ".",
                ":",
                "``",
                "CC",
                "CD",
                "DT",
                "EX",
                "FW",
                "IN",
                "JJ",
                "JJR",
                "JJS",
                "LS",
                "MD",
                "NN",
                "NNP",
                "NNPS",
                "NNS",
                "NN|SYM",
                "PDT",
                "POS",
                "PRP",
                "PRP$",
                "RB",
                "RBR",
                "RBS",
                "RP",
                "SYM",
                "TO",
                "UH",
                "VB",
                "VBD",
                "VBG",
                "VBN",
                "VBP",
                "VBZ",
                "WDT",
                "WP",
                "WP$",
                "WRB",
                "HYPH",
                "XX",
                "NFP",
                "AFX",
                "ADD",
                "-LRB-",
                "-RRB-"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "parse_bit": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_lemma": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_framenet_id": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "word_sense": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "speaker": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "ner_tags": {
        "feature": {
            "num_classes": 38,
            "names": [
                "B-PERSON",
                "I-PERSON",
                "B-NORP",
                "I-NORP",
                "B-FAC",
                "I-FAC",
                "B-ORG",
                "I-ORG",
                "B-GPE",
                "I-GPE",
                "B-LOC",
                "I-LOC",
                "B-PRODUCT",
                "I-PRODUCT",
                "B-EVENT",
                "I-EVENT",
                "B-WORK_OF_ART",
                "I-WORK_OF_ART",
                "B-LAW",
                "I-LAW",
                "B-LANGUAGE",
                "I-LANGUAGE",
                "B-DATE",
                "I-DATE",
                "B-TIME",
                "I-TIME",
                "B-PERCENT",
                "I-PERCENT",
                "B-MONEY",
                "I-MONEY",
                "B-QUANTITY",
                "I-QUANTITY",
                "B-ORDINAL",
                "I-ORDINAL",
                "B-CARDINAL",
                "I-CARDINAL",
                "*",
                "0"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "verbal_predicates": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}

type1_pro

برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:

ds = tfds.load('huggingface:wino_bias/type1_pro')
  • توضیحات :
WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.
The corpus contains Winograd-schema style sentences with entities corresponding to people
referred by their occupation (e.g. the nurse, the doctor, the carpenter).
تقسیم کنید نمونه ها
'test' 396
'validation' 396
  • ویژگی ها :
{
    "document_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "part_number": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "word_number": {
        "feature": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "pos_tags": {
        "feature": {
            "num_classes": 55,
            "names": [
                "\"",
                "''",
                "#",
                "$",
                "(",
                ")",
                ",",
                ".",
                ":",
                "``",
                "CC",
                "CD",
                "DT",
                "EX",
                "FW",
                "IN",
                "JJ",
                "JJR",
                "JJS",
                "LS",
                "MD",
                "NN",
                "NNP",
                "NNPS",
                "NNS",
                "NN|SYM",
                "PDT",
                "POS",
                "PRP",
                "PRP$",
                "RB",
                "RBR",
                "RBS",
                "RP",
                "SYM",
                "TO",
                "UH",
                "VB",
                "VBD",
                "VBG",
                "VBN",
                "VBP",
                "VBZ",
                "WDT",
                "WP",
                "WP$",
                "WRB",
                "HYPH",
                "XX",
                "NFP",
                "AFX",
                "ADD",
                "-LRB-",
                "-RRB-",
                "-"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "parse_bit": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_lemma": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_framenet_id": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "word_sense": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "speaker": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "ner_tags": {
        "feature": {
            "num_classes": 39,
            "names": [
                "B-PERSON",
                "I-PERSON",
                "B-NORP",
                "I-NORP",
                "B-FAC",
                "I-FAC",
                "B-ORG",
                "I-ORG",
                "B-GPE",
                "I-GPE",
                "B-LOC",
                "I-LOC",
                "B-PRODUCT",
                "I-PRODUCT",
                "B-EVENT",
                "I-EVENT",
                "B-WORK_OF_ART",
                "I-WORK_OF_ART",
                "B-LAW",
                "I-LAW",
                "B-LANGUAGE",
                "I-LANGUAGE",
                "B-DATE",
                "I-DATE",
                "B-TIME",
                "I-TIME",
                "B-PERCENT",
                "I-PERCENT",
                "B-MONEY",
                "I-MONEY",
                "B-QUANTITY",
                "I-QUANTITY",
                "B-ORDINAL",
                "I-ORDINAL",
                "B-CARDINAL",
                "I-CARDINAL",
                "*",
                "0",
                "-"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "verbal_predicates": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "coreference_clusters": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}

type1_anti

برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:

ds = tfds.load('huggingface:wino_bias/type1_anti')
  • توضیحات :
WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.
The corpus contains Winograd-schema style sentences with entities corresponding to people
referred by their occupation (e.g. the nurse, the doctor, the carpenter).
تقسیم کنید نمونه ها
'test' 396
'validation' 396
  • ویژگی ها :
{
    "document_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "part_number": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "word_number": {
        "feature": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "pos_tags": {
        "feature": {
            "num_classes": 55,
            "names": [
                "\"",
                "''",
                "#",
                "$",
                "(",
                ")",
                ",",
                ".",
                ":",
                "``",
                "CC",
                "CD",
                "DT",
                "EX",
                "FW",
                "IN",
                "JJ",
                "JJR",
                "JJS",
                "LS",
                "MD",
                "NN",
                "NNP",
                "NNPS",
                "NNS",
                "NN|SYM",
                "PDT",
                "POS",
                "PRP",
                "PRP$",
                "RB",
                "RBR",
                "RBS",
                "RP",
                "SYM",
                "TO",
                "UH",
                "VB",
                "VBD",
                "VBG",
                "VBN",
                "VBP",
                "VBZ",
                "WDT",
                "WP",
                "WP$",
                "WRB",
                "HYPH",
                "XX",
                "NFP",
                "AFX",
                "ADD",
                "-LRB-",
                "-RRB-",
                "-"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "parse_bit": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_lemma": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_framenet_id": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "word_sense": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "speaker": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "ner_tags": {
        "feature": {
            "num_classes": 39,
            "names": [
                "B-PERSON",
                "I-PERSON",
                "B-NORP",
                "I-NORP",
                "B-FAC",
                "I-FAC",
                "B-ORG",
                "I-ORG",
                "B-GPE",
                "I-GPE",
                "B-LOC",
                "I-LOC",
                "B-PRODUCT",
                "I-PRODUCT",
                "B-EVENT",
                "I-EVENT",
                "B-WORK_OF_ART",
                "I-WORK_OF_ART",
                "B-LAW",
                "I-LAW",
                "B-LANGUAGE",
                "I-LANGUAGE",
                "B-DATE",
                "I-DATE",
                "B-TIME",
                "I-TIME",
                "B-PERCENT",
                "I-PERCENT",
                "B-MONEY",
                "I-MONEY",
                "B-QUANTITY",
                "I-QUANTITY",
                "B-ORDINAL",
                "I-ORDINAL",
                "B-CARDINAL",
                "I-CARDINAL",
                "*",
                "0",
                "-"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "verbal_predicates": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "coreference_clusters": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}

type2_pro

برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:

ds = tfds.load('huggingface:wino_bias/type2_pro')
  • توضیحات :
WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.
The corpus contains Winograd-schema style sentences with entities corresponding to people
referred by their occupation (e.g. the nurse, the doctor, the carpenter).
تقسیم کنید نمونه ها
'test' 396
'validation' 396
  • ویژگی ها :
{
    "document_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "part_number": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "word_number": {
        "feature": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "pos_tags": {
        "feature": {
            "num_classes": 55,
            "names": [
                "\"",
                "''",
                "#",
                "$",
                "(",
                ")",
                ",",
                ".",
                ":",
                "``",
                "CC",
                "CD",
                "DT",
                "EX",
                "FW",
                "IN",
                "JJ",
                "JJR",
                "JJS",
                "LS",
                "MD",
                "NN",
                "NNP",
                "NNPS",
                "NNS",
                "NN|SYM",
                "PDT",
                "POS",
                "PRP",
                "PRP$",
                "RB",
                "RBR",
                "RBS",
                "RP",
                "SYM",
                "TO",
                "UH",
                "VB",
                "VBD",
                "VBG",
                "VBN",
                "VBP",
                "VBZ",
                "WDT",
                "WP",
                "WP$",
                "WRB",
                "HYPH",
                "XX",
                "NFP",
                "AFX",
                "ADD",
                "-LRB-",
                "-RRB-",
                "-"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "parse_bit": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_lemma": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_framenet_id": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "word_sense": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "speaker": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "ner_tags": {
        "feature": {
            "num_classes": 39,
            "names": [
                "B-PERSON",
                "I-PERSON",
                "B-NORP",
                "I-NORP",
                "B-FAC",
                "I-FAC",
                "B-ORG",
                "I-ORG",
                "B-GPE",
                "I-GPE",
                "B-LOC",
                "I-LOC",
                "B-PRODUCT",
                "I-PRODUCT",
                "B-EVENT",
                "I-EVENT",
                "B-WORK_OF_ART",
                "I-WORK_OF_ART",
                "B-LAW",
                "I-LAW",
                "B-LANGUAGE",
                "I-LANGUAGE",
                "B-DATE",
                "I-DATE",
                "B-TIME",
                "I-TIME",
                "B-PERCENT",
                "I-PERCENT",
                "B-MONEY",
                "I-MONEY",
                "B-QUANTITY",
                "I-QUANTITY",
                "B-ORDINAL",
                "I-ORDINAL",
                "B-CARDINAL",
                "I-CARDINAL",
                "*",
                "0",
                "-"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "verbal_predicates": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "coreference_clusters": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}

type2_anti

برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:

ds = tfds.load('huggingface:wino_bias/type2_anti')
  • توضیحات :
WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.
The corpus contains Winograd-schema style sentences with entities corresponding to people
referred by their occupation (e.g. the nurse, the doctor, the carpenter).
تقسیم کنید نمونه ها
'test' 396
'validation' 396
  • ویژگی ها :
{
    "document_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "part_number": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "word_number": {
        "feature": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "pos_tags": {
        "feature": {
            "num_classes": 55,
            "names": [
                "\"",
                "''",
                "#",
                "$",
                "(",
                ")",
                ",",
                ".",
                ":",
                "``",
                "CC",
                "CD",
                "DT",
                "EX",
                "FW",
                "IN",
                "JJ",
                "JJR",
                "JJS",
                "LS",
                "MD",
                "NN",
                "NNP",
                "NNPS",
                "NNS",
                "NN|SYM",
                "PDT",
                "POS",
                "PRP",
                "PRP$",
                "RB",
                "RBR",
                "RBS",
                "RP",
                "SYM",
                "TO",
                "UH",
                "VB",
                "VBD",
                "VBG",
                "VBN",
                "VBP",
                "VBZ",
                "WDT",
                "WP",
                "WP$",
                "WRB",
                "HYPH",
                "XX",
                "NFP",
                "AFX",
                "ADD",
                "-LRB-",
                "-RRB-",
                "-"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "parse_bit": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_lemma": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "predicate_framenet_id": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "word_sense": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "speaker": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "ner_tags": {
        "feature": {
            "num_classes": 39,
            "names": [
                "B-PERSON",
                "I-PERSON",
                "B-NORP",
                "I-NORP",
                "B-FAC",
                "I-FAC",
                "B-ORG",
                "I-ORG",
                "B-GPE",
                "I-GPE",
                "B-LOC",
                "I-LOC",
                "B-PRODUCT",
                "I-PRODUCT",
                "B-EVENT",
                "I-EVENT",
                "B-WORK_OF_ART",
                "I-WORK_OF_ART",
                "B-LAW",
                "I-LAW",
                "B-LANGUAGE",
                "I-LANGUAGE",
                "B-DATE",
                "I-DATE",
                "B-TIME",
                "I-TIME",
                "B-PERCENT",
                "I-PERCENT",
                "B-MONEY",
                "I-MONEY",
                "B-QUANTITY",
                "I-QUANTITY",
                "B-ORDINAL",
                "I-ORDINAL",
                "B-CARDINAL",
                "I-CARDINAL",
                "*",
                "0",
                "-"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "verbal_predicates": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "coreference_clusters": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}