arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.14680cs.CLcs.AIcs.LG
收藏

使用生成式预训练Transformer实现多语言到英语的自动化机器翻译

Automated Multi-Language to English Machine Translation Using Generative Pre-Trained Transformers

Sandia National Laboratories(桑迪亚国家实验室);New Mexico Tech(新墨西哥理工学院);New Mexico Cybersecurity Center of Excellence(新墨西哥卓越网络安全中心)

Elijah Pelofske, Vincent Urias, Lorie M. Liebrock

AI总结:

本研究使用本地GPT模型实现零样本多语言到英语的机器翻译,基准测试了16个开源模型在50种语言上的表现,发现ReMM-v2-L2-13B在多数指标上取得最佳翻译效果。

摘要:

准确且高效的语言翻译是一项极其重要的信息处理任务。基于机器学习的自动化翻译因其准确且快速,常常是机器学习和数据科学社区关注的重要课题。在本研究中,我们探讨了使用本地Generative Pretrained Transformer (GPT) 模型,执行自动化的零样本、黑盒、逐句多自然语言到英文文本的翻译。我们基准测试了来自Huggingface LLM库的16个不同的开源GPT模型,在无自定义微调的情况下,使用翻译后的TED Talk演讲文字记录作为参考数据集,将50种不同的非英语语言翻译成英语。这些GPT模型的推理调用严格在单张Nvidia A100 GPU上本地执行。报告的基准评估指标包括翻译准确率(使用BLEU、GLEU、METEOR和chrF文本重叠度进行衡量)以及每句翻译的实际耗时。在翻译为英文文本的任务中,BLEU指标表现最佳的GPT模型是ReMM-v2-L2-13B,在所有测试语言上的平均得分为0.152;GLEU指标表现最佳的同样是ReMM-v2-L2-13B,平均得分为0.256;chrF指标表现最佳的是Llama2-chat-AYT-13B,平均得分为0.448;METEOR指标表现最佳的也是ReMM-v2-L2-13B,平均得分为0.438。

英文摘要:

The task of accurate and efficient language translation is an extremely important information processing task. Machine learning enabled and automated translation that is accurate and fast is often a large topic of interest in the machine learning and data science communities. In this study, we examine using local Generative Pretrained Transformer (GPT) models to perform automated zero shot black-box, sentence wise, multi-natural-language translation into English text. We benchmark 16 different open-source GPT models, with no custom fine-tuning, from the Huggingface LLM repository for translating 50 different non-English languages into English using translated TED Talk transcripts as the reference dataset. These GPT model inference calls are performed strictly locally, on single A100 Nvidia GPUs. Benchmark metrics that are reported are language translation accuracy, using BLEU, GLEU, METEOR, and chrF text overlap measures, and wall-clock time for each sentence translation. The best overall performing GPT model for translating into English text for the BLEU metric is ReMM-v2-L2-13B with a mean score across all tested languages of $0.152$, for the GLEU metric is ReMM-v2-L2-13B with a mean score across all tested languages of $0.256$, for the chrF metric is Llama2-chat-AYT-13B with a mean score across all tested languages of $0.448$, and for the METEOR metric is ReMM-v2-L2-13B with a mean score across all tested languages of $0.438$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