跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2001.00926 (cs)
[提交于 2021年5月17日]

标题:Learning Accurate Integer Transformer Machine-Translation Models

作者:Ephrem Wu
查看论文《Learning Accurate Integer Transformer Machine-Translation Models》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We describe a method for training accurate Transformer machine-translation models to run inference using 8-bit integer (INT8) hardware matrix multipliers, as opposed to the more costly single-precision floating-point (FP32) hardware. Unlike previous work, which converted only 85 Transformer matrix multiplications to INT8, leaving 48 out of 133 of them in FP32 because of unacceptable accuracy loss, we convert them all to INT8 without compromising accuracy. Tested on the newstest2014 English-to-German translation task, our INT8 Transformer Base and Transformer Big models yield BLEU scores that are 99.3% to 100% relative to those of the corresponding FP32 models. Our approach converts all matrix-multiplication tensors from an existing FP32 model into INT8 tensors by automatically making range-precision trade-offs during training. To demonstrate the robustness of this approach, we also include results from INT6 Transformer models.
主题: 机器学习 (cs.LG); 计算与语言 (cs.CL); 机器学习 (stat.ML)
引用方式: arXiv:2001.00926 [cs.LG]
  (或者 arXiv:2001.00926v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2001.00926
相关 DOI: https://doi.org/10.1007/s42979-021-00688-4

提交历史

来自:Ephrem Wu
[v1] 2021年5月17日 星期一 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LG
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-05
切换浏览方式为:
cs
cs.CL
stat.ML

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站