Model reference · open weights

gpt-j

LLMs EleutherAI Text gen 1 build Open weights 259k dl/mo

gpt-j is an open-weight language model from EleutherAI. gpt-j-6b (BF16) weighs 24.2 GB; the smallest configuration that runs it is 2× RTX 4060 Ti 16 GB.

  • GPT-J 6B is a 6 billion parameter autoregressive language model developed by EleutherAI for English text generation.
  • It features a 2048 token context length and is trained on the Pile dataset.
  • The model is released under the Apache 2.0 license.

Summary of the EleutherAI/gpt-j-6b model card, 2026-10-01

What it is

Released byEleutherAI
Released2022-03-02
VRAM24.2 GB for the weights

What it runs on

Memory and cards for gpt-j-6b (BF16)

24.2 GBweights, file size
459 MBcache per 1K tokens
682 MBruntime overhead, at least
2,048 tokenscontext max
CardRequests at onceContext maxMemory
2K each
RTX 3060 12 GB … RTX 4090 24 GB
4 smaller cards
——
RTX 5090 32 GB6all 2K31.0 GB
L40S 48 GB20all 2K44.0 GB
A100 80 GB56all 2K78.2 GB
H100 80 GB53all 2K78.1 GB
RTX PRO 6000 Blackwell 96 GB69all 2K93.8 GB
DGX Spark (GB10) 128 GB unified84all 2K107 GB
H200 141 GB116all 2K138 GB
B200 180 GB156all 2K176 GB
2× RTX 4060 Ti 16 GB
tensor parallel
5all 2K15.4 GB a card
2× RTX 4090 24 GB
tensor parallel
22all 2K23.4 GB a card
2× RTX 3090 24 GB
tensor parallel
22all 2K23.4 GB a card
2× RTX 5090 32 GB
tensor parallel
38all 2K31.0 GB a card
Memory needed at each load
Requests at once2K tokens each
125.8 GB
529.6 GB
832.4 GB
1639.9 GB
3255.0 GB
6485.0 GB

One card, with vLLM's small-card settings.

From the model card

What EleutherAI says about gpt-j

Read the model card

Model Description

GPT-J 6B is a transformer model trained using Ben Wang's Mesh Transformer JAX. "GPT-J" refers to the class of model, while "6B" represents the number of trainable parameters.

HyperparameterValue
\(n_{parameters}\)6053381344
\(n_{layers}\)28*
\(d_{model}\)4096
\(d_{ff}\)16384
\(n_{heads}\)16
\(d_{head}\)256
\(n_{ctx}\)2048
\(n_{vocab}\)50257/50400† (same tokenizer as GPT-2/3)
Positional EncodingRotary Position Embedding (RoPE)
RoPE Dimensions64

The model consists of 28 layers with a model dimension of 4096, and a feedforward dimension of 16384. The model dimension is split into 16 heads, each with a dimension of 256. Rotary Position Embedding (RoPE) is applied to 64 dimensions of each head. The model is trained with a tokenization vocabulary of 50257, using the same set of BPEs as GPT-2/GPT-3.

Intended Use and Limitations

GPT-J learns an inner representation of the English language that can be used to extract features useful for downstream tasks. The model is best at what it was pretrained for however, which is generating text from a prompt.

Out-of-scope use

GPT-J-6B is not intended for deployment without fine-tuning, supervision, and/or moderation. It is not a in itself a product and cannot be used for human-facing interactions. For example, the model may generate harmful or offensive text. Please evaluate the risks associated with your particular use case.

GPT-J-6B was trained on an English-language only dataset, and is thus not suitable for translation or generating text in other languages.

GPT-J-6B has not been fine-tuned for downstream contexts in which language models are commonly deployed, such as writing genre prose, or commercial chatbots. This means GPT-J-6B will not respond to a given prompt the way a product like ChatGPT does. This is because, unlike this model, ChatGPT was fine-tuned using methods such as Reinforcement Learning from Human Feedback (RLHF) to better “follow” human instructions.

Limitations and Biases

The core functionality of GPT-J 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. When prompting GPT-J it is important to remember that the statistically most likely next token is often not the token that produces the most "accurate" text. Never depend upon GPT-J to produce factually accurate output.

GPT-J was trained on the Pile, a dataset known to contain profanity, lewd, and otherwise abrasive language. Depending upon use case GPT-J 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-J 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.

How to use

This model can be easily loaded using the AutoModelForCausalLM functionality:

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-j-6B")
model = AutoModelForCausalLM.from_pretrained("EleutherAI/gpt-j-6B")

Training data

GPT-J 6B was trained on the Pile, a large-scale curated dataset created by EleutherAI.

Training procedure

This model was trained for 402 billion tokens over 383,500 steps on TPU v3-256 pod. It was trained as an autoregressive language model, using cross-entropy loss to maximize the likelihood of predicting the next token correctly.

Evaluation results

ModelPublicTraining FLOPsLAMBADA PPL ↓LAMBADA Acc ↑Winogrande ↑Hellaswag ↑PIQA ↑Dataset Size (GB)
Random Chance✓0~a lot~0%50%25%25%0
GPT-3 Ada‡✗-----9.9551.6%52.9%43.4%70.5%-----
GPT-2 1.5B✓-----10.6351.21%59.4%50.9%70.8%40
GPT-Neo 1.3B‡✓3.0e217.5057.2%55.0%48.9%71.1%825
Megatron-2.5B*✗2.4e21-----61.7%---------------174
GPT-Neo 2.7B‡✓6.8e215.6362.2%56.5%55.8%73.0%825
GPT-3 1.3B*‡✗2.4e215.4463.6%58.7%54.7%75.1%~800
GPT-3 Babbage‡✗-----5.5862.4%59.0%54.5%75.5%-----
Megatron-8.3B*✗7.8e21-----66.5%---------------174
GPT-3 2.7B*‡✗4.8e21

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms