cola

Note

ID: catalog.cards.cola | Type: TaskCard

{
    "loader": {
        "name": "cola",
        "path": "glue",
        "type": "load_hf"
    },
    "preprocess_steps": [
        "splitters.small_no_test",
        {
            "mappers": {
                "label": {
                    "0": "unacceptable",
                    "1": "acceptable"
                }
            },
            "type": "map_instance_values"
        },
        {
            "field_to_field": {
                "sentence": "text"
            },
            "type": "rename_fields"
        },
        {
            "fields": {
                "classes": [
                    "unacceptable",
                    "acceptable"
                ],
                "text_type": "text",
                "type_of_class": "grammatical acceptability"
            },
            "type": "add_fields"
        }
    ],
    "task": {
        "inputs": [
            "text",
            "text_type",
            "classes",
            "type_of_class"
        ],
        "metrics": [
            "metrics.matthews_correlation"
        ],
        "outputs": [
            "label"
        ],
        "type": "form_task"
    },
    "templates": "templates.classification.multi_class.all",
    "type": "task_card"
}