ehealth_kd

مراجع:

ehealth_kd

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

ds = tfds.load('huggingface:ehealth_kd/ehealth_kd')
  • توضیحات :
Dataset of the eHealth Knowledge Discovery Challenge at IberLEF 2020. It is designed for
the identification of semantic entities and relations in Spanish health documents.
تقسیم کنید نمونه ها
'test' 100
'train' 800
'validation' 199
  • ویژگی ها :
{
    "sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "entities": [
        {
            "ent_id": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "ent_text": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "ent_label": {
                "num_classes": 4,
                "names": [
                    "Concept",
                    "Action",
                    "Predicate",
                    "Reference"
                ],
                "names_file": null,
                "id": null,
                "_type": "ClassLabel"
            },
            "start_character": {
                "dtype": "int32",
                "id": null,
                "_type": "Value"
            },
            "end_character": {
                "dtype": "int32",
                "id": null,
                "_type": "Value"
            }
        }
    ],
    "relations": [
        {
            "rel_id": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "rel_label": {
                "num_classes": 13,
                "names": [
                    "is-a",
                    "same-as",
                    "has-property",
                    "part-of",
                    "causes",
                    "entails",
                    "in-time",
                    "in-place",
                    "in-context",
                    "subject",
                    "target",
                    "domain",
                    "arg"
                ],
                "names_file": null,
                "id": null,
                "_type": "ClassLabel"
            },
            "arg1": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "arg2": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            }
        }
    ]
}