Skip to main content

Subsection 2.8 Beyond GPT-2

GPT-2 was released in 2019 and produces output that is significantly less coherent and less human-like than more recent models. It feels like an interesting toy at best, not the powerful tool that modern language models have become.
We have already mentioned different sizes of GPT-2. And it is true that the larger versions of GPT-2 produce better output than the smaller ones. Within limits, a model can be made more powerful by increasing its dimensions. However, at some point, adding more decoders and widening the representation starts requiring significantly more computational resources and training time for only marginal gains.
New models, like GPT-3 or GPT-4, are often larger than older models, but they also have significant differences in architecture, training data, and training methods. For example, GPT-3 has 175 billion parameters, but it also uses a different training dataset and has a longer context length than GPT-2. GPT-4 is even more advanced, with improvements in reasoning and understanding capabilities.
Table 2.14. Selected GPT models and their published parameter counts
Model Parameters Year introduced
GPT-2 Small 124 million 2019
GPT-2 XL about 1.5 billion 2019
GPT-3 Small 125 million 2020
GPT-3 (largest version) 175 billion 2020
GPT-4 Not published - estimated ~1.8 trillion 2023
GPT-5 Not published - estimated upwards of ~5 trillion 2025
OpenAI has not published parameter counts for GPT-4 or later models. And starting with GPT-5, the language model is described as a system that routes requests between multiple models, so it does not have one simple model size. Different tasks may engage different models within the system.
GPT is just one family of transformer language models. Anthropicโ€™s Claude models and Googleโ€™s Gemini are other famous model families. Each model has its own unique architecture and capabilities, but they all use the same underlying ideas such as token embeddings, attention, and feed-forward networks.
All three of those models are made by companies that keep the models private (closed-weight). That means the only way to access them is through the companies that created them. Other developers (and sometimes those same companies) have created models whose weights can be downloaded, including DeepSeek and Metaโ€™s Llama. These models tht anyone can run or modify are referred to as open weight models.