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

1,905,706
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!
  • @sudzam
    Loved the framework approach for each application!
  • 🎯 Key Takeaways for quick navigation: 00:00 🧠 Understanding GPT: Introduction to GPT and its various descriptors. 10:43 πŸš€ Expanding GPT's Abilities: GPT's role in question-answering and how it becomes more than just a language model. 16:59 πŸ€– Companionship Bots: Creating personalized AI companions. 19:09 πŸ’‘ Question Answering with GPT: Leveraging GPT for question-answering. 19:52 πŸ” How vector databases work 21:00 πŸ€– Building question-answering bots 25:01 πŸ› οΈ Building utility function apps 28:06 πŸ“š Leveraging creativity and domain knowledge 32:36 🌌 Exploring baby AGI and self-directed AI 40:31 🧠 How GPT-4 works and addressing hallucinations 43:21 πŸ—£οΈ Influencing GPT-4's behavior through language 45:03 πŸ’Ό Use cases and business value of AI apps 48:36 πŸ”„ The evolution of AI models like GPT-4 51:11 πŸ”’ Privacy implications of GPT-4 prompts and IP Mad
  • @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!
  • 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!
  • @jaceyang3375
    Love to see how quickly people can adapt to new tech and start building
  • @kokits
    thank you for sharing and for opening doors to the field
  • @yash7972
    Like always CS50 never fails to amaze.😍
  • @ambition112
    17:02: πŸ€– GPT is a large language model that predicts the next word in a sequence based on probabilities. 22:05: πŸ€– The scientists at OpenAI came up with the solution of training GPT with a bunch of question-and-answer examples, leading to the creation of ChatGPT, which gained 100 million users in one month. 30:50: πŸ€– The speaker explains how to build different types of language-based applications using GPT and prompts. 40:03: πŸ€– The presentation discusses the potential of AI, particularly GPT, in various domains and highlights the importance of domain knowledge in leveraging AI capabilities. 51:25: 🧠 The discussion explores the challenges and potential solutions for managing hallucinations in language models like GPT. 58:55: πŸ€” The speaker discusses the challenges and potential value of using GPT models like ChatGPT in various applications. Recap by Ta
  • @lightconstruct
    Very useful and well presented lecture, also good questions.
  • @K.F-R
    An excellent talk. Thank you for sharing.
  • What an awesome talk guys. It was immensely helpful for me, I'm an enthusiast learner on AI besides not understanding the detailed maths of it. I feel this is an evolution of technology that any nerd wants to be in. And I'm so happy to be part Thanks a lot, your knowledge sharing inspires me. greetings from argentina.
  • @maurobruno6954
    This lecure is really inspiring, thank you very very much!!!
  • @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.