GPT-1 to GPT-3 Explained: Why Scaling Changed AI | LLM Course #9
The Transformer existed. Then OpenAI made a bet: bigger models, more text. In Lecture 9 of the LLM Masterclass: GPT-1 (2018) with pre-training then fine-tuning, Google's BERT, GPT-2 (2019) and zero-shot learning, GPT-3 (2020) with 175 billion parameters and few-shot learning, a few-shot prompt in Python, and why GPT-3 still wasn't an assistant. 💻 Code for this lecture (branch lecture-09): https://github.com/programmingline/chotugpt/tree/lecture-09 Lecture 9 of 32 — LLM Masterclass · Module 1: How LLMs were invented ⚠️ ChotuGPT is a simplified teaching model. The chat exchange with GPT-3 near the end is an illustration, not a real transcript. In this lecture: • June 2018: GPT-1, Generative Pre-trained Transformer: 117M parameters, 12 layers, BooksCorpus (~7,000 books) • October 2018: BERT reads both directions and fills in hidden words • February 2019: GPT-2, 1.5B parameters, ~40 GB of WebText, staged release • May 2020: GPT-3, 175B parameters, ~300B tokens • Zero-shot vs few-shot learning from the prompt alone • A few-shot prompt in Python and 175e9 / 117e6 ≈ 1,496× • The scaling bet, and why a raw text predictor isn't a helpful assistant Chapters: 00:00 Lecture 8 quiz answer 00:11 The scaling bet 00:22 2018: GPT-1, pre-training and fine-tuning 00:57 2018: BERT 01:17 The race had started 01:22 2019: GPT-2 and zero-shot 01:49 2020: GPT-3, 175 billion parameters 02:14 A few-shot prompt 02:32 Few-shot prompt in Python 02:52 Quiz 03:14 The scaling bet 03:33 Recap & next lecture ✅ Lecture 8 quiz answer: B, recurrence. The Transformer reads all the words at once. ❓ Quiz: How many parameters did GPT-3 have? A) 117 million B) 1.5 billion C) 175 billion. Comment your answer. I reveal it in Lecture 10! 👍 Like, subscribe and comment your quiz answer. ⏮ Previous: Lecture 8 — Attention Is All You Need (2017) ⏭ Next: Lecture 10 — From GPT-3 to ChatGPT: the modern era Sources: A. Radford et al., "Improving Language Understanding by Generative Pre-Training", OpenAI 2018. J. Devlin et al., "BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding", 2018. A. Radford et al., "Language Models are Unsupervised Multitask Learners", OpenAI 2019. T. Brown et al., "Language Models are Few-Shot Learners", NeurIPS 2020. #LLM #GPT3 #FewShotLearning…more
The Transformer existed. Then OpenAI made a bet: bigger models, more text. In Lecture 9 of the LLM Masterclass: GPT-1 (2018) with pre-training then fine-tuning, Google's BERT, GPT-2 (2019) and zero-shot learning, GPT-3 (2020) with 175 billion parameters and few-shot learning, a few-shot prompt in Python, and why GPT-3 still wasn't an assistant. 💻 Code for this lecture (branch lecture-09): https://github.com/programmingline/chotugpt/tree/lecture-09 Lecture 9 of 32 — LLM Masterclass · Module 1: How LLMs were invented ⚠️ ChotuGPT is a simplified teaching model. The chat exchange with GPT-3 near the end is an illustration, not a real transcript. In this lecture: • June 2018: GPT-1, Generative Pre-trained Transformer: 117M parameters, 12 layers, BooksCorpus (~7,000 books) • October 2018: BERT reads both directions and fills in hidden words • February 2019: GPT-2, 1.5B parameters, ~40 GB of WebText, staged release • May 2020: GPT-3, 175B parameters, ~300B tokens • Zero-shot vs few-shot learning from the prompt alone • A few-shot prompt in Python and 175e9 / 117e6 ≈ 1,496× • The scaling bet, and why a raw text predictor isn't a helpful assistant Chapters: 00:00 Lecture 8 quiz answer 00:11 The scaling bet 00:22 2018: GPT-1, pre-training and fine-tuning 00:57 2018: BERT 01:17 The race had started 01:22 2019: GPT-2 and zero-shot 01:49 2020: GPT-3, 175 billion parameters 02:14 A few-shot prompt 02:32 Few-shot prompt in Python 02:52 Quiz 03:14 The scaling bet 03:33 Recap & next lecture ✅ Lecture 8 quiz answer: B, recurrence. The Transformer reads all the words at once. ❓ Quiz: How many parameters did GPT-3 have? A) 117 million B) 1.5 billion C) 175 billion. Comment your answer. I reveal it in Lecture 10! 👍 Like, subscribe and comment your quiz answer. ⏮ Previous: Lecture 8 — Attention Is All You Need (2017) ⏭ Next: Lecture 10 — From GPT-3 to ChatGPT: the modern era Sources: A. Radford et al., "Improving Language Understanding by Generative Pre-Training", OpenAI 2018. J. Devlin et al., "BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding", 2018. A. Radford et al., "Language Models are Unsupervised Multitask Learners", OpenAI 2019. T. Brown et al., "Language Models are Few-Shot Learners", NeurIPS 2020. #LLM #GPT3 #FewShotLearning