From ELIZA to ChatGPT
The 60-year story: rules, statistics, neural nets, transformers, scale.
Video coming soon. The full transcript is below.
Overnight?
November thirtieth, twenty twenty-two. A company called OpenAI puts a new chatbot online, for anyone to try.
Five days later, more than a million people have signed up.
It seemed to come out of nowhere. And most people picture something like this inside. A giant rulebook, written by programmers, saying what to answer.
That is how chatbots began, sixty years ago.
But the real story is how that rulebook slowly disappeared.
Rules, 1966
Nineteen sixty-six. At M.I.T., Joseph Weizenbaum publishes Eliza, one of the very first chatbots.
Eliza played a therapist. You typed how you felt, and it answered.
People confided in it. Weizenbaum wrote that his own secretary, who had watched him build it, asked him to leave the room.
But inside, there was no understanding at all. Just a list of rules, written by hand.
Each rule waits for a keyword, and fills in a template. My boyfriend comes back as your boyfriend.
Now type: my computer won't turn on. The rule for computer fires, and Eliza asks: do computers worry you?
And a sentence with no keyword at all just gets: please go on.
For about twenty years, most language software worked like this. Every new kind of sentence needed another rule. And sentences never run out.
Counting, 1990 to 2006
Around nineteen ninety, a team at I B M tried the opposite. Stop writing rules. Let the computer count.
Their program learned to translate French into English from records of the Canadian parliament, which are printed in both languages.
Counting can also guess the next word. Find every place the words on the appear, and tally what comes next.
Turn the tallies into shares, and you get a score for every next word. The same chart you saw in the first episode.
In two thousand six, Google shared counts like these, gathered from about a trillion words on the web.
That same year, Google Translate launched, built on the same idea: statistics from United Nations and European Parliament documents that people had already translated.
But counting has a blind spot. Take: I grew up in France, so I speak fluent. The counts only see the last couple of words, and miss France.
Look further back, and the counts run out. Most long strings of words never appear, even once, in a trillion words.
Learning, 2003 to 2016
The next idea: don't count, learn. A neural network is a wall of dials, nudged during training, just like in the first episode.
In two thousand three, a team in Montreal showed that a network like this could beat the counting models at guessing the next word.
But training was slow, until twenty twelve. A network trained on two gaming graphics cards won an image recognition contest by a mile.
It got fifteen percent wrong. The runner-up got twenty-six percent wrong. After that, neural networks took off.
Graphics cards were built for video games. They do thousands of tiny sums at once. Neural networks turned out to need exactly that.
In twenty sixteen, Google Translate switched to a neural network, and cut its errors by more than half, in Google's own tests.
But these networks read one word at a time, in order, each step waiting for the one before. That made them slow to train on huge amounts of text.
The transformer, 2017
Twenty seventeen. Eight researchers, most of them at Google, publish a paper called Attention Is All You Need.
It describes a new design, built for translation. They call it the transformer. It's the T in ChatGPT.
For this story, one thing matters. It takes in every word at once, instead of one after another.
That suits graphics chips, which do thousands of small jobs side by side. Their biggest version trained in three and a half days, on eight of them.
How it works inside comes later in this course. What matters now: you could feed it far more text than ever before.
Scale, 2018 to 2020
OpenAI took the transformer and trained it on the task from the first episode: guess the next word. They called it GPT.
That stands for generative pre-trained transformer.
Then they made it bigger. Twenty eighteen: about a hundred million dials.
Twenty nineteen, GPT-2: one and a half billion.
At first, OpenAI held back the full GPT-2, worried it could be misused. They released it in stages, over nine months.
Twenty twenty, GPT-3: a hundred and seventy-five billion. Same recipe. Far more dials, and far more text.
And size brought a surprise. Show GPT-3 a few examples in the prompt, and it picks up the pattern, with no extra training.
Chat, 2022
But GPT-3 was still a text continuer. Ask it a question, and it might just write more questions.
So OpenAI added the second round of training from the first episode: example conversations, and people rating answers.
The result was striking. People preferred the answers of a tuned model with one point three billion dials over the untuned one, with a hundred and seventy-five billion.
Put that tuning on a bigger model, give it a chat window, and you get ChatGPT. November thirtieth, twenty twenty-two.
Sixty years
So, back to that rulebook. Nobody wrote ChatGPT's rules. Sixty years of progress meant writing fewer rules, and letting the machine learn more.
Rules. Then counting. Then learned dials. Then a design that takes in every word at once. Then bigger. And finally, training it to chat.
Same words in, fifty-six years apart. One matches a keyword. The other scores every possible next piece, one at a time.
Next: training versus inference. Making a model once, and running it billions of times.
Sources and fact-check What was checked, what was corrected, and where it comes from.
Checked 2026-12-01 with web searches, preferring primary sources (the original papers, the institutions' own posts, and the transcribed ELIZA script). Each claim the script makes is listed here with its verdict and the wording the script uses.
Verified facts used in the script
ELIZA (1966)
Who, where, when. Joseph Weizenbaum, MIT. The paper is "ELIZA: a computer program for the study of natural language communication between man and machine", Communications of the ACM 9(1), January 1966, pp. 36–45. Built 1964–1966 in MAD-SLIP on MIT's CTSS time-sharing system (IBM 7094).
- https://dl.acm.org/doi/10.1145/365153.365168
- https://arxiv.org/html/2501.06707 ("ELIZA Reanimated": "developed in MAD-SLIP on MIT's CTSS… on an IBM 7094")
- https://spectrum.ieee.org/why-people-demanded-privacy-to-confide-in-the-worlds-first-chatbot ("between 1964 and 1966")
"First chatbot" is contested in wording, not substance. ELIZA is "usually considered the world's first chatbot" (arXiv 2501.06707). Wikipedia says "one of the first chatbots". The word "chatbot" itself is from the 1990s.
- Script says "one of the very first chatbots".
The sample conversation is from the 1966 paper and is reproduced verbatim in many course notes (e.g. https://www.d.umn.edu/~tcolburn/cs1581/lectures/chapter07/intelligence/slide016.html). The lines used are:
- Men are all alike. → IN WHAT WAY
- They're always bugging us about something or other. → CAN YOU THINK OF A SPECIFIC EXAMPLE
- Well, my boyfriend made me come here. → YOUR BOYFRIEND MADE YOU COME HERE
The eliza-archaeology project notes that archive copies of this conversation differ slightly from the printed one (https://sites.google.com/view/elizaarchaeology/blog/3-weizenbaums-secretary). We use the printed 1966 text.
Its rules are real. They come from the DOCTOR script printed as the paper's appendix, transcribed at https://github.com/jeffshrager/elizagen.org (
1965_Weizenbaum_MAD-SLIP/1966_01_CACM_article_Eliza_script.txt). The rules shown on screen are simplified in notation only:Keyword Real reply (from the appendix) ALIKE → DIT → "IN WHAT WAY" (first of 8 replies) COMPUTER (also MACHINE, MACHINES, COMPUTERS) "DO COMPUTERS WORRY YOU" (first of 6) MOTHER is tagged FAMILY → "TELL ME MORE ABOUT YOUR FAMILY" NONE (no keyword found) "I AM NOT SURE I UNDERSTAND YOU FULLY", "PLEASE GO ON", … The pronoun swaps "my" → "your" and "me" → "you" are part of the script (the MY / ME substitutions).
"My computer won't turn on" → "DO COMPUTERS WORRY YOU". Illustrative input, but this is exactly what the published COMPUTER rule returns as its first reply. The rule has priority 50, the highest in the script, so it wins over any other keyword in that sentence.
The secretary anecdote. In Computer Power and Human Reason (1976), Weizenbaum wrote that his secretary, "who had watched me work on the program for many months", asked him to leave the room after a few exchanges.
- Sources: https://sites.google.com/view/elizaarchaeology/blog/3-weizenbaums-secretary and https://spectrum.ieee.org/why-people-demanded-privacy-to-confide-in-the-worlds-first-chatbot
- Hedge: the eliza-archaeology researchers note she was never named and her identity is unconfirmed. The script attributes it: "Weizenbaum wrote that…".
"Sixty years". January 1966 to 2026 is 60 years. ELIZA to ChatGPT is 56 years.
- Script: "sixty years ago" (counted from today). It never says "sixty years before ChatGPT".
The rule era → the statistics era
- Rules dominated until the late 1980s. "Up until the 1980s, most natural language processing systems were based on complex sets of hand-written rules. Starting in the late 1980s… a revolution… with the introduction of machine learning algorithms" (https://en.wikipedia.org/wiki/Natural_language_processing, History).
- This is a broad-brush summary, not a hard date.
- Script: "For about twenty years, most language software worked like this." It is hedged with "most" and "about".
- IBM's statistical translation. Brown et al., "A Statistical Approach to Machine Translation", Computational Linguistics 16(2), June 1990 (https://aclanthology.org/J90-2002/). It was trained on the Canadian Parliament's English–French proceedings (the Hansards), as described in Brown et al. 1991/1993 and https://aclanthology.org/J93-2003.pdf.
- Script: "Around nineteen ninety, a team at I B M… learned to translate from the Canadian parliament's records."
- Jelinek's "every time I fire a linguist" quip. Wording, date and context are all disputed, and it may never have been printed (https://quotepark.com/quotes/1777032-fred-jelinek-every-time-i-fire-a-linguist-the-performance-of-o/; LINGUIST List thread, Oct 2010).
- Left out.
- A trillion words of n-gram counts. Google Research blog, "All Our N-gram are Belong to You", Aug 3, 2006, by Alex Franz and Thorsten Brants (https://www.research.google/blog/all-our-n-gram-are-belong-to-you/).
- 1,024,908,267,229 words of running text and 1,176,470,663 five-word sequences.
- Only sequences seen at least 40 times were kept.
- The on-screen number is the exact one.
- Google Translate was statistical. It launched on April 28, 2006, on statistical (phrase-based) machine translation (https://en.wikipedia.org/wiki/Google_Translate; Google's 2016 post calls phrase-based MT "the key algorithm behind this service").
- The system "originally used United Nations and European Parliament documents and transcripts to gather linguistic data" (Wikipedia, Google Translate).
- Script: "statistics from United Nations and European Parliament documents that people had already translated".
- "That same year" = 2006, the same year as the n-gram release.
- N-grams only see the last few words, and long sequences are rare. This is the standard limitation (Jurafsky & Martin, Speech and Language Processing, ch. 3). Bengio 2003 is motivated by exactly this "curse of dimensionality".
- The "I grew up in France… I speak fluent ___" example is illustrative.
Neural networks
- Neural language model beats counting. Bengio, Ducharme, Vincent & Jauvin, "A Neural Probabilistic Language Model", JMLR 3, 2003 (https://www.jmlr.org/papers/v3/bengio03a.html). The authors were at the Université de Montréal. The abstract says the approach "significantly improves on state-of-the-art n-gram models".
- Script: "In two thousand three, a team in Montreal showed…"
- AlexNet, 2012. Krizhevsky, Sutskever & Hinton won ILSVRC-2012 with 15.3% top-5 error against 26.2% for the runner-up. It was trained for 5–6 days on two GTX 580 3GB GPUs (https://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf).
- "Gaming graphics cards" is fair: the GTX 580 was a consumer gaming GPU.
- Why graphics cards suit neural networks. GPUs were built for games and run thousands of small arithmetic operations in parallel, which is the bulk of neural-network work. This is standard background; the AlexNet paper itself credits its GPU implementation.
- Script: "Graphics cards were built for video games. They do thousands of tiny sums at once. Neural networks turned out to need exactly that."
- The "wrongness" bars for 2003 are qualitative. They are drawn without numbers. The paper reports a significant perplexity improvement over the best n-gram models; the bar lengths are illustrative, not to scale.
- Google Translate goes neural, 2016. GNMT (Wu et al., arXiv 1609.08144; Google AI blog, Sept 27, 2016) uses LSTM recurrent networks. It "reduces translation errors by an average of 60% compared to Google's phrase-based production system".
- The 60% comes from Google's own human side-by-side evaluations on sampled sentences.
- Script: "cut its errors by more than half, in Google's own tests". This is softer than 60% and attributed.
- Recurrent nets read one word at a time. The Transformer paper: recurrent models' "inherently sequential nature precludes parallelization within training examples" (https://arxiv.org/abs/1706.03762).
- Script: "they read one word at a time… each step waiting for the one before. That made them slow to train on huge amounts of text."
- We do not claim they "forgot" long passages. LSTMs partly fixed that, and it is contested.
The transformer (2017)
- "Attention Is All You Need", Vaswani et al., arXiv June 12, 2017; NeurIPS 2017.
- Eight authors. Most were at Google Brain or Google Research; one was at the University of Toronto, doing the work while at Google.
- Script: "eight researchers, most of them at Google" (https://arxiv.org/abs/1706.03762).
- Built for translation. Evaluated on WMT 2014 English–German and English–French.
- Training. "One machine with 8 NVIDIA P100 GPUs". The big model trained for 300,000 steps (3.5 days); the base model reached the state of the art "after being trained for as little as twelve hours on eight P100 GPUs" (section 5.2; https://ar5iv.labs.arxiv.org/html/1706.03762).
- Script: "three and a half days, on eight graphics chips".
- What we say about how it works. Only its impact: it takes in all the words at once, so the work runs in parallel. Attention internals are left to Module 9.
Scale: GPT, GPT-2, GPT-3
- GPT (2018). OpenAI, "Improving language understanding with unsupervised learning", June 11, 2018 (https://openai.com/index/language-unsupervised/). A 12-block transformer, "generative pre-training".
- Size: 117M parameters. This is the figure the GPT-2 paper gives for a model the same size as the original GPT. Hugging Face lists GPT-2 small as 124M because of a later counting correction.
- Script: "about a hundred million", with "117M" on screen.
- The name "G P T" = generative pre-trained transformer is the standard expansion.
- GPT-2 (Feb 14, 2019). 1.5 billion parameters. Released in stages because of misuse concerns; the full model came out in Nov 2019 (https://openai.com/index/better-language-models/; https://openai.com/index/gpt-2-1-5b-release/).
- The OpenAI release-strategies report (https://arxiv.org/abs/1908.09203) describes the staging and "the nine-month delay".
- Script: "At first, OpenAI held back the full GPT-2, worried it could be misused. They released it in stages, over nine months."
- "It's the T in ChatGPT." GPT stands for generative pre-trained transformer (the GPT-1 paper is titled "Improving Language Understanding by Generative Pre-Training", built on the Transformer).
- GPT-3 (May 28, 2020). "Language Models are Few-Shot Learners", 175 billion parameters, trained on 300 billion tokens (Table 2.1). Few-shot use is "without any gradient updates or fine-tuning", with demonstrations given "purely via text interaction" (https://arxiv.org/abs/2005.14165).
- The few-shot prompt on screen ("sea otter => loutre de mer", "peppermint => menthe poivrée", "cheese =>") is the paper's own Figure 2.1 example, cross-checked in course slides (https://people.cs.umass.edu/~miyyer/cs685_f20/slides/11-gpt3.pdf; https://ai.stanford.edu/blog/in-context-learning).
- The completion "fromage" is illustrative; the figure shows only the prompt.
- Area of the squares = parameter count. 117M : 1.5B : 175B ≈ 1 : 13 : 1,500, drawn to scale.
Chat (2022)
- A base model continues text; it doesn't follow instructions reliably. InstructGPT motivates its work this way: GPT-3 often fails to follow the user's intent.
- The on-screen "What is the capital of France? → What is the capital of Germany? …" continuation is illustrative of a base model continuing a list of questions. It is a well-known failure mode, not a logged output.
- InstructGPT. Ouyang et al., arXiv March 4, 2022 (https://arxiv.org/abs/2203.02155). The method is SFT on labeler demonstrations, then a reward model from rankings, then RLHF. "Outputs from the 1.3B parameter InstructGPT model are preferred to outputs from the 175B GPT-3, despite having 100x fewer parameters."
- Script: "people preferred the answers of a tuned model with one point three billion dials over the untuned one with a hundred and seventy-five billion."
- ChatGPT. Announced Nov 30, 2022 (https://openai.com/index/chatgpt/). A "sibling model to InstructGPT", trained with RLHF using "the same methods as InstructGPT, with slight differences in the data collection setup", and "fine-tuned from a model in the GPT-3.5 series, which finished training in early 2022".
- One million users in five days. Sam Altman, Dec 5, 2022: "ChatGPT launched on wednesday. today it crossed 1 million users!" Nov 30, 2022 was a Wednesday (https://www.entrepreneur.com/en-in/news-and-trends/internet-sensation-chatgpt-crosses-1-million-users-in-5-days/440390).
- Script: "Five days later, a million people had tried it."
- "100 million users in two months". This is a UBS estimate from Similarweb data (Reuters, Feb 2, 2023), not an OpenAI figure.
- Left out.
Claim verdicts and fixes
| Claim (draft) | Verdict | Fix used in the script |
|---|---|---|
| "ELIZA was the first chatbot" | Usual, but "first" is debatable | "one of the very first chatbots" |
| "ChatGPT came sixty years after ELIZA" | Wrong (56 years) | "sixty years ago" (from today) |
| "Weizenbaum's secretary asked him to leave so she could talk to it" | His own published account; the person is unidentified | "Weizenbaum wrote that his own secretary asked him to leave the room" |
| "For decades all AI was rules" | Overbroad | "For about twenty years, most language software worked like this" |
| "Jelinek: every time I fire a linguist…" | Wording and date unverified | Left out |
| "Google counted a trillion words" | Accurate (1,024,908,267,229 words, 2006) | Exact number on screen |
| "Neural nets forgot long sentences" | Contested (LSTMs) | Only "one word at a time, slow to train" (Transformer paper) |
| "Google Translate's errors fell 60%" | Google's own human evaluations | "more than half, in Google's own tests" |
| "The transformer understands which words matter" | Internals are out of scope; "understands" is banned vocabulary | Not said; "it takes in every word at once" |
| "Trained in 3.5 days on 8 GPUs" | Accurate (the big model) | Kept |
| "GPT-1 had 117M parameters" | GPT-2 paper's figure (later counted as 124M) | "about a hundred million"; 117M on screen |
| "GPT-3 learned new tasks from examples" | It does in-context; the dials don't change | "pick up the pattern… without any extra training" |
| "A 1.3B tuned model beat 175B GPT-3" | Accurate (labeler preference, InstructGPT abstract) | Kept, phrased as "people preferred" |
| "ChatGPT hit 100M users in 2 months" | Analyst estimate | Left out; only Altman's 1M in 5 days |
Illustrative (not real outputs), to note in the video description
The 2003 "wrongness" bars (qualitative only).
The hook's rulebook rows (they depict the misconception).
The n-gram counts for "on the ___".
The "I speak fluent ___" scores.
The base-model continuation of the France question.
The "fromage" completion.
The modern chatbot's reply to "Men are all alike." in the closing.