OpenAI/Dense

OpenAIGPT-2 XL 1.5B

Largest GPT-2. Decent text generation for 2019, surpassed by modern small models.

chat
1.5B
Parameters
1K
Context length
6
Benchmarks
6
Quantizations
800K
HF downloads
Architecture
Dense
Released
2019-11-05
Layers
48
KV Heads
25
Head Dim
64
Family
gpt2

Quantization Options

QuantBitsVRAMQuality
Q4_K_M4.891.4 GBgood
Q5_K_S5.571.5 GBgood
Q5_K_M5.71.6 GBgood
Q6_K6.561.7 GBexcellent
Q8_08.52.1 GBlossless
FP16163.5 GBlossless

Select your GPU above to see speed estimates and compatibility for each quantization.

READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN GPT-2 XL 1.5B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (6)

IFEval20.4
MUSR4.0
BBH2.6
MMLU-PRO1.5
GPQA1.1
MATH1.0

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run gpt2:2b-q4_K_M

Tag may need adjustment — check ollama.com/library/gpt2 for available tags.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA Tesla C870
2 GB VRAM • 76.8 GB/s
NVIDIA
NVIDIA Tesla D870
2 GB VRAM • 76.8 GB/s
NVIDIA
NVIDIA Tesla S870
2 GB VRAM • 76.8 GB/s
NVIDIA

Find the best GPU for GPT-2 XL 1.5B

Build Hardware for GPT-2 XL 1.5B

Largest GPT-2. Decent text generation for 2019, surpassed by modern small models.

▸ SPEC SHEET

GPT-2 XL 1.5B1.5B Dense.

▸ SPECIFICATIONS
PARAMETERS
1.5B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
1K tokens
CAPABILITIES
chat
RELEASE DATE
2019-11-05
PROVIDER
OpenAI
FAMILY
gpt2
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.891.4 GB94%
Q5_K_S5.571.5 GB96%
Q5_K_M5.71.6 GB96%
Q6_K6.561.7 GB97%
Q8_08.52.1 GB100%
FP16163.5 GB100%
§ 01BENCHMARK SCORES
MMLU-PRO1.5
MATH1.0
IFEval20.4
BBH2.6
GPQA1.1
MUSR4.0