arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.15424cs.CLcs.AIcs.LG
收藏

如果你有一百万个GPU小时,训练什么语言模型?

What Language Model to Train if You Have One Million GPU Hours?

Hugging Face(Hugging Face公司);LightOn(LightOn公司);NTU, Singapore(新加坡南洋理工大学);Booz Allen(博思艾伦公司);EleutherAI(EleutherAI研究院);Naver Labs Europe(Naver欧洲实验室);University of Washington(华盛顿大学);Berkeley University(加州大学伯克利分校);Big Science(Big Science项目组);Brown University(布朗大学);LPENS(巴黎高等师范学院物理实验室);Allen Institute for AI(艾伦人工智能研究院);New York University(纽约大学)
Teven Le Scao, Thomas Wang, Daniel Hesslow, Lucile Saulnier, Stas Bekman, M Saiful Bari, Stella Biderman, Hady Elsahar, Niklas Muennighoff, Jason Phang, Ofir Pr… 展开作者

Teven Le Scao, Thomas Wang, Daniel Hesslow, Lucile Saulnier, Stas Bekman, M Saiful Bari, Stella Biderman, Hady Elsahar, Niklas Muennighoff, Jason Phang, Ofir Press, Colin Raffel, Victor Sanh, Sheng Shen, Lintang Sutawika, Jaesung Tae, Zheng Xin Yong, Julien Launay, Iz Beltagy

摘要:

围绕Transformer体系结构的建模方法的结晶已经成为从业者的福音。简单的、动机良好的架构变体可以跨任务和规模转移,从而增加建模研究的影响。然而,随着最先进的100 B+参数模型的出现,大语言模型的精确设计和训练越来越昂贵。值得注意的是,很难评估建模决策如何影响紧急功能,因为这些功能主要来自纯粹的规模。在构建BLOOM--大科学大型开放科学开放获取多语言语言模型--的过程中,我们的目标是确定一个架构和培训设置,以充分利用我们的1,000,000 A100-GPU小时预算。具体来说,我们进行了消融研究,在十亿参数规模比较不同的建模实践和他们的影响zero-shot推广。此外,我们研究了各种流行的预训练语料库对zero-shot泛化的影响。我们还研究了多语言模型的性能,以及它与仅使用英语的模型的比较。最后,我们考虑Transformers的缩放行为来选择目标模型的大小、形状和训练设置。我们所有的模型和代码都在https://huggingface.co/bigscience上开源。

英文摘要:

The crystallization of modeling methods around the Transformer architecture has been a boon for practitioners. Simple, well-motivated architectural variations can transfer across tasks and scale, increasing the impact of modeling research. However, with the emergence of state-of-the-art 100B+ parameters models, large language models are increasingly expensive to accurately design and train. Notably, it can be difficult to evaluate how modeling decisions may impact emergent capabilities, given that these capabilities arise mainly from sheer scale alone. In the process of building BLOOM--the Big Science Large Open-science Open-access Multilingual language model--our goal is to identify an architecture and training setup that makes the best use of our 1,000,000 A100-GPU-hours budget. Specifically, we perform an ablation study at the billion-parameter scale comparing different modeling practices and their impact on zero-shot generalization. In addition, we study the impact of various popular pre-training corpora on zero-shot generalization. We also study the performance of a multilingual model and how it compares to the English-only one. Finally, we consider the scaling behaviour of Transformers to choose the target model size, shape, and training setup. All our models and code are open-sourced at https://huggingface.co/bigscience .

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

↑