ChatGPT in 5 Minutes

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • 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...
    Please Subscribe! That's what keeps me going.
    Want more AI/ML education? Connect with me here:
    Twitter: / sirajraval
    Instagram: / sirajraval
    Facebook: / sirajology
    Linkedin: / sirajraval
    Join our discord:
    / discord
    I Built a Trading Bot with ChatGPT:
    • I Built a Trading Bot ...
    I Built a Sports Betting Bot with ChatGPT:
    • I Built a Sports Betti...
    Watch ChatGPT Build an AI Startup:
    • Watch ChatGPT Build an...
    Watch ChatGPT Build a Finance Startup:
    • Watch ChatGPT Build a ...
    Watch Me Build a Startup Playlist:
    • Watch Me Build a Finan...
    Learn Machine Learning in 3 Months:
    • Learn Machine Learning... Join my AI community: chatgptschool.io/ Sign up for my AI Sports betting Bot, WagerGPT! (500 spots available):
    www.wagergpt.co

КОМЕНТАРІ • 40

  • @agentstona
    @agentstona Рік тому +13

    GOOD to see the SRI raj back from depression to his old AI tutorial master self .............. YAY we can expect to see more AI tutorials from SRI raj now

    • @ZelenoJabko
      @ZelenoJabko Рік тому +5

      He came back to us through a quantum door!

  • @BadRush6969
    @BadRush6969 Рік тому +4

    True, i like this guys energy when he explains stuff in a very good and direct way! One of the best out there!

  • @victorchristian1111
    @victorchristian1111 Рік тому +1

    I wish you can teach everything I want to learn❤😅 you are divinely blessed with this skill

  • @AliKutluozen
    @AliKutluozen Рік тому +3

    Beautiful. You’re making seemingly very complex terms and concepts super easy to digest. Let’s give this a try now…

  • @sahilabbaskhan3919
    @sahilabbaskhan3919 Рік тому

    Keep moving dear.. All the very best 😘

  • @misterloafer5021
    @misterloafer5021 Рік тому +1

    So good to have you back Siraj!!! Interested as well in finetuning for domain adaptation as a substitute for pre-training, and what your views are on that.

  • @drde1143
    @drde1143 Рік тому +1

    Agree with everyone else 💯 very well explained 👏 👍 👌 😀

  • @tonycatman
    @tonycatman Рік тому

    Great video Siraj.
    Attention is all you need.

  • @aribk
    @aribk Рік тому

    this is sick

  • @blueeyedpunk
    @blueeyedpunk Рік тому

    Siraj where should I start to learn a lot of the stuff you know?

    • @SirajRaval
      @SirajRaval  Рік тому

      My UA-cam videos! It’s like my digital brain of everything I’ve learned about AI, it’s pretty much all evergreen, except for recurrent networks

  • @and_I_am_Life_the_fixer_of_all

    Beast

  • @FilipiVianna
    @FilipiVianna Рік тому +1

    Were the video code examples generated by GPT?

  • @babaramdass462
    @babaramdass462 Рік тому

    Amazing! Glad to see you back

  • @frankbraker
    @frankbraker Рік тому

    Super thanks for this!! Very useful tool, and code!!

  • @boisedatasciencemeet-up
    @boisedatasciencemeet-up Рік тому

    this is super digestible and easy to understand.

  • @bharath5673__
    @bharath5673__ Рік тому

    Hi siraj.. Please do robot tutorials,, robotics, physics and AI please.. Because ONLY U can make them even more simpler and easier!

  • @khireddinerca
    @khireddinerca Рік тому +1

    We need google in three minutes

  • @SaadAhmed3000
    @SaadAhmed3000 Рік тому

    What are the benefits of using gpt-2 vs other open source models? (i.e. opt-175b)

    • @SirajRaval
      @SirajRaval  Рік тому +1

      Smaller size, sometimes faster inference. But if you can handle more, go for bigger

    • @SaadAhmed3000
      @SaadAhmed3000 Рік тому

      @@SirajRaval thanks for the reply!

  • @6_nikki_9
    @6_nikki_9 Рік тому

    really really nice, thanks very much for this one

  • @SuperMaDBrothers
    @SuperMaDBrothers Рік тому

    cool :D

  • @sarahintech
    @sarahintech Рік тому

    Wow. 🔥🔥🤩

  • @youssefelamrani7905
    @youssefelamrani7905 Рік тому +1

    bruv you really made the openai team who worked on ChatGPT look like idiots haha, love the video so much.

  • @JordanClark82
    @JordanClark82 Рік тому +2

    Omg you invented chatgpt too??

  • @danielmoraes9637
    @danielmoraes9637 Рік тому

    Yes, i want more

  • @prakashpudipeddi2314
    @prakashpudipeddi2314 Рік тому

    Hi

  • @JazevoAudiosurf
    @JazevoAudiosurf Рік тому

    pretrained is just trained

    • @SirajRaval
      @SirajRaval  Рік тому

      Yeah I disagree with a lot of their naming conventions

  • @Rajentech
    @Rajentech Рік тому

    Hello why did you copy my name

  • @austinmitchell2652
    @austinmitchell2652 Рік тому

    Input 👏 times weight 👏 add a bias 👏 activate 👏

  • @norbertkovacs2394
    @norbertkovacs2394 Рік тому +1

    this is my result : "a real person � � � If I said to my wife, she said to me, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said to her, I said " - just I don't get it?

    • @SirajRaval
      @SirajRaval  Рік тому

      Hmm try re-training it and make sure it’s using gpt-2 weights