How GPT Became ChatGPT: Human Feedback & RLHF Explained | LLM Course #10
GPT-3 could write, but it was not an assistant. In Lecture 10 of the LLM Masterclass: InstructGPT (2022) and the three steps of human feedback (demonstrations, rankings and a reward model, RLHF), the launch of ChatGPT on 30 November 2022, GPT-4, open-weight models from LLaMA onwards, reasoning models like o1 and DeepSeek-R1, a chat template in Python, and a neutral look at the LLM landscape in late 2026. 💻 Code for this lecture (branch lecture-10): https://github.com/programmingline/chotugpt/tree/lecture-10 Lecture 10 of 32 — LLM Masterclass · Module 1: How LLMs were invented ⚠️ ChotuGPT is a simplified teaching model. The chat exchanges shown are illustrations, not real model outputs, and the chat template in the code is simplified (every model family uses its own). The list of companies is examples only, in no particular order. In this lecture: • Why GPT-3 was a text predictor, not an assistant • January 2022: InstructGPT — supervised fine-tuning, a reward model from human rankings, and RLHF • People preferred a 1.3B InstructGPT over the 175B GPT-3 • 30 November 2022: ChatGPT, fine-tuned from a GPT-3.5 model with the same human-feedback methods; 1 million users in 5 days • 14 March 2023: GPT-4 reads images as well as text; its report did not disclose model size • Open-weight models: LLaMA (Feb 2023), Llama 2 (Jul 2023), Mistral, Qwen, DeepSeek, Gemma, gpt-oss (Aug 2025) • Reasoning models: OpenAI o1 (Sep 2024 preview) and DeepSeek-R1 (Jan 2025, open weights, MIT licence) • A chat template in Python: a chat is still next-token prediction • The late-2026 landscape: many teams in the US, China, Europe and India; closed and open-weight models Chapters: 00:00 Lecture 9 quiz answer 00:12 From GPT-3 to ChatGPT 00:21 GPT-3 was not an assistant 00:33 2022: InstructGPT and RLHF 01:12 Enjoying the story? 01:17 November 2022: ChatGPT 01:37 Our sentence, two ways 01:49 2023: GPT-4 02:03 Open-weight models 02:28 Reasoning models: o1 and DeepSeek-R1 02:50 A chat template in Python 03:19 Quiz 03:41 The landscape in late 2026 04:15 Recap & next lecture ✅ Lecture 9 quiz answer: C, 175 billion parameters — about 1,500 times GPT-1. ❓ Quiz: What made ChatGPT different from GPT-3? A) Just more parameters B) Training on human feedback to follow instructions C) Internet access. Comment your answer. I reveal it in Lecture 11! 👍 Like, subscribe and comment your quiz answer. ⏮ Previous: Lecture 9 — The scaling bet: GPT-1 to GPT-3 ⏭ Next: Lecture 11 — Vectors, matrices and dot products Sources: L. Ouyang et al., "Training language models to follow instructions with human feedback", 2022 (arXiv:2203.02155); OpenAI, "Aligning language models to follow instructions" (27 Jan 2022); OpenAI, "Introducing ChatGPT" (30 Nov 2022); OpenAI, "GPT-4 Technical Report", 2023 (arXiv:2303.08774); H. Touvron et al., "LLaMA: Open and Efficient Foundation Language Models", 2023 (arXiv:2302.13971); Meta, Llama 2 release (18 Jul 2023); OpenAI, "Introducing gpt-oss" (5 Aug 2025); OpenAI, "Learning to reason with LLMs" (12 Sep 2024); DeepSeek-AI, "DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning", 2025 (arXiv:2501.12948); Sarvam AI open-weight 30B and 105B models (2026). #LLM #ChatGPT #RLHF…more
GPT-3 could write, but it was not an assistant. In Lecture 10 of the LLM Masterclass: InstructGPT (2022) and the three steps of human feedback (demonstrations, rankings and a reward model, RLHF), the launch of ChatGPT on 30 November 2022, GPT-4, open-weight models from LLaMA onwards, reasoning models like o1 and DeepSeek-R1, a chat template in Python, and a neutral look at the LLM landscape in late 2026. 💻 Code for this lecture (branch lecture-10): https://github.com/programmingline/chotugpt/tree/lecture-10 Lecture 10 of 32 — LLM Masterclass · Module 1: How LLMs were invented ⚠️ ChotuGPT is a simplified teaching model. The chat exchanges shown are illustrations, not real model outputs, and the chat template in the code is simplified (every model family uses its own). The list of companies is examples only, in no particular order. In this lecture: • Why GPT-3 was a text predictor, not an assistant • January 2022: InstructGPT — supervised fine-tuning, a reward model from human rankings, and RLHF • People preferred a 1.3B InstructGPT over the 175B GPT-3 • 30 November 2022: ChatGPT, fine-tuned from a GPT-3.5 model with the same human-feedback methods; 1 million users in 5 days • 14 March 2023: GPT-4 reads images as well as text; its report did not disclose model size • Open-weight models: LLaMA (Feb 2023), Llama 2 (Jul 2023), Mistral, Qwen, DeepSeek, Gemma, gpt-oss (Aug 2025) • Reasoning models: OpenAI o1 (Sep 2024 preview) and DeepSeek-R1 (Jan 2025, open weights, MIT licence) • A chat template in Python: a chat is still next-token prediction • The late-2026 landscape: many teams in the US, China, Europe and India; closed and open-weight models Chapters: 00:00 Lecture 9 quiz answer 00:12 From GPT-3 to ChatGPT 00:21 GPT-3 was not an assistant 00:33 2022: InstructGPT and RLHF 01:12 Enjoying the story? 01:17 November 2022: ChatGPT 01:37 Our sentence, two ways 01:49 2023: GPT-4 02:03 Open-weight models 02:28 Reasoning models: o1 and DeepSeek-R1 02:50 A chat template in Python 03:19 Quiz 03:41 The landscape in late 2026 04:15 Recap & next lecture ✅ Lecture 9 quiz answer: C, 175 billion parameters — about 1,500 times GPT-1. ❓ Quiz: What made ChatGPT different from GPT-3? A) Just more parameters B) Training on human feedback to follow instructions C) Internet access. Comment your answer. I reveal it in Lecture 11! 👍 Like, subscribe and comment your quiz answer. ⏮ Previous: Lecture 9 — The scaling bet: GPT-1 to GPT-3 ⏭ Next: Lecture 11 — Vectors, matrices and dot products Sources: L. Ouyang et al., "Training language models to follow instructions with human feedback", 2022 (arXiv:2203.02155); OpenAI, "Aligning language models to follow instructions" (27 Jan 2022); OpenAI, "Introducing ChatGPT" (30 Nov 2022); OpenAI, "GPT-4 Technical Report", 2023 (arXiv:2303.08774); H. Touvron et al., "LLaMA: Open and Efficient Foundation Language Models", 2023 (arXiv:2302.13971); Meta, Llama 2 release (18 Jul 2023); OpenAI, "Introducing gpt-oss" (5 Aug 2025); OpenAI, "Learning to reason with LLMs" (12 Sep 2024); DeepSeek-AI, "DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning", 2025 (arXiv:2501.12948); Sarvam AI open-weight 30B and 105B models (2026). #LLM #ChatGPT #RLHF