Design ChatGPT - System Design Mock Interview (with eBay EM)
Make sure you're interview-ready with Exponent's system design interview prep course: https://bit.ly/3NxjDyT
Join Neeraj, an eBay engineering manager, as he builds ChatGPT during a system design mock interview. He identifies the requirements and constraints for building a robust chatbot system that can handle millions of users and transactions.
An overview of the high-level design of this system:
- Functional requirements:
- Create, update, view, and delete conversations
- Rate responses with thumbs up or thumbs down to train the model
- Text-based inputs in English
- Sanitization phase to remove profanity and detect insults
- Non-functional requirements:
- Latency, security, and scalability
- Login flows and rate limitation procedures to prevent DDoS attacks
- Scalable rate limiter and database storage
- High-level design:
- Conversation service manages conversation between users and chat GPT model
- Sanitization and analysis of messages before being sent to chat GPT model
- Results from chat GPT model are sent back for storage in database
- Thumbs down ratings
- Rest API with operations for creating, deleting, viewing, and sending messages
- Each conversation has a unique ID for each message
- NoSQL database storage where the conversation table contains various conversation IDs, and each message contains an ID, text, author, and parent
- Chat GPT model:
- Uses Transformer model to predict natural sequences of words
- Trained on internet data such as websites, books, and Wikipedia links
- Can use multiple approaches to select the most accurate prediction
- Chatbot design:
- Designed using supervised fine-tuning, a reward model, and reinforcement learning
- Reward model selects best responses to train the chatbot
- Chatbot can support different input and output formats, including images, audio, and video
- Takes into account the emotion and tone of the question and answer and will continuously train itself to improve accuracy
Watch more system design videos here:
Meta engineering manager answers a rate limiter interview question: https://youtu.be/SgWb6tWx3S8
Google SWE answers an algorithms interview question: https://youtu.be/NRRyk0XqkkA
Google TPM answers Tiktok system design interview question: https://youtu.be/Z-0g_aJL5Fw
Flipkart EM “Design Amazon Prime Video” system design interview question: https://youtu.be/PuU_0esYyhg
👉 Subscribe to our channel: http://bit.ly/exponentyt
🕊️ Follow us on Twitter: http://bit.ly/exptweet
💙 Like us on Facebook for special discounts: http://bit.ly/exponentfb
📷 Check us out on Instagram: http://bit.ly/exponentig
📹 Watch us on TikTok: https://bit.ly/exponenttikttok
ABOUT US:
Want to land your dream career in tech? Exponent is an online community, course, and coaching platform to help you ace your upcoming system design interviews.
Exponent has helped hundreds of thousands of candidates pursue and land their dream careers at companies like Google, Microsoft, Amazon, and high-growth startups. Exponent is currently licensed by Stanford, Yale, UW, and others.
Our system design courses include interview lessons, questions, and complete answers with video walkthroughs. Get access to hours of real interview videos, where we analyze what went right or wrong, and our community of expert coaches and industry professionals to help you get your dream job and more!
Видео Design ChatGPT - System Design Mock Interview (with eBay EM) канала Exponent
Join Neeraj, an eBay engineering manager, as he builds ChatGPT during a system design mock interview. He identifies the requirements and constraints for building a robust chatbot system that can handle millions of users and transactions.
An overview of the high-level design of this system:
- Functional requirements:
- Create, update, view, and delete conversations
- Rate responses with thumbs up or thumbs down to train the model
- Text-based inputs in English
- Sanitization phase to remove profanity and detect insults
- Non-functional requirements:
- Latency, security, and scalability
- Login flows and rate limitation procedures to prevent DDoS attacks
- Scalable rate limiter and database storage
- High-level design:
- Conversation service manages conversation between users and chat GPT model
- Sanitization and analysis of messages before being sent to chat GPT model
- Results from chat GPT model are sent back for storage in database
- Thumbs down ratings
- Rest API with operations for creating, deleting, viewing, and sending messages
- Each conversation has a unique ID for each message
- NoSQL database storage where the conversation table contains various conversation IDs, and each message contains an ID, text, author, and parent
- Chat GPT model:
- Uses Transformer model to predict natural sequences of words
- Trained on internet data such as websites, books, and Wikipedia links
- Can use multiple approaches to select the most accurate prediction
- Chatbot design:
- Designed using supervised fine-tuning, a reward model, and reinforcement learning
- Reward model selects best responses to train the chatbot
- Chatbot can support different input and output formats, including images, audio, and video
- Takes into account the emotion and tone of the question and answer and will continuously train itself to improve accuracy
Watch more system design videos here:
Meta engineering manager answers a rate limiter interview question: https://youtu.be/SgWb6tWx3S8
Google SWE answers an algorithms interview question: https://youtu.be/NRRyk0XqkkA
Google TPM answers Tiktok system design interview question: https://youtu.be/Z-0g_aJL5Fw
Flipkart EM “Design Amazon Prime Video” system design interview question: https://youtu.be/PuU_0esYyhg
👉 Subscribe to our channel: http://bit.ly/exponentyt
🕊️ Follow us on Twitter: http://bit.ly/exptweet
💙 Like us on Facebook for special discounts: http://bit.ly/exponentfb
📷 Check us out on Instagram: http://bit.ly/exponentig
📹 Watch us on TikTok: https://bit.ly/exponenttikttok
ABOUT US:
Want to land your dream career in tech? Exponent is an online community, course, and coaching platform to help you ace your upcoming system design interviews.
Exponent has helped hundreds of thousands of candidates pursue and land their dream careers at companies like Google, Microsoft, Amazon, and high-growth startups. Exponent is currently licensed by Stanford, Yale, UW, and others.
Our system design courses include interview lessons, questions, and complete answers with video walkthroughs. Get access to hours of real interview videos, where we analyze what went right or wrong, and our community of expert coaches and industry professionals to help you get your dream job and more!
Видео Design ChatGPT - System Design Mock Interview (with eBay EM) канала Exponent
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Machine Learning Interview - Design Spotify Recommendations](https://i.ytimg.com/vi/vyZMYlGBSBM/default.jpg)
![Machine Learning Interview - Training AI to Detect Bots](https://i.ytimg.com/vi/_eT6SYb5sZM/default.jpg)
![Drawbacks of NoSQL Databases in Distributed Systems](https://i.ytimg.com/vi/Jm0tL3Ngdb4/default.jpg)
![Advantages of Using NoSQL Databases](https://i.ytimg.com/vi/ohHePJyHOjo/default.jpg)
![Choosing the Right Database for System Design](https://i.ytimg.com/vi/zt674fNmT8o/default.jpg)
![Using Circuit Breakers for Reliable AI Systems](https://i.ytimg.com/vi/UYofy85g2qg/default.jpg)
![How does an API work?](https://i.ytimg.com/vi/MMXr7HwcBMY/default.jpg)
![What is an API?](https://i.ytimg.com/vi/XP6c5tvlvJU/default.jpg)
![System design interview on how to handle bottlenecks and scaling](https://i.ytimg.com/vi/bTYU36VWRRc/default.jpg)
![System Design Interview tips on how to deep dive into design](https://i.ytimg.com/vi/bhfpsKqvM3w/default.jpg)
![System design interview: Design at a high level](https://i.ytimg.com/vi/kUebWKoBmIU/default.jpg)
![How to define problem space as a System Designer](https://i.ytimg.com/vi/_CdDKasm96M/default.jpg)
![APIs Explained (in 4 Minutes)](https://i.ytimg.com/vi/bxuYDT-BWaI/default.jpg)
![What does a Director of Product do?](https://i.ytimg.com/vi/q6_R-MBlZUo/default.jpg)
![What does a Product Leader do?](https://i.ytimg.com/vi/Q6JuMhJvdt0/default.jpg)
![What does Senior Product Manager do?](https://i.ytimg.com/vi/HIxrGBkkMLE/default.jpg)
![PM career ladder: What does Product Manager do?](https://i.ytimg.com/vi/dxew9L5k82g/default.jpg)
![PM career ladder: What does an associate PM do?](https://i.ytimg.com/vi/_ri-XPvlZJs/default.jpg)
![Join a startup as a PM.](https://i.ytimg.com/vi/Q-xpUfjoygw/default.jpg)
![Understanding Web 3.0 customers.](https://i.ytimg.com/vi/Jw8REbwJq68/default.jpg)