gpt-neo

An implementation of model parallel GPT-2 and GPT-3-style models using the mesh-tensorflow library.

RepoPi no longer tracks this repository daily. Stats below were last updated on 2026-11-11. See current data on GitHub.

8.3k
Stars
Python
Language

💡 Why It Matters

This repository implements GPT-2 and GPT-3 style language models with model and data parallelism using mesh-tensorflow, targeting large-scale transformer training primarily on TPUs. It offers experimental features like local and linear attention, mixture of experts, and axial positional embeddings, which are not standard in many transformer implementations. The code is archived and unmaintained since early 2022, with about 8,200 stars reflecting past interest but no recent growth, indicating it is largely superseded by EleutherAI's GPT-NeoX for GPU-focused development. ML engineers focused on large-scale language model research or those interested in TPU-based training might find the architectural approach instructive. It is a poor choice for teams seeking actively maintained, GPU-optimised training frameworks or those wanting straightforward integration with current libraries; for those, GPT-NeoX or HuggingFace Transformers are better suited.

🎯 When to Use

Use this if you require a mesh-tensorflow-based implementation of GPT-style models designed for TPU training and want to experiment with alternative attention mechanisms or mixture of experts. For GPU-centric workflows or more efficient scaling beyond 200 billion parameters, GPT-NeoX or HuggingFace Transformers offer more current and performant options.

👥 Team Fit & Use Cases

Typically used in research settings exploring large-scale language model training on TPUs, or for teams needing to reproduce or extend EleutherAI's early GPT-3 style experiments with custom attention variants. It is less suited for deployment in production NLP pipelines or applications requiring up-to-date model checkpoints and training efficiency.

🎭 Best For

🏷️ Topics & Ecosystem

gpt gpt-2 gpt-3 language-model transformers

📊 Activity

Latest commit: 2022-02-25. Activity data is based on daily RepoPi snapshots of the GitHub repository.