计算机科学
计算
编译程序
机器翻译
变压器
缩放比例
人工神经网络
人工智能
并行计算
程序设计范式
翻译(生物学)
程序设计语言
机器学习
电压
物理
化学
几何学
数学
信使核糖核酸
基因
生物化学
量子力学
作者
Dmitry Lepikhin,HyoukJoong Lee,Yuanzhong Xu,Dehao Chen,Orhan Fırat,Yanping Huang,Maxim Krikun,Noam Shazeer,Zhifeng Chen
标识
DOI:10.48550/arxiv.2006.16668
摘要
Neural network scaling has been critical for improving the model quality in many real-world machine learning applications with vast amounts of training data and compute. Although this trend of scaling is affirmed to be a sure-fire approach for better model quality, there are challenges on the path such as the computation cost, ease of programming, and efficient implementation on parallel devices. GShard is a module composed of a set of lightweight annotation APIs and an extension to the XLA compiler. It provides an elegant way to express a wide range of parallel computation patterns with minimal changes to the existing model code. GShard enabled us to scale up multilingual neural machine translation Transformer model with Sparsely-Gated Mixture-of-Experts beyond 600 billion parameters using automatic sharding. We demonstrate that such a giant model can efficiently be trained on 2048 TPU v3 accelerators in 4 days to achieve far superior quality for translation from 100 languages to English compared to the prior art.
科研通智能强力驱动
Strongly Powered by AbleSci AI