Skip to content
OpenCatalogcurated by FLOSSK
AI & Machine Learning

GPT-2 (Hugging Face)

Historic decoder-only LM family (124M–1.5B) under `openai-community` on the Hub—still a default tutorial and pipeline test target.

Why it is included

Remains one of the highest-download `text-generation` models on Hugging Face despite age—baseline for education and CI.

Best for

Learning Transformers, tokenization, and generation APIs with tiny checkpoints.

Strengths

  • Tiny
  • Fast downloads
  • Ubiquitous examples

Limitations

  • Quality vs modern chat models; not instruction-tuned out of the box

Good alternatives

DistilGPT-2 · TinyLlama · SmolLM

Related tools