Build an AI app with FastAPI and Docker - Coding Tutorial with Tips

  Рет қаралды 43,478

Patrick Loeber

Patrick Loeber

Күн бұрын

Join me in a coding session with Sebastián Ramírez and learn how to build a Machine Learning app with FastAPI and Docker. Along the way we will show you some tips like the interactive coding session and Docker init command, and best practices when working with FastAPI.
During the premiere, there will also be a giveaway to win Docker swag!🐳🥳
Sebastián is the creator of FastAPI, Typer, and other cool Open Source tools, and he is also a Docker captain. You can connect with him here:
- Twitter: / tiangolo
- Website: tiangolo.com/
Learn more about AI/ML and Docker: www.docker.com/products/ai-ml...
Resources:
- FastAPI: fastapi.tiangolo.com/
- ML model: huggingface.co/dandelin/vilt-...
- Docker init: github.com/patrickloeber/dock...
- Code: github.com/patrickloeber/dock...
Get my Free NumPy Handbook:
www.python-engineer.com/numpy...
⭐ Join Our Discord : / discord
📓 ML Notebooks available on Patreon:
/ patrickloeber
If you enjoyed this video, please subscribe to the channel:
▶️ : / @patloeber
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
🖥️ Website: www.python-engineer.com
🐦 Twitter - / patloeber
✉️ Newsletter - www.python-engineer.com/newsl...
📸 Instagram - / patloeber
🦾 Discord: / discord
▶️ Subscribe: / @patloeber
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
🅿 Patreon - / patrickloeber
#Python #docker
Timeline:
00:00 - Introduction
00:55 - Model Setup
09:35 - FastAPI Setup
26:15 - Docker Setup

