rte

Note

ID: catalog.cards.rte | Type: TaskCard

{
    "loader": {
        "name": "rte",
        "path": "glue",
        "type": "load_hf"
    },
    "preprocess_steps": [
        "splitters.small_no_test",
        {
            "mappers": {
                "label": {
                    "0": "entailment",
                    "1": "not entailment"
                }
            },
            "type": "map_instance_values"
        },
        {
            "fields": {
                "choices": [
                    "entailment",
                    "not entailment"
                ]
            },
            "type": "add_fields"
        },
        {
            "field_to_field": {
                "sentence1": "premise",
                "sentence2": "hypothesis"
            },
            "type": "rename_fields"
        }
    ],
    "task": "tasks.nli",
    "templates": "templates.classification.nli.all",
    "type": "task_card"
}