Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Cluster

Nolan Dey, Gurpreet Gosal, Zhiming, Chen, Hemant Khachane +4 more
4/6/2023
cs.LGcs.CL

No official code found. Best implementation: Cerebras/modelzoo (1,202 stars, Apache-2.0, last commit 2026-03-11).

Abstract

We study recent research advances that improve large language models through efficient pre-training and scaling, and open datasets and tools. We combine these advances to introduce Cerebras-GPT, a family of open compute-optimal language models scaled from 111M to 13B parameters. We train Cerebras-GPT models on the Eleuther Pile dataset following DeepMind Chinchilla scaling rules for efficient pre-training (highest accuracy for a given compute budget). We characterize the predictable power-law scaling and compare Cerebras-GPT with other publicly-available models to show all Cerebras-GPT models have state-of-the-art training efficiency on both pre-training and downstream objectives. We describe our learnings including how Maximal Update Parameterization ($μ$P) can further improve large model scaling, improving accuracy and hyperparameter predictability at scale. We release our pre-trained models and code, making this paper the first open and reproducible work comparing compute-optimal model scaling to models trained on fixed dataset sizes. Cerebras-GPT models are available on HuggingFace: https://huggingface.co/cerebras.

View on arXivView PDF

Code Implementations(1)

Cerebras/modelzooCommunity100%
Apache-2.0
1,202174CSS, HTMLApr 8, 20227 months agoApache-2.0

Similar Papers

Cite this paper

@article{dey2023cerebrasgpt,
  title  = {Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Cluster},
  author = {Nolan Dey and Gurpreet Gosal and Zhiming and Chen and Hemant Khachane and William Marshall and Ribhu Pathria and Marvin Tom and Joel Hestness},
  year   = {2023},
  eprint = {2304.03208},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.03208v1}
}

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/2304.03208.svg)](https://codeofpaper.com/paper/2304.03208)

Discussion