wmt_en_fr

Note

ID: catalog.cards.wmt_en_fr | Type: TaskCard

{
    "loader": {
        "name": "fr-en",
        "path": "wmt14",
        "type": "load_hf"
    },
    "preprocess_steps": [
        {
            "mix": {
                "test": "test",
                "train": "train",
                "validation": "validation"
            },
            "type": "split_random_mix"
        },
        {
            "field_to_field": [
                [
                    "translation/en",
                    "en"
                ],
                [
                    "translation/fr",
                    "fr"
                ]
            ],
            "type": "copy_fields",
            "use_query": true
        }
    ],
    "task": {
        "inputs": [
            "en"
        ],
        "metrics": [
            "metrics.bleu"
        ],
        "outputs": [
            "fr"
        ],
        "type": "form_task"
    },
    "templates": {
        "items": [
            {
                "input_format": "{en}",
                "output_format": "{fr}",
                "type": "input_output_template"
            }
        ],
        "type": "templates_list"
    },
    "type": "task_card"
}