---
title: "LLM History: A Brief History and Use Cases"
description: "LLM history from the 2017 Transformer to ChatGPT and beyond, plus what large language models can do and where you can use them."
url: https://exemplary.ai/blog/llm-history-usecases
published: 2022-10-26
updated: 2026-11-26
author: "John Jacob, Shantanu Nair"
publisher: "Exemplary AI (https://exemplary.ai)"
---

# LLM History: A Brief History and Use Cases

LLM history starts with the 2017 Transformer paper from Google researchers, which made it practical to train language models on huge amounts of text. From there, BERT and GPT-1 (2018), GPT-3 (2020) and ChatGPT (November 2022) took large language models from research papers to everyday tools.

There is no single "first LLM". Which model you pick depends on what you count as "large", so the timeline, what LLMs can do and the main ways people use them are all worth separating out.

## What is a large language model (LLM)?

A large language model is a machine learning model trained on a massive body of text to predict and generate language. By learning patterns across billions of words, it picks up grammar, facts, style and a good deal of reasoning, and it can then be pointed at tasks such as writing, summarizing, translating and answering questions.

"Large" refers to the number of parameters, the adjustable values inside the model, and to the amount of training data. Modern LLMs have billions of parameters or more.

![what-is-an-llm.svg](https://exemplary.ai/img/blog/llm-history-usecases/what-is-an-llm.svg)

## A brief history of LLMs

### Before LLMs: n-grams, embeddings and LSTMs

Early language models counted how often words appeared together (n-grams). In the 2010s, word embeddings such as word2vec represented words as vectors, and recurrent networks such as LSTMs read text one word at a time. These worked, but they were hard to scale and slow to train on long text.

### 2017: the Transformer

The idea behind today's LLMs can be traced to 2017, when Google researchers released the paper "Attention Is All You Need" describing the Transformer. A Transformer is a neural network that finds patterns in sequential data by letting every word look at every other word in the input (attention). It trains well in parallel on modern hardware, and it quickly beat several customized models tuned for individual NLP tasks.

### 2018: BERT and GPT-1

In 2018, Google released BERT (Bidirectional Encoder Representations from Transformers) with an open-source implementation and several pretrained models. The large version had about 340 million parameters. The same year, OpenAI released the first GPT, a Transformer trained to predict the next word. BERT's popularity pushed large companies to build their own Transformer architectures and training techniques, which led to the growth of LLMs.

### 2019 to 2021: scaling up

OpenAI's GPT-2 (2019) had 1.5 billion parameters. In 2020 OpenAI launched GPT-3, with 175 billion parameters, trained on hundreds of billions of words of text. GPT-3 could handle a wide range of tasks from just a few examples in the prompt, and it was applied across industries, from gaming and development to creative writing.

In 2021, Google released LaMDA, a conversation-focused model with 137 billion parameters. Microsoft and NVIDIA introduced Megatron-Turing NLG, a Transformer-based model with 530 billion parameters, then the largest dense generative language model.

### 2022: open models and ChatGPT

In 2022, the BigScience project released BLOOM, an open multilingual model with 176 billion parameters, and DeepMind's Chinchilla paper showed that many models were trained on too little data for their size. In November 2022, OpenAI released ChatGPT, a chat interface on top of a GPT-3.5 model, and LLMs became a mainstream product almost overnight.

### 2023 to 2026: assistants, open weights and reasoning

- **2023:** GPT-4 (March) added image input and stronger reasoning. Meta released LLaMA and later Llama 2, and Anthropic, Google (with Gemini) and Mistral all launched models, so the field was no longer one or two labs.
- **2024 and after:** Models became multimodal, handling text, images and audio. Reasoning-focused models that spend extra computation "thinking" before answering, such as OpenAI's o1 in September 2024, became a new category, and open-weight models narrowed the gap with closed ones.
- **November 2026:** Labs keep releasing new model families every few months, and the interesting question has moved from "how big?" to "how reliable, how cheap and how well connected to tools?"

You may see old articles that expected GPT-4 to have 100 trillion parameters. That rumor was never confirmed, and the real figure has not been published by OpenAI.

### What was the first LLM?

It depends on the definition. If "large" means pretrained Transformer language models, the first are usually said to be GPT-1 and BERT in 2018. If it means models with billions of parameters that work across many tasks, GPT-3 in 2020 is the usual answer. Researchers disagree, so treat any single "first" with caution.

## What LLMs can do

LLMs are trained on huge language datasets and can solve many language problems. The main categories are:

1. Natural language generation
2. Question answering
3. Language translation
4. Conversation management
5. Clustering

These categories help you find the language technology you need for an application.

### Natural language generation

Natural language generation (NLG) uses AI to produce text. Many providers offer NLG models, including OpenAI, Cohere, AI21 Labs and EleutherAI, plus open models such as BLOOM. There are two main strategies for getting the output you want:

1. Prompt engineering
2. Fine-tuning

### Prompt engineering

Because LLMs are pretrained on a large collection of text, they can generate text from a prompt. The prompt contains a short description of the task and sometimes a few examples. The model reads them, identifies the pattern and continues in the same way. This is called prompt engineering.

How well a model performs depends on how many examples you give it, which gives three modes:

- **Few-shot learning:** you give the pretrained model a few labeled examples of each class to nudge the output in the right direction.
- **One-shot learning:** you give the model a single example per class.
- **Zero-shot learning:** you give no examples at all, and the model handles classes or tasks it has not seen before.

![prompt-completion.svg](https://exemplary.ai/img/blog/llm-history-usecases/prompt-completion.svg)

The common uses of prompting are text classification, rewriting text, semantic search, text extraction, creative generation and summarization.

#### Text classification

Text classification means giving the model predefined labels and a piece of text, and asking which label fits. Because the classes are known in advance, it is a supervised setup. There are three common ways to prompt for it:

- **Task description prompt:** describe the task in plain words, for example "Generate a summary."
- **Examples in the prompt:** add several examples of correct input and output.
- **A range of examples:** vary the examples so the model sees the different shapes the input can take.

Classification is a good way to automate language-oriented work, such as sorting support tickets or tagging feedback.

#### Rewriting text

Rewriting means rephrasing a piece of text, and prompting handles it well. One useful application is correcting transcriptions: give the model the task, plus a few examples of incorrect and corrected transcripts. Other uses are fixing grammar, paraphrasing, and redacting personal information.

#### Semantic search and sentence similarity

Semantic search tries to understand the meaning of a query rather than only matching keywords. The idea is that your sentences or documents are converted to embeddings and placed in a vector space. At search time, the query is embedded into the same space, and the closest embeddings, which have the highest semantic overlap, are returned.

![semantic-search.svg](https://exemplary.ai/img/blog/llm-history-usecases/semantic-search.svg)

Sentence similarity works the same way: convert the text to embeddings and calculate a similarity score between them. Typical uses are:

- Identifying similar text in documents, or ranking documents by relevance
- Retrieving relevant information from a document
- Context-aware search across a knowledge base

#### Text extraction

Text extraction pulls key information out of text. You give the model the task, plus a few examples of the extracted output. Typical uses are:

- Extracting key terms, words and named entities
- Generating tags for blog posts
- Identifying personally identifiable information (PII)

#### Creative generation

Given a prompt, an LLM can produce human-like text. Models learn the style of a prompt and build on it to write stories, dialogue and other creative text.

#### Summarization and paraphrasing

LLMs can summarize and paraphrase a paragraph, an article or a whole document. Showing the model a few documents with their summaries is often enough for it to start summarizing in the same style. Common targets are:

- Meeting transcripts
- Published papers
- Reports
- Customer support chats
- Phone calls

### Fine-tuning

Fine-tuning customizes a pretrained model to perform better on one task or domain. You continue training it on your own dataset, so it gains knowledge about your area and performs better at a specific job. It builds on the pretrained base model rather than starting from nothing.

![fine-tune.svg](https://exemplary.ai/img/blog/llm-history-usecases/fine-tune.svg)

### Question answering (QA)

Question-answering models take a question, with or without context, and generate an answer. The answer relies on the data the model was trained on, or on the context you supply. QA can automate tasks such as frequently asked questions and customer queries.

![question-answering.svg](https://exemplary.ai/img/blog/llm-history-usecases/question-answering.svg)

There are three common QA variants:

- **Extractive QA:** the model extracts the answer from a given context.
- **Open generative QA:** the model generates the answer from the given context.
- **Closed generative QA:** the model generates the answer with no context at all.

QA models can also be closed-domain, restricted to one subject, or open-domain, with no restriction.

### Language translation

Machine translation improved quickly once pretrained language models arrived. Earlier systems often relied on LSTMs, but Transformer-based neural networks brought a clear rise in the quality of machine-generated translations. With a pretrained model, you can build translation for many language pairs with little or no task-specific training.

### Conversation management

Chatbots and conversational AI help organizations give customers faster, more timely support. Conversation management uses natural language processing (NLP) and natural language understanding (NLU) to follow a conversation, understand intent, correct errors and respond. LLMs gave rise to the new generation of chatbots, such as Meta's BlenderBot 3 prototype, which learned from live conversations and was trained to have empathic exchanges. Open-ended LLM chatbots are the direction most conversational products have taken since.

## Where you can use LLMs

Some platforms give you direct access to a large language model, some help you build prompts, and others use an LLM behind the scenes to provide a specific product without you noticing. The list reflects the 2022 landscape, and some companies on it have since closed or changed direction, so check each provider's site for what is current. Here are some well-known starting points.

- **Direct access to LLMs:** [OpenAI](https://openai.com/api/), [Cohere](https://cohere.ai/), [AI21 Labs](https://www.ai21.com/), and [EleutherAI's GPT-J](https://www.eleuther.ai/). Open models such as [BLOOM](https://huggingface.co/bigscience/bloom) (from [BigScience](https://www.technologyreview.com/2022/07/12/1055817/inside-a-radical-new-project-to-democratize-ai/)) can be run yourself.
- **Code generation and autocomplete:** [GitHub Copilot](https://github.com/features/copilot), [Tabnine](https://www.tabnine.com/), Salesforce's [CodeGen](https://github.com/salesforce/CodeGen) and Mutable AI.
- **Regular expressions:** [Autoregex](https://www.autoregex.xyz/).
- **Shell commands:** [Warp](https://www.warp.dev/).
- **Writing blogs, sales and ad copy:** [Copy.ai](https://www.copy.ai/), [Copysmith](https://copysmith.ai/), Contenda and [Jasper](https://www.jasper.ai/).
- **Product insights from user feedback:** [Viable](https://www.askviable.com/), [Enterpret](https://www.enterpret.com/) and [Anecdote](https://www.anec.app/) organize and summarize support tickets, surveys and analytics.
- **Chatbots and support agent assist:** [Rasa](https://rasa.com/), [Forethought](https://forethought.ai/) and [Cresta](https://cresta.com/).
- **Enterprise search:** [Glean](https://www.glean.com/), [Hebbia](https://www.hebbia.ai/) and [Algolia](https://algolia.com/) ([through GPT-3](https://gpt3demo.com/apps/algolia)). [Mem](https://mem.ai/) organizes internal workspace notes.
- **General software assistants:** [Character AI](https://www.character.ai/).
- **Tutoring:** Korbit and [Replit](https://twitter.com/amasad/status/1285789362647478272?lang=en).
- **Writing assistants and grammar:** [Duolingo](https://gpt3demo.com/apps/duolingo), [Writer](https://writer.com/) and [Grammarly](https://www.grammarly.com/).
- **Other uses:** [Monterey](https://www.monterey.ai/) for product requirement documents, [Oogway](https://oogway.ai/) for personal decisions, and [Naver's HyperCLOVA](https://venturebeat.com/2021/12/07/navers-large-language-model-is-powering-shopping-recommendations/) with [Shaped AI](https://www.shaped.ai/) for personalized recommendations.
- **Conversational AI research models:** GODEL and DialoGPT (Microsoft), and BlenderBot (Meta AI).

## What comes next for LLMs

LLMs have become one of the most powerful tools for text analysis. The next step for most teams is to integrate them into their own applications through an API, ideally with access to several providers so you can pick the right model per task.

More explainers on speech and language AI are on the [Exemplary AI blog](https://exemplary.ai/blog).

## Frequently asked questions

### What is LLM history?

LLM history is the timeline of how large language models developed, from n-grams and embeddings, through the 2017 Transformer and models like BERT and GPT-3, to chat assistants in the 2020s.

### When were large language models invented?

There is no exact date, but the Transformer in 2017 is the usual starting point. The first models people call large language models appeared in 2018, and GPT-3 in 2020 made the idea mainstream.

### Who invented large language models?

No single person did. The Transformer was introduced by a group of Google researchers in 2017, and OpenAI, Google and many other labs built the first large models on top of it.

### How do I store LLM chat history?

Save each message with its role (user or assistant), a timestamp and a conversation ID in a database. LLMs do not remember earlier turns on their own, so on each request you send the relevant recent messages, or a summary of older ones, back to the model.

### Which LLM should I use for history questions?

It depends on the task. For general history questions, a current large model with search access is a reasonable choice, but all LLMs can state wrong dates or names confidently, so check important facts against a primary source.

> Exemplary AI is a browser-based AI tool that turns long videos and recordings into short captioned clips, transcripts in 99 languages, subtitles, translations into 116 languages, and written posts such as summaries, blog posts and YouTube chapters. It is built for YouTubers, podcasters and marketing teams; the Free plan includes 300 one-time credits with watermarked video exports. Pricing: https://exemplary.ai/pricing
