def METHOD_NAME(
    log_dir: str,
    filename: str,
    inp_lst: List[str],
    out_lst: List[str],
    score_lst: List[str],
):
    """
    Write a log of model inputs, outputs, scores.
    """
    to_write = os.path.join(log_dir, filename) + ".txt"
    logging.info(f"Writing log to {to_write}")
    with open(to_write, "w") as f:
        i = 0
        for inp, out, score in zip(inp_lst, out_lst, score_lst):
            f.write(
                f"<example. no>:\t{i + 1}\n<in>:\t{inp}\n<out>:\t{out}\n<scores>:\t{score}\n\n"
            )
            i += 1