What Language Model to Train if You Have One Million GPU Hours?
Teven Le Scao, Thomas Wang, Daniel Hesslow, Stas Bekman, M Saiful Bari, Stella Biderman, Hady Elsahar, Niklas Muennighoff
Abstract
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.
BibTeX
@inproceedings{le-scao-etal-2022-language,
title = "What Language Model to Train if You Have One Million {GPU} Hours?",
author = "Le Scao, Teven and
Wang, Thomas and
Hesslow, Daniel and
Bekman, Stas and
Bari, M Saiful and
Biderman, Stella and
Elsahar, Hady and
Muennighoff, Niklas and
Phang, Jason and
Press, Ofir and
Raffel, Colin and
Sanh, Victor and
Shen, Sheng and
Sutawika, Lintang and
Tae, Jaesung and
Yong, Zheng Xin and
Launay, Julien and
Beltagy, Iz",
editor = "Goldberg, Yoav and
Kozareva, Zornitsa and
Zhang, Yue",
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2022",
month = dec,
year = "2022",
address = "Abu Dhabi, United Arab Emirates",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2022.findings-emnlp.54/",
doi = "10.18653/v1/2022.findings-emnlp.54",
pages = "765--782"
}