{
    "__type__": "task_card",
    "loader": {
        "__type__": "load_from_kaggle",
        "url": "https://www.kaggle.com/datasets/rmisra/news-category-dataset"
    },
    "preprocess_steps": [
        {
            "__type__": "shuffle",
            "page_size": 9223372036854775807
        },
        {
            "__type__": "split_random_mix",
            "mix": {
                "train": "train[70%]",
                "validation": "train[10%]",
                "test": "train[20%]"
            }
        },
        {
            "__type__": "rename",
            "field_to_field": {
                "headline": "text"
            }
        },
        {
            "__type__": "rename",
            "field_to_field": {
                "category": "label"
            }
        },
        {
            "__type__": "set",
            "fields": {
                "classes": [
                    "ARTS",
                    "ARTS & CULTURE",
                    "BLACK VOICES",
                    "BUSINESS",
                    "COLLEGE",
                    "COMEDY",
                    "CRIME",
                    "CULTURE & ARTS",
                    "DIVORCE",
                    "EDUCATION",
                    "ENTERTAINMENT",
                    "ENVIRONMENT",
                    "FIFTY",
                    "FOOD & DRINK",
                    "GOOD NEWS",
                    "GREEN",
                    "HEALTHY LIVING",
                    "HOME & LIVING",
                    "IMPACT",
                    "LATINO VOICES",
                    "MEDIA",
                    "MONEY",
                    "PARENTING",
                    "PARENTS",
                    "POLITICS",
                    "QUEER VOICES",
                    "RELIGION",
                    "SCIENCE",
                    "SPORTS",
                    "STYLE",
                    "STYLE & BEAUTY",
                    "TASTE",
                    "TECH",
                    "THE WORLDPOST",
                    "TRAVEL",
                    "U.S. NEWS",
                    "WEDDINGS",
                    "WEIRD NEWS",
                    "WELLNESS",
                    "WOMEN",
                    "WORLD NEWS",
                    "WORLDPOST"
                ],
                "text_type": "sentence"
            }
        }
    ],
    "task": "tasks.classification.multi_class.topic_classification",
    "templates": "templates.classification.multi_class.all"
}
