PanGu-Σ:面向稀疏异构计算的三参数语言模型
PanGu-Σ: Towards Trillion Parameter Language Model with Sparse Heterogeneous Computing
摘要:
大语言模型的扩展极大地改善了自然语言的理解、生成和推理。本文在Ascend 910人工智能处理器集群和MindSpore框架上开发了一个训练万亿参数语言模型的系统,并给出了一个参数为1.085 T的语言模型PanGu-1.0。利用PanGu-α模型的固有参数,将稠密的Transformer模型扩展为稀疏的随机路由专家模型,并采用专家计算与存储分离(ECSS)方法,在329 B的令牌上高效地训练模型。这导致通过异构计算将训练吞吐量提高了6.3倍。我们的实验结果表明,盘古机器人在各种中文NLP下游任务的零样本学习中提供了最先进的性能。此外,它在开放域对话、问答、机器翻译和代码生成等应用数据的微调方面表现出强大的能力。
英文摘要:
The scaling of large language models has greatly improved natural language understanding, generation, and reasoning. In this work, we develop a system that trained a trillion-parameter language model on a cluster of Ascend 910 AI processors and MindSpore framework, and present the language model with 1.085T parameters named PanGu-Σ. With parameter inherent from PanGu-α, we extend the dense Transformer model to sparse one with Random Routed Experts (RRE), and efficiently train the model over 329B tokens by using Expert Computation and Storage Separation(ECSS). This resulted in a 6.3x increase in training throughput through heterogeneous computing. Our experimental findings show that PanGu-Σ provides state-of-the-art performance in zero-shot learning of various Chinese NLP downstream tasks. Moreover, it demonstrates strong abilities when fine-tuned in application data of open-domain dialogue, question answering, machine translation and code generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。