gpt-neox-20b

EleutherAI (United States) · Language (text)

🧠 20.7B📄 2K context🔓 Open weights (downloadable)⚖️ apache-2.0

Which way is for me?

💻 On my own computer

No ready LM Studio version (GGUF) of this model has been published yet. Use the online way for now; this page is checked again every night and the steps will appear here when one comes out.

Similar models you can run on your computer right now:

🧑‍💻 For developers

vLLM

vllm serve EleutherAI/gpt-neox-20b

Transformers (Python)

from transformers import pipeline
pipe = pipeline("text-generation", model="EleutherAI/gpt-neox-20b")
Words used here
GGUF
The file format LM Studio, Ollama and llama.cpp use to run a model.
Quantization (Q4, Q8)
Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
VRAM
The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
Context
The most text the model can see at once in a conversation (questions, answers and files).
Tokens per second
How fast the answer is written; 20 is about reading speed, 5 is slow.

From the Hugging Face model card

Developed by: EleutherAI; Model type: Transformer-based Language Model; Language: English; Learn more: GPT-NeoX-20B: An Open-Source Autoregressive Language Model. For details about the training dataset, see the Pile paper, and its data sheet.; License: Apache 2.0; Contact: to ask questions about this model, join the EleutherAI Discord, and post them in release-discussion. Please read the existing GPT-NeoX-20B documentation before asking about the model on Discord.

Intended use

GPT-NeoX-20B was developed primarily for research purposes. It learns an inner representation of the English language that can be used to extract features useful for downstream tasks.

Limitations

GPT-NeoX-20B is not intended for deployment as-is. It is not a product and cannot be used for human-facing interactions without supervision.

Benchmarks (from the model card)

ModelOpenAI’s LAMBADASciQPIQATriviaQAARC (Challenge)
GPT-J-6B0.683 ± 0.0060.910 ± 0.0090.752 ± 0.0100.170 ± 0.0040.340 ± 0.014
FairSeq 6.7B0.673 ± 0.0070.895 ± 0.0100.762 ± 0.0100.221 ± 0.0040.329 ± 0.014
GPT-3 Curie0.693 ± 0.0060.918 ± 0.0090.767 ± 0.0100.196 ± 0.0040.334 ± 0.014
FairSeq 13B0.709 ± 0.0060.910 ± 0.0090.769 ± 0.0100.270 ± 0.0040.345 ± 0.014
GPT-NeoX-20B0.720 ± 0.0060.928 ± 0.0080.779 ± 0.0100.259 ± 0.0040.380 ± 0.014
GPT-3 DaVinci0.752 ± 0.0060.949 ± 0.0070.791 ± 0.0090.409 ± 0.0050.435 ± 0.014

Source: Hugging Face · EleutherAI/gpt-neox-20b · License: apache-2.0

Hardware and running it

Local Weights are published and it runs on your own hardware.

Minimum Q4
13.9 GB
Recommended Q8
24.9 GB
Full quality FP16
49.8 GB

On common hardware

RTX 4060 · 8 GBWon't run
RTX 4090 · 24 GBUsableQ4 · ≈ 31–52 tokens/s
RTX 5090 · 32 GBGreatQ8 · ≈ 31–52 tokens/s
Mac M4 Max · 128 GBSlowFP16 · ≈ 5–8 tokens/s
H100 · 80 GBGreatFP16 · ≈ 29–48 tokens/s
8× H100 · 640 GBGreatFP16 · ≈ 230–390 tokens/s

Speeds are estimates. estimated speed for one user, from memory bandwidth

Links come from the vendor's official site and the model card the vendor published · Updated: