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

  Рет қаралды 51,404

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

Пікірлер: 57
@patloeber
@patloeber 11 ай бұрын
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 11 ай бұрын
twitter.com/extensiveweb/status/1697311129846882759?t=fjMJ4WxIymAa5L1qnUJMOA&s=19
@MyCodingDiary
@MyCodingDiary 11 ай бұрын
Your videos are my go-to resource whenever I get stuck on a coding problem. Thank you!
@MyCodingDiary
@MyCodingDiary 11 ай бұрын
Your videos are a constant source of inspiration for me. Please keep them coming!
@maizizhamdo
@maizizhamdo 2 ай бұрын
just wanted to drop you a line and say thanks for this amazing tutorial on building an AI app with FastAPI and Docker! I was blown away by how easy it was to follow along and actually build something that works. I'm definitely going to be sharing this with my friends who are also interested in AI and machine learning. Your explanations were super clear and concise, and the tips you shared really helped me understand some of the more complex concepts.
@aar021
@aar021 11 ай бұрын
Pat! This is awesome. Also having Sebastian was a nice touch. Much love to you guys.
@patloeber
@patloeber 11 ай бұрын
Thank you!!
@shaunpx1
@shaunpx1 8 ай бұрын
Awesome video! thank you guys for the great intuition and tips.
@theusualcouple
@theusualcouple 7 ай бұрын
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.
@sammathew535
@sammathew535 10 ай бұрын
Thanks a ton for the interactive mode trick!
@shamaldesilva9533
@shamaldesilva9533 11 ай бұрын
Awesome 🎉🎉 please more in depth courses with Fastapi ❤
@MrSuperGerald
@MrSuperGerald 5 ай бұрын
and with Sebastian! This format is the best.
@francescociulla
@francescociulla 9 ай бұрын
You just remembered me ti make the FastAPI video! Great one btw!
@GabrielPozo
@GabrielPozo 11 ай бұрын
Great talk with Sebastian! 👏
@BuddaFett
@BuddaFett 11 ай бұрын
You are a huge help to us!
@bengabp
@bengabp 11 ай бұрын
My notifications are enabled 😊
@lwangacaleb2729
@lwangacaleb2729 Ай бұрын
Thank you so much Sebastian🙏
@AlexApparels-rw8ip
@AlexApparels-rw8ip 2 ай бұрын
thank you so much guys you helped me alot
@macadeliccc2942
@macadeliccc2942 11 ай бұрын
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 11 ай бұрын
Thank you!
@mmzf2357
@mmzf2357 11 ай бұрын
Best content 👍🏻
@JustFuguFish
@JustFuguFish 6 ай бұрын
Nice fast course! I am just amazed that the Docker image has 10GB :D
@user-ql7de7ud6q
@user-ql7de7ud6q 4 ай бұрын
great clip, thx!
@manyes7577
@manyes7577 10 ай бұрын
wow docker init make life so much easier
@shivrajnag12
@shivrajnag12 11 ай бұрын
Awesome session. Hi Sebastian, when can we expect FastAPI docs update with SQLModel?
@jaggyjut
@jaggyjut 7 ай бұрын
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 😀
@sunils7072
@sunils7072 11 ай бұрын
Thank you very much for this video.
@patloeber
@patloeber 11 ай бұрын
Glad you liked it!
@ghufrankasho9470
@ghufrankasho9470 11 ай бұрын
this was very helpfull and educational thank you for this video and this collaboration was greate 😇
@patloeber
@patloeber 11 ай бұрын
Glad you enjoyed it!
@TheAremoh
@TheAremoh 11 ай бұрын
Amazing
@pankajchaturvedi1541
@pankajchaturvedi1541 4 ай бұрын
Does the Jupyter interactive window work, if I am using virtual env for the project?
@edwardwong654
@edwardwong654 9 ай бұрын
Very interesting. What is the Rust for?
@Indently
@Indently 11 ай бұрын
AI let's goooooo
@City__Walker
@City__Walker 8 ай бұрын
Are there any development templates created for fastapi? What a standard FastAPI application should look like?
@chrisogonas
@chrisogonas 7 ай бұрын
Thanks folks!
@flarexlucifer
@flarexlucifer 4 ай бұрын
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.
@huzaifa.arshad
@huzaifa.arshad 5 ай бұрын
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?
@doubleBottomChart
@doubleBottomChart 11 ай бұрын
Thanks.
@amrgaber4662
@amrgaber4662 3 ай бұрын
thanks
@wadejohnson4542
@wadejohnson4542 11 ай бұрын
Amazing! Patrick and Sebastian, how do we thank you for this?
@patloeber
@patloeber 11 ай бұрын
Hi hi, glad if you enjoyed the session!
@luca_dev
@luca_dev 11 ай бұрын
vscode tells me to install ipykernel to run python code interactively, did you install it in the project venv?
@patloeber
@patloeber 11 ай бұрын
yup, it'll always ask you this the first time
@shaz-z506
@shaz-z506 11 ай бұрын
Good video, but I didn't get the part where you use Rust compiler, I mean why it was required?
@patloeber
@patloeber 11 ай бұрын
The transformers library needed it for the installation. At least on my system I was getting error messages without Rust
@MJReviews122
@MJReviews122 7 ай бұрын
cooles video
@Robay146
@Robay146 11 ай бұрын
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 11 ай бұрын
Oh, didn't know it took that long :( It only took around 1 minute on my machine (2020 MacBook M1)
@erhanandrei4862
@erhanandrei4862 11 ай бұрын
@prithvirajdeshmukh5774
@prithvirajdeshmukh5774 6 ай бұрын
New subscriber from Bharat / India . Are you from?
@user-nj5gj3dv3t
@user-nj5gj3dv3t 10 ай бұрын
🐍 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: kzfaq.info/sun/PLIDulLqbs-nnr758jI13Cm5RmsOTkOk7t
@rahulkulkarni5967
@rahulkulkarni5967 11 ай бұрын
what's the total duration of the course.?
@patloeber
@patloeber 11 ай бұрын
30 minutes
@chikosan99
@chikosan99 11 ай бұрын
Thanks a lot! great Just it's not fullHD \:
@Gautamkumar-tk1xt
@Gautamkumar-tk1xt 11 ай бұрын
For recording
@henoknigatu7121
@henoknigatu7121 9 ай бұрын
👍Nice...how to deploy it for free
Why You NEED To Learn FastAPI | Hands On Project
21:15
Travis Media
Рет қаралды 156 М.
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 59 МЛН
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 22 МЛН
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 29 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 10 МЛН
Build AI Agents with Docker, Here’s How
51:59
David Ondrej
Рет қаралды 56 М.
Deploy ML models with FastAPI, Docker, and Heroku | Tutorial
18:45
4 Tips for Building a Production-Ready FastAPI Backend
27:02
ArjanCodes
Рет қаралды 56 М.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 256 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 639 М.
How to create a great dev environment with Docker
29:55
Patrick Loeber
Рет қаралды 257 М.
Modern Python logging
21:32
mCoding
Рет қаралды 169 М.
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 59 МЛН