ChatGPT in 5 Minutes @SirajRaval
ChatGPT in 5 Minutes  @SirajRaval
Uploaded February 2023 | Updated September 2026, 1 week ago
ChatGPT is the most popular AI in the world, but how does it work? In this 5 minute video, we'll build a simple version of ChatGPT in under 40 lines of Python code to better understand it! Our version of ChatGPT will be called ElonGPT, trained to act just like Elon Musk, so that I can ask him if he will give me a free ride to Mars! ChatGPT was built in 3 steps, generative pre-training to learn English, supervised fine-tuning to learn dialogue, and reinforcement learning from human feedback to improve its dialogue capability. We'll go through each, step by step. The code that i use in the video is below!

Please subscribe! That would make me the happiest, and encourage me to output similar content.

Code for this video:
github.com/llSourcell/ChatGPT_in_5_Minutes

Please Subscribe! That's what keeps me going.

Want more AI/ML education? Connect with me here:
Twitter: twitter.com/sirajraval
Instagram: instagram.com/sirajraval
Facebook: facebook.com/sirajology
Linkedin: linkedin.com/in/sirajraval

Join our discord:
discord.gg/zgEJxeYA2X

I Built a Trading Bot with ChatGPT:
youtube.com/watch?v=fhBw3j_O9LE

I Built a Sports Betting Bot with ChatGPT:
youtube.com/watch?v=IDthta5sUGQ

Watch ChatGPT Build an AI Startup:
youtube.com/watch?v=hL2hLFUwuqQ

Watch ChatGPT Build a Finance Startup:
youtube.com/watch?v=on623d5EfPw

Watch Me Build a Startup Playlist:
youtube.com/watch?v=oeraUtRgsbI&list=PL2-dafEMk2A4n3aP_rzgqA8lVGknkSN2p&index=1

Learn Machine Learning in 3 Months:
youtube.com/watch?v=dS2HYPY7T-4 Join my AI community: chatgptschool.io Sign up for my AI Sports betting Bot, WagerGPT! (500 spots available): https://www.wagergpt.xyz
ChatGPT in 5 MinutesSucceed in Any Programming Interview 2019Mathematics for BeginnersI Let 5 AIs Choose My Sports Bets, Results Shocked Me!ChatGPT O1 ExplainedI Let an AI Agent Run 5 Dead Websites for 30 DaysBaton Master - My 1st Virtual Reality GameWho Wants to be a Code Millionaire? Ft. William LinSiraj Raval Live StreamWhy NVIDIA is Terrified of This New AI ChipBiological Computers Are Real Now. I Tried OneI Built a Hedge Fund Run by AI Agents
Siraj Raval |

ChatGPT in 5 Minutes

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER