def METHOD_NAME(self, model_name_and_config):
    model_name, config = model_name_and_config
    model = ModelForDownstreamTasks.from_config(config,
                                                model_name,
                                                task_heads=EXTRACTIVE_HEAD)
    with raises(ValueError):
        _ = model.task_head