GPT-NeoX-20B: An Open-Source Autoregressive Language Model

Sid Black, Stella Biderman, Eric Hallahan, Quentin Anthony, Leo Gao +12 more
4/14/2022
1,081 citations
cs.CL

Official code: EleutherAI/gpt-neox (7,476 stars, Python, Apache-2.0, last commit 2026-04-13).

Abstract

We introduce GPT-NeoX-20B, a 20 billion parameter autoregressive language model trained on the Pile, whose weights will be made freely and openly available to the public through a permissive license. It is, to the best of our knowledge, the largest dense autoregressive model that has publicly available weights at the time of submission.

Show full abstract

In this work, we describe \model{}'s architecture and training and evaluate its performance on a range of language-understanding, mathematics, and knowledge-based tasks. We find that GPT-NeoX-20B is a particularly powerful few-shot reasoner and gains far more in performance when evaluated five-shot than similarly sized GPT-3 and FairSeq models. We open-source the training and evaluation code, as well as the model weights, at https://github.com/EleutherAI/gpt-neox.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

An implementation of model parallel autoregressive transformers on GPUs, based on the Megatron and DeepSpeed libraries

7,4761,131Python, C++Dec 22, 20207 months agoApache-2.0
deepspeed-librarygpt-3language-modeltransformers

Similar Papers

Cite this paper

@article{black2022gptneoxb,
  title  = {GPT-NeoX-20B: An Open-Source Autoregressive Language Model},
  author = {Sid Black and Stella Biderman and Eric Hallahan and Quentin Anthony and Leo Gao and Laurence Golding and Horace He and Connor Leahy and Kyle McDonell and Jason Phang and Michael Pieler and USVSN Sai Prashanth and Shivanshu Purohit and Laria Reynolds and Jonathan Tow and Ben Wang and Samuel Weinbach},
  year   = {2022},
  eprint = {2204.06745},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.06745}
}

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

Discussion