Computational Bottlenecks of Training Small-scale Large Language Models

Saleh Ashkboos, Iman Mirzadeh, Keivan Alizadeh, Mohammad Hossein Sekhavat, Moin Nabi +2 more
10/25/2024
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

While large language models (LLMs) dominate the AI landscape, Small-scale large Language Models (SLMs) are gaining attention due to cost and efficiency demands from consumers. However, there is limited research on the training behavior and computational requirements of SLMs. In this study, we explore the computational bottlenecks of training SLMs (up to 2B parameters) by examining the effects of various hyperparameters and configurations, including GPU type, batch size, model size, communication protocol, attention type, and the number of GPUs. We assess these factors on popular cloud services using metrics such as loss per dollar and tokens per second. Our findings aim to support the broader adoption and optimization of language model training for low-resource AI research institutes.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ashkboos2024computational,
  title  = {Computational Bottlenecks of Training Small-scale Large Language Models},
  author = {Saleh Ashkboos and Iman Mirzadeh and Keivan Alizadeh and Mohammad Hossein Sekhavat and Moin Nabi and Mehrdad Farajtabar and Fartash Faghri},
  year   = {2024},
  eprint = {2410.19456},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.19456v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.19456.svg)](https://codeofpaper.com/paper/2410.19456)

Discussion