Skip to content

AI Glossary · Concepts

What is Generative Pre-trained Transformer?

Generative Pre-trained Transformer

Generative pre-trained transformer (GPT) names the approach behind OpenAI's GPT language-model family: pre-train a transformer to predict the next token, then adapt it for tasks such as answering questions or writing code. Related models from other companies use similar methods without belonging to that family.

Also known as: GPT model, generative pretrained transformer

· Chain of Thought

  • 2 sources

Each word in the name describes part of the recipe:

  • Generative: it produces new text instead of only labeling or sorting text.
  • Pre-trained: it first learns general language patterns from a very large body of text, before any task-specific training. See pre-training.
  • Transformer: it uses the transformer neural network architecture.

OpenAI introduced the approach in a 2018 paper and used the name for its model series, from GPT-1 through later versions. ChatGPT is a chat product built on GPT models that were further trained to follow instructions and hold conversations. In everyday speech “GPT” is sometimes used for any chatbot, but strictly it refers to OpenAI’s model family and the design behind it.

Why it matters

The GPT recipe, large-scale pre-training followed by fine-tuning or post-training, became the template for most modern large language models, including models from other companies that don’t use the GPT name.

Large language model is the broader category, and foundation model is the even broader one.

Sources