GPT-4 - How does it work, and how do I build apps with it? - CS50 Tech Talk

1,932,682
0
Published 2023-05-01
First, you’ll learn how GPT-4 works and why human language turns out to play such a critical role in computing. Next, you’ll see how AI-native software is being made.

Taught by Ted Benson, founder of Steamship, MIT Ph.D., & Y Combinator Alum; and Sil Hamilton, researcher of emergent AI behavior at McGill University.

Slides at: cdn.cs50.net/2023/spring/talks/gpt4/gpt4.pdf

***

This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.

***

HOW TO SUBSCRIBE

youtube.com/subscription_center?add_user=cs50tv

HOW TO TAKE CS50

edX: cs50.edx.org/
Harvard Extension School: cs50.harvard.edu/extension
Harvard Summer School: cs50.harvard.edu/summer
OpenCourseWare: cs50.harvard.edu/x

HOW TO JOIN CS50 COMMUNITIES

Discord: discord.gg/cs50
Ed: cs50.harvard.edu/x/ed
Facebook Group: www.facebook.com/groups/cs50/
Faceboook Page: www.facebook.com/cs50/
GitHub: github.com/cs50
Gitter: gitter.im/cs50/x
Instagram: instagram.com/cs50
LinkedIn Group: www.linkedin.com/groups/7437240/
LinkedIn Page: www.linkedin.com/school/cs50/
Medium: cs50.medium.com/
Quora: www.quora.com/topic/CS50
Reddit: www.reddit.com/r/cs50/
Slack: cs50.edx.org/slack
Snapchat: www.snapchat.com/add/cs50
SoundCloud: soundcloud.com/cs50
Stack Exchange: cs50.stackexchange.com/
TikTok: www.tiktok.com/@cs50
Twitter: twitter.com/cs50
YouTube: youtube.com/cs50

HOW TO FOLLOW DAVID J. MALAN

Facebook: www.facebook.com/dmalan
GitHub: github.com/dmalan
Instagram: www.instagram.com/davidjmalan/
LinkedIn: www.linkedin.com/in/malan/
Quora: www.quora.com/profile/David-J-Malan
TikTok: www.tiktok.com/@davidjmalan
Twitter: twitter.com/davidjmalan

***

CS50 SHOP

cs50.harvardshop.com/

***

LICENSE

CC BY-NC-SA 4.0
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License
creativecommons.org/licenses/by-nc-sa/4.0/

David J. Malan
cs.harvard.edu/malan
[email protected]

All Comments (21)
  • @NikTh181
    That's why these are some of the best universities in the world . no wonder why so many students wants to enroll in there The immediately include recent development in practical world instead of teaching you 20 year old syllabus
  • @hrishikeshh
    This lecture is going to be initial reference for so many people who are going to build things on top of GPT.
  • @CitizenWarwick
    I've been working on ~2000 token long conversational prompts with response formatting and decision making even with data structures in the context and it just keeps on giving, spent hours tweaking my prompts and they keep on giving, amazing tech!
  • @set_app
    I've been using GPT for quite a while and am glad I got to build up my own knowledge of what I thought it was capable of to then watch this and realize it can do SO much more!
  • @yash7972
    Like always CS50 never fails to amaze.😍
  • @jaceyang3375
    Love to see how quickly people can adapt to new tech and start building
  • @sudzam
    Loved the framework approach for each application!
  • My team is currently using GPT3.5 to build Tammy AI:face-blue-smiling:. GPT4 just dont make sense for a cost perspective now.
  • @wda_digital
    Pretty damn cool. Thanks for the chat. If we ask GPT how many times PIZZA was mentioned it will probably return 'too many times' :) Now let's go build an app and force the AI into a loop.
  • This is so basic but is so necessary, really good to be able to watch this. Thank you.
  • I thoroughly appreciate this talk, I feel it did a great job to inspire me further into this particular field of development, even if only in small ways that are relevant to my particular work, or even to just try things as he said by hitting things with this new hammer!
  • @kokits
    thank you for sharing and for opening doors to the field
  • @DownunderGraham
    I read that one of the reasons for the chatgpt inaccuracies is it's linear generation method. As mentioned it is trying to do it's best to predict the next logical word in a sequence. Unfortunately once it's made it's choice it is unable to correct the “stream of prediction”. This is apparently why, when you “prompt” it that there is an error it is able to re-read it's output and correct the error. I have heard that methods like “chain of thought” might help with this issue. This method allows the generation to backtrack up the tree to effectively undo a path it may have previously gone down and start down a different path. Much, much more computationally expensive though.
  • @K.F-R
    An excellent talk. Thank you for sharing.
  • @StephanHaewss
    Very good explainations! I would see these systems as a simulated intelligence or a way to do knowledge discovery from a learned model. But since it does not have real life experiences, needs, emotions and cannot "do" anything by itself, it seems to cover only part of what makes up a human or even animal. But certainly a great tool that can be used for many purposes.
  • @c016smith52
    What a time to be alive, between open-source human-led courses like this, and GPT-enabled tutors of today (not just tomorrow y'all, TODAY) we can empower the next generation with a quality education, refinement of critical thinking skills and curiosity!
  • @Tozziz
    This lecure is really inspiring, thank you very very much!!!