arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.09744cs.CL
收藏

用于Transformer推理的Zero-Shot动态Quantization

Zero-Shot Dynamic Quantization for Transformer Inference

IBM Research AI(IBM研究院人工智能部门)

Yousef El-Kurdi, Jerry Quinn, Avirup Sil

摘要:

我们引入了一种新的运行时方法,用于显着减少与量化BERT类模型到8位整数相关的准确性损失。现有的量化模型方法要么修改训练过程,要么需要额外的校准步骤来调整参数,这也需要选定的保留数据集。我们的方法允许利用量化,而不需要这些调整。我们提出了几个NLP任务的结果证明了这种技术的实用性。

英文摘要:

We introduce a novel run-time method for significantly reducing the accuracy loss associated with quantizing BERT-like models to 8-bit integers. Existing methods for quantizing models either modify the training procedure,or they require an additional calibration step to adjust parameters that also requires a selected held-out dataset. Our method permits taking advantage of quantization without the need for these adjustments. We present results on several NLP tasks demonstrating the usefulness of this technique.

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

↑