def METHOD_NAME():
    args = parse_args()
    predictor = Predictor.create_predictor(args)
    test_loader, src_vocab_size, tgt_vocab_size, bos_id, eos_id = create_infer_loader(args)
    tgt_vocab = Vocab.load_vocabulary(**test_loader.dataset.vocab_info["vi"])
    trg_idx2word = tgt_vocab.idx_to_token
    predictor.predict(test_loader, args.infer_output_file, trg_idx2word, bos_id, eos_id)