- Initial translation results are obtained via
translation_base.py
. - Get TER-based generated Feedback via
sacrebleu_patch/sacrebleu.py sacrebleu [ref] -m ter --ter-trace-file op.json < [hypo]
. - Get In-context demonstrations by running
retrieval.py [DATA_STORE_PATH] [TEST_SET_PATH]
- stage1:run
translation_hil.py
. - stage2:run
compare_hil.py
.
*All results about the experiment are stored in data
.
@inproceedings{yang-etal-2023-hilmt,
title = "Human-in-the-loop Machine Translation with Large Language Model",
author = "Yang, Xinyi and
Zhan, Runzhe and
Wong, Derek F. and
Wu, Junchao and
Chao, Lidia S.",
booktitle = "Proceedings of Machine Translation Summit XIX Vol. 2: Users Track",
month = sep,
year = "2023",
address = "Macau SAR, China",
publisher = "Machine Translation Summit",
url = "https://files.sciconf.cn/upload/file/20230827/20230827195133_32318.pdf",
pages = "88--98",
}