From counting words to thinking it through.
A visual history of language models: how word counts became context, how attention changed the architecture, and how training turned text predictors into assistants.
1970sBag-of-words
Bag-of-words represented text through word counts, making simple search and classification practical. It ignored word order, so “dog bites man” and “man bites dog” produced the same representation.
1990Recurrent neural networks
Early recurrent neural networks processed sequences one step at a time, carrying information forward in a hidden state. They captured order, but struggled to preserve distant context and depended on slow, sequential processing.
1997LSTM
LSTMs used gates to control what entered, stayed in, and left their memory, helping them learn longer-range relationships. GRUs offered a related design in 2014, but both still depended on sequential processing and had limits on memory.
2013Word2Vec
Word2Vec learned compact word vectors from surrounding context, capturing useful similarities and relationships. Its static representations combined different senses of a word, so “bank” received the same vector in river and financial contexts.
2014Attention
Attention let a decoder consult relevant parts of its input instead of relying on one fixed summary. The influential translation approach appeared in 2014, but its recurrent architecture still processed sequences step by step.
The dog stopped because it was tired.
2017The Transformer
The Transformer replaced recurrence with attention, linking distant tokens and allowing parallel processing during training. Standard attention remained expensive on long inputs, and GPT-style generation still produced tokens one after another.
2018BERT & GPT
BERT learned to fill gaps using context on both sides, while GPT predicted the next token using earlier text. Both made pretraining more useful, but BERT was not built for free-form generation and the original GPT was not a ready-made assistant.
2020Scaling & GPT-3
GPT-3 scaled language modelling to 175 billion parameters and demonstrated many tasks from examples in a prompt, without updating its weights for each task. Its broad capabilities still came with unreliable answers and limited suitability for conversation.
The surprise was how much stronger task abilities became as models grew. In the GPT-3 paper, three-digit addition accuracy rose from 8.4% for the 13-billion-parameter model to 80.4% for the 175-billion-parameter model, with examples in the prompt. A general text predictor had learned substantial arithmetic ability without dedicated arithmetic fine-tuning—although it still struggled with longer calculations.
Three-digit addition accuracy · published few-shot evaluation
dog → chien
2022Chinchilla
Chinchilla balanced model size with much more training data, outperforming the larger Gopher across many evaluations at the same training compute budget. Better pretraining efficiency still left the work of turning a base model into a useful assistant.
Nov 2022ChatGPT
ChatGPT applied conversation examples and human-feedback training to a GPT-3.5-series model, making an assistant accessible to everyday users. Its helpful responses could still be incorrect, inconsistent, or sensitive to small changes in the prompt.
2024+Reasoning models
Reasoning models use additional computation to work through intermediate steps before answering, improving performance on demanding tasks. Their internal reasoning need not be shown to the user, and the extra time and cost do not guarantee correctness.
₹800 × 0.9 = ₹720
The thread running through it all
This history is about more than making models bigger. Better representations gave words useful relationships; better architectures handled context; better training made models easier to use; and extra computation opened another route to stronger answers. Each advance removed a constraint while leaving others behind. The interesting question is what a model learns to do with the data, structure, and computation it is given.
References 15 sources
- Bag-of-words — Introduction to Information Retrieval
- Salton, Wong & Yang — A vector space model for automatic indexing (1975)
- Elman — Finding Structure in Time (1990)
- Hochreiter & Schmidhuber — Long Short-Term Memory (1997)
- Cho and colleagues — RNN Encoder–Decoder / GRU (2014)
- Mikolov and colleagues — Word representations / Word2Vec (2013)
- Bahdanau, Cho & Bengio — Learning to Align and Translate (2014)
- Vaswani and colleagues — Attention Is All You Need (2017)
- OpenAI — Improving language understanding with unsupervised learning (2018)
- Devlin and colleagues — BERT (2018)
- Brown and colleagues — Language Models are Few-Shot Learners / GPT-3 (2020)
- Kaplan and colleagues — Scaling Laws for Neural Language Models (2020)
- Hoffmann and colleagues — Training Compute-Optimal Large Language Models / Chinchilla (2022)
- OpenAI — Introducing ChatGPT (2022)
- OpenAI — Learning to reason with LLMs (2024)