dbpedia_14

Note

ID: catalog.cards.dbpedia_14 | Type: TaskCard

{
    "loader": {
        "path": "dbpedia_14",
        "type": "load_hf"
    },
    "preprocess_steps": [
        {
            "mix": {
                "test": "test",
                "train": "train[87.5%]",
                "validation": "train[12.5%]"
            },
            "type": "split_random_mix"
        },
        {
            "mappers": {
                "label": {
                    "0": "Company",
                    "1": "Educational Institution",
                    "10": "Plant",
                    "11": "Album",
                    "12": "Film",
                    "13": "Written Work",
                    "2": "Artist",
                    "3": "Athlete",
                    "4": "Office Holder",
                    "5": "Mean Of Transportation",
                    "6": "Building",
                    "7": "Natural Place",
                    "8": "Village",
                    "9": "Animal"
                }
            },
            "type": "map_instance_values"
        },
        {
            "field_to_field": {
                "content": "text"
            },
            "type": "rename_fields"
        },
        {
            "fields": {
                "classes": [
                    "Company",
                    "Educational Institution",
                    "Artist",
                    "Athlete",
                    "Office Holder",
                    "Mean Of Transportation",
                    "Building",
                    "Natural Place",
                    "Village",
                    "Animal",
                    "Plant",
                    "Album",
                    "Film",
                    "Written Work"
                ],
                "text_type": "paragraph",
                "type_of_class": "topic"
            },
            "type": "add_fields"
        }
    ],
    "task": "tasks.classification.multi_class",
    "templates": "templates.classification.multi_class.all",
    "type": "task_card"
}