def form_multitask_valid()

in model_code/process_data_to_source_target.py [0:0]


def form_multitask_valid(questions, documents, answers):
    """
    At testing time, only the standard Q + D -> A task is conducted
    """
    source = []
    target = []
    for i, question in enumerate(questions):
        source.append("<s2s_qd_a> <startQuestion> " + question + documents[i])
        target.append(answers[i])
    return source, target