← all repositories
EleutherAI/gpt-neo

Before GPT-NeoX, there was mesh-tensorflow and hope

An open-source GPT-3 replica built for TPUs, before EleutherAI pivoted to GPUs and GPT-NeoX.

8.3k stars Python Language Models
gpt-neo
Not currently ranked — collecting fresh signals.
star history

What it does

GPT-Neo is a TensorFlow implementation of GPT-2/GPT-3-style transformers that uses mesh-tensorflow to shard model weights and data across TPU pods. It trains and runs inference on configurations up to a few billion parameters, with pretrained 1.3B and 2.7B checkpoints released. The codebase also supports local attention, linear attention, mixture-of-experts layers, and axial positional embeddings.

The interesting bit

It is essentially a historical artifact: development froze in August 2021 because mesh-tensorflow buckles at 200B+ parameters and the team acquired enough GPUs to justify rewriting everything as GPT-NeoX. That makes the repo a snapshot of the TPU-first era of open-source large-model training.

Key highlights

  • Archived since August 2021; preserved for anyone still maintaining legacy TPU pipelines.
  • Ships with pretrained 1.3B and 2.7B models trained on The Pile, though the authors now point users to HuggingFace for inference.
  • Adds experimental attention variants (local, linear) and Mixture-of-Experts not present in the original GPT-3.
  • Evaluation benchmarks show the 2.7B model generally trailing GPT-3 2.7B but beating GPT-2 1.5B on several tasks.
  • Officially TPU-native; GPU support exists but users report mesh-tensorflow struggling to recognize GPUs.

Caveats

  • No longer maintained; active development moved to GPT-NeoX.
  • Inefficient beyond ~200B parameters, so it never reached the true GPT-3 scale.
  • GPU training is unofficial and reportedly finicky.

Verdict

Worth a look if you are studying the archaeology of open-source LLMs or maintaining an existing TPU fleet. Everyone else should use GPT-NeoX or the HuggingFace integration instead.

Frequently asked

What is EleutherAI/gpt-neo?
An open-source GPT-3 replica built for TPUs, before EleutherAI pivoted to GPUs and GPT-NeoX.
Is gpt-neo open source?
Yes — EleutherAI/gpt-neo is open source, released under the MIT license.
What language is gpt-neo written in?
EleutherAI/gpt-neo is primarily written in Python.
How popular is gpt-neo?
EleutherAI/gpt-neo has 8.3k stars on GitHub.
Where can I find gpt-neo?
EleutherAI/gpt-neo is on GitHub at https://github.com/EleutherAI/gpt-neo.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.