Пікірлер: 54
@patloeber
@patloeber 8 ай бұрын
INSTRUCTIONS TO WIN DOCKER SWAG: Take a picture of yourself watching the video (or just a screenshot), post it on Twitter mentioning @Docker & @patloeber & @tiangolo to win SWAG! The first 30 people will be selected. There are still some left :)
@arshadvayani
@arshadvayani 8 ай бұрын
twitter.com/extensiveweb/status/1697311129846882759?t=fjMJ4WxIymAa5L1qnUJMOA&s=19
@MyCodingDiarie
@MyCodingDiarie 8 ай бұрын
Your videos are my go-to resource whenever I get stuck on a coding problem. Thank you!
@MyCodingDiarie
@MyCodingDiarie 8 ай бұрын
Your videos are a constant source of inspiration for me. Please keep them coming!
@sammathew535
@sammathew535 7 ай бұрын
Thanks a ton for the interactive mode trick!
@aar021
@aar021 8 ай бұрын
Pat! This is awesome. Also having Sebastian was a nice touch. Much love to you guys.
@patloeber
@patloeber 8 ай бұрын
Thank you!!
@BuddaFett
@BuddaFett 8 ай бұрын
You are a huge help to us!
@shamaldesilva9533
@shamaldesilva9533 8 ай бұрын
Awesome 🎉🎉 please more in depth courses with Fastapi ❤
@MrSuperGerald
@MrSuperGerald 3 ай бұрын
and with Sebastian! This format is the best.
@GabrielPozo
@GabrielPozo 8 ай бұрын
Great talk with Sebastian! 👏
@shaunpx1
@shaunpx1 5 ай бұрын
Awesome video! thank you guys for the great intuition and tips.
@theusualcouple
@theusualcouple 4 ай бұрын
Really cool feature of Run in interactive window. Thanks a lot for its introduction. This feature is also available by right clicking on a line/selection. VS code is the best.
@bengabp
@bengabp 8 ай бұрын
My notifications are enabled 😊
@macadeliccc2942
@macadeliccc2942 8 ай бұрын
great tutorial and lots of good information. Im familiar with torch and transformers but it was nice to combine them with a new technology to me, like fastAPI
@patloeber
@patloeber 8 ай бұрын
Thank you!
@shivrajnag12
@shivrajnag12 8 ай бұрын
Awesome session. Hi Sebastian, when can we expect FastAPI docs update with SQLModel?
@francescociulla
@francescociulla 6 ай бұрын
You just remembered me ti make the FastAPI video! Great one btw!
@mmzf2357
@mmzf2357 8 ай бұрын
Best content 👍🏻
@manyes7577
@manyes7577 7 ай бұрын
wow docker init make life so much easier
@ghufrankasho9470
@ghufrankasho9470 8 ай бұрын
this was very helpfull and educational thank you for this video and this collaboration was greate 😇
@patloeber
@patloeber 8 ай бұрын
Glad you enjoyed it!
@sunils7072
@sunils7072 8 ай бұрын
Thank you very much for this video.
@patloeber
@patloeber 8 ай бұрын
Glad you liked it!
@jaggyjut
@jaggyjut 4 ай бұрын
Thanks Patrick for another great Tutorial. Would you be able to make a tutorial on using streamlit to create an end user web app to fix any wrong prediction to retrain the model. For example let say we have a machine learning model capable of predicting the house rent for homes. the user should be able to upload a csv of list of home with key attributes and the output should be a grid view with all the rent predictions. If there is an incorrect prediction user should be able to type in the correct rent which will be used to retrain the model. If you make a course on Udemy will be first to purchase it 😀
@TheAremoh
@TheAremoh 8 ай бұрын
Amazing
@JustFuguFish
@JustFuguFish 3 ай бұрын
Nice fast course! I am just amazed that the Docker image has 10GB :D
@user-ql7de7ud6q
@user-ql7de7ud6q Ай бұрын
great clip, thx!
@wadejohnson4542
@wadejohnson4542 8 ай бұрын
Amazing! Patrick and Sebastian, how do we thank you for this?
@patloeber
@patloeber 8 ай бұрын
Hi hi, glad if you enjoyed the session!
@chrisogonas
@chrisogonas 4 ай бұрын
Thanks folks!
@Indently
@Indently 8 ай бұрын
AI let's goooooo
@edwardwong654
@edwardwong654 6 ай бұрын
Very interesting. What is the Rust for?
@doubleBottomChart
@doubleBottomChart 8 ай бұрын
Thanks.
@Robay146
@Robay146 8 ай бұрын
Thanks for this. However, would have been worth mentioning the amount of time needed to build the model. It took me 4hrs to build the image!
@patloeber
@patloeber 8 ай бұрын
Oh, didn't know it took that long :( It only took around 1 minute on my machine (2020 MacBook M1)
@City__Walker
@City__Walker 5 ай бұрын
Are there any development templates created for fastapi? What a standard FastAPI application should look like?
@pankajchaturvedi1541
@pankajchaturvedi1541 Ай бұрын
Does the Jupyter interactive window work, if I am using virtual env for the project?
@amrgaber4662
@amrgaber4662 8 күн бұрын
thanks
@erhanandrei4862
@erhanandrei4862 8 ай бұрын
@shaz-z506
@shaz-z506 8 ай бұрын
Good video, but I didn't get the part where you use Rust compiler, I mean why it was required?
@patloeber
@patloeber 8 ай бұрын
The transformers library needed it for the installation. At least on my system I was getting error messages without Rust
@flarexlucifer
@flarexlucifer 2 ай бұрын
so like for me everything went good but now i want to deploy my fastapi to aws lambda how do i it ? can you tell me it's for my university project.
@luca_dev
@luca_dev 8 ай бұрын
vscode tells me to install ipykernel to run python code interactively, did you install it in the project venv?
@patloeber
@patloeber 8 ай бұрын
yup, it'll always ask you this the first time
@huzaifa.arshad
@huzaifa.arshad 2 ай бұрын
I tried to do 'docker init' and it gave me (docker: 'init' is not a docker command. See 'docker --help') error. What did i missed?
@chikosan99
@chikosan99 8 ай бұрын
Thanks a lot! great Just it's not fullHD \:
@MJReviews122
@MJReviews122 4 ай бұрын
cooles video
@prithvirajdeshmukh5774
@prithvirajdeshmukh5774 3 ай бұрын
New subscriber from Bharat / India . Are you from?
@rahulkulkarni5967
@rahulkulkarni5967 8 ай бұрын
what's the total duration of the course.?
@patloeber
@patloeber 8 ай бұрын
30 minutes
@Gautamkumar-tk1xt
@Gautamkumar-tk1xt 8 ай бұрын
For recording
@user-nj5gj3dv3t
@user-nj5gj3dv3t 8 ай бұрын
🐍 Explore the world of Python for Research Work with this amazing playlist! 📚🔬 Don't forget to hit the 'Like' button 👍 and 'Subscribe' for more awesome content! 🤩 Check it out: kzbin.info/aero/PLIDulLqbs-nnr758jI13Cm5RmsOTkOk7t
@henoknigatu7121
@henoknigatu7121 6 ай бұрын
👍Nice...how to deploy it for free
Learn Docker Quickly - Machine Learning Project for Absolute Beginners
25:31
4 Tips for Building a Production-Ready FastAPI Backend
27:02
ArjanCodes
Рет қаралды 44 М.
1 класс vs 11 класс (рисунок)
00:37
БЕРТ
Рет қаралды 4,9 МЛН
Эта Мама Испортила Гендер-Пати 😂
00:40
Глеб Рандалайнен
Рет қаралды 6 МЛН
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Рет қаралды 91 МЛН
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 230 М.
Creating APIs For Machine Learning Models with FastAPI
20:06
NeuralNine
Рет қаралды 10 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 528 М.
Professional Streamlit dashboards with Docker
5:20
Real-World ML by Pau Labarta Bajo
Рет қаралды 2,7 М.
How to Use FastAPI: A Detailed Python Tutorial
20:38
ArjanCodes
Рет қаралды 201 М.
1 класс vs 11 класс (рисунок)
00:37
БЕРТ
Рет қаралды 4,9 МЛН