ChatGPT in 5 Minutes

Поделиться
HTML-код
  • Опубликовано: 31 май 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

  • @sahilabbaskhan3919
    @sahilabbaskhan3919 Год назад

    Keep moving dear.. All the very best 😘

  • @AliKutluozen
    @AliKutluozen Год назад +3

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

  • @drde1143
    @drde1143 Год назад +1

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

  • @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.

  • @aribk
    @aribk Год назад

    this is sick

  • @tonycatman
    @tonycatman Год назад

    Great video Siraj.
    Attention is all you need.

  • @and_I_am_Life_the_fixer_of_all

    Beast

  • @blueeyedpunk
    @blueeyedpunk Год назад

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

    • @SirajRaval
      @SirajRaval  Год назад

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

  • @babaramdass462
    @babaramdass462 Год назад

    Amazing! Glad to see you back

  • @SuperMaDBrothers
    @SuperMaDBrothers Год назад

    cool :D

  • @frankbraker
    @frankbraker Год назад

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

  • @khireddinerca
    @khireddinerca Год назад +1

    We need google in three minutes

  • @6_nikki_9
    @6_nikki_9 Год назад

    really really nice, thanks very much for this one

  • @FilipiVianna
    @FilipiVianna Год назад +1

    Were the video code examples generated by GPT?

  • @bharath5673__
    @bharath5673__ Год назад

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

  • @sarahintech
    @sarahintech Год назад

    Wow. 🔥🔥🤩

  • @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!

  • @boisedatasciencemeet-up
    @boisedatasciencemeet-up Год назад

    this is super digestible and easy to understand.

  • @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??

  • @prakashpudipeddi2314
    @prakashpudipeddi2314 Год назад

    Hi

  • @danielmoraes9637
    @danielmoraes9637 Год назад

    Yes, i want more

  • @Rajentech
    @Rajentech Год назад

    Hello why did you copy my name

  • @JazevoAudiosurf
    @JazevoAudiosurf Год назад

    pretrained is just trained

    • @SirajRaval
      @SirajRaval  Год назад

      Yeah I disagree with a lot of their naming conventions

  • @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