WNGT 2020年效率任务的NiuTrans系统
The NiuTrans System for WNGT 2020 Efficiency Task
摘要:
本文介绍了NiuTrans团队向WNGT 2020效率共享任务提交的内容。我们专注于使用NiuTensor(https://github.com/NiuTrans/NiuTensor)高效实现深度Transformer模型\cite{wang-etal-2019-learning, li-etal-2019-niutrans},NiuTensor是一个灵活的NLP任务工具包。通过模型压缩和知识蒸馏,我们探索了Transformer模型中深度编码器和浅层解码器的组合。神经机器翻译解码还受益于FP16推理、注意力缓存、动态排序和批量修剪。我们的系统在翻译质量和效率方面都取得了令人满意的结果,例如,我们最快的系统可以使用RTX 2080 Ti每秒翻译超过40,000个令牌,同时在\textit{newstest2018}上保持42.9 BLEU。代码、模型和docker镜像可在NiuTrans.NMT(https://github.com/NiuTrans/NiuTrans.NMT)获得。
英文摘要:
This paper describes the submissions of the NiuTrans Team to the WNGT 2020 Efficiency Shared Task. We focus on the efficient implementation of deep Transformer models \cite{wang-etal-2019-learning, li-etal-2019-niutrans} using NiuTensor (https://github.com/NiuTrans/NiuTensor), a flexible toolkit for NLP tasks. We explored the combination of deep encoder and shallow decoder in Transformer models via model compression and knowledge distillation. The neural machine translation decoding also benefits from FP16 inference, attention caching, dynamic batching, and batch pruning. Our systems achieve promising results in both translation quality and efficiency, e.g., our fastest system can translate more than 40,000 tokens per second with an RTX 2080 Ti while maintaining 42.9 BLEU on \textit{newstest2018}. The code, models, and docker images are available at NiuTrans.NMT (https://github.com/NiuTrans/NiuTrans.NMT).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。