Model reference · open weights
gpt-neo is an open-weight language model from EleutherAI. gpt-neo-2.7B (FP32) weighs 5.3 GB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the EleutherAI/gpt-neo-125m model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | EleutherAI |
|---|---|
| Released | 2022-03-02 |
| Parameters | 150M |
| VRAM | 5.3 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 2K each | |||
| RTX 3060 12 GB | 8 | all 2K | 11.6 GB |
| RTX 4060 Ti 16 GB | 14 | all 2K | 15.4 GB |
| RTX 3090 24 GB | 26 | all 2K | 23.4 GB |
| RTX 4090 24 GB | 25 | all 2K | 23.4 GB |
| RTX 5090 32 GB | 37 | all 2K | 31.0 GB |
| L40S 48 GB | 56 | all 2K | 44.0 GB |
| A100 80 GB | 107 | all 2K | 78.2 GB |
| H100 80 GB | 102 | all 2K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 126 | all 2K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 146 | all 2K | 107 GB |
| H200 141 GB | 192 | all 2K | 138 GB |
| B200 180 GB | 248 | all 2K | 176 GB |
| Requests at once | 2K tokens each |
|---|---|
| 1 | 6.6 GB |
| 5 | 9.3 GB |
| 8 | 11.3 GB |
| 16 | 16.7 GB |
| 32 | 27.4 GB |
| 64 | 48.9 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| gpt-neo-125m ↗ | 150M | FP32 | 263 MB | RTX 3060 12 GB |
| gpt-neo-1.3B ↗ | 1.4B | FP32 | 2.7 GB | RTX 3060 12 GB |
| gpt-neo-2.7B (above) ↗ | 2.7B | FP32 | 5.3 GB | RTX 3060 12 GB |
From the model card
GPT-Neo 125M is a transformer model designed using EleutherAI's replication of the GPT-3 architecture. GPT-Neo refers to the class of models, while 125M represents the number of parameters of this particular pre-trained model.
GPT-Neo 125M was trained on the Pile, a large scale curated dataset created by EleutherAI for the purpose of training this model.
This model was trained on the Pile for 300 billion tokens over 572,300 steps. It was trained as a masked autoregressive language model, using cross-entropy loss.
This way, the model learns an inner representation of the English language that can then be used to extract features useful for downstream tasks. The model is best at what it was pretrained for however, which is generating texts from a prompt.
You can use this model directly with a pipeline for text generation. This example generates a different sequence each time it's run:
>>> from transformers import pipeline
>>> generator = pipeline('text-generation', model='EleutherAI/gpt-neo-125M')
>>> generator("EleutherAI has", do_sample=True, min_length=20)
[{'generated_text': 'EleutherAI has made a commitment to create new software packages for each of its major clients and has'}]
GPT-Neo was trained as an autoregressive language model. This means that its core functionality is taking a string of text and predicting the next token. While language models are widely used for tasks other than this, there are a lot of unknowns with this work.
GPT-Neo was trained on the Pile, a dataset known to contain profanity, lewd, and otherwise abrasive language. Depending on your usecase GPT-Neo may produce socially unacceptable text. See Sections 5 and 6 of the Pile paper for a more detailed analysis of the biases in the Pile.
As with all language models, it is hard to predict in advance how GPT-Neo will respond to particular prompts and offensive content may occur without warning. We recommend having a human curate or filter the outputs before releasing them, both to censor undesirable content and to improve the quality of the results.
TBD
TBD
To cite this model, use
@software{gpt-neo,
author = {Black, Sid and
Leo, Gao and
Wang, Phil and
Leahy, Connor and
Biderman, Stella},
title = {{GPT-Neo: Large Scale Autoregressive Language
Modeling with Mesh-Tensorflow}},
month = mar,
year = 2021,
note = {{If you use this software, please cite it using
these metadata.}},
publisher = {Zenodo},
version = {1.0},
doi = {10.5281/zenodo.5297715},
url = {https://doi.org/10.5281/zenodo.5297715}
}
@article{gao2020pile,
title={The Pile: An 800GB Dataset of Diverse Text for Language Modeling},
author={Gao, Leo and Biderman, Stella and Black, Sid and Golding, Laurence and Hoppe, Travis and Foster, Charles and Phang, Jason and He, Horace and Thite, Anish and Nabeshima, Noa and others},
journal={arXiv preprint arXiv:2101.00027},
year={2020}
}
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 25.79 |
| ARC (25-shot) | 22.95 |
| HellaSwag (10-shot) | 30.26 |
| MMLU (5-shot) | 25.97 |
| TruthfulQA (0-shot) | 45.58 |
| Winogrande (5-shot) | 51.78 |
| GSM8K (5-shot) | 0.3 |
| DROP (3-shot) | 3.69 |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.