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

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
    @patloeber10 ай бұрын

    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

    10 ай бұрын

    twitter.com/extensiveweb/status/1697311129846882759?t=fjMJ4WxIymAa5L1qnUJMOA&s=19

  • @MyCodingDiarie
    @MyCodingDiarie10 ай бұрын

    Your videos are my go-to resource whenever I get stuck on a coding problem. Thank you!

  • @MyCodingDiarie
    @MyCodingDiarie10 ай бұрын

    Your videos are a constant source of inspiration for me. Please keep them coming!

  • @maizizhamdo
    @maizizhamdoАй бұрын

    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
    @aar02110 ай бұрын

    Pat! This is awesome. Also having Sebastian was a nice touch. Much love to you guys.

  • @patloeber

    @patloeber

    10 ай бұрын

    Thank you!!

  • @theusualcouple
    @theusualcouple5 ай бұрын

    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.

  • @shaunpx1
    @shaunpx17 ай бұрын

    Awesome video! thank you guys for the great intuition and tips.

  • @francescociulla
    @francescociulla7 ай бұрын

    You just remembered me ti make the FastAPI video! Great one btw!

  • @shamaldesilva9533
    @shamaldesilva953310 ай бұрын

    Awesome 🎉🎉 please more in depth courses with Fastapi ❤

  • @MrSuperGerald

    @MrSuperGerald

    4 ай бұрын

    and with Sebastian! This format is the best.

  • @sammathew535
    @sammathew5359 ай бұрын

    Thanks a ton for the interactive mode trick!

  • @GabrielPozo
    @GabrielPozo10 ай бұрын

    Great talk with Sebastian! 👏

  • @bengabp
    @bengabp10 ай бұрын

    My notifications are enabled 😊

  • @AlexApparels-rw8ip
    @AlexApparels-rw8ipАй бұрын

    thank you so much guys you helped me alot

  • @BuddaFett
    @BuddaFett10 ай бұрын

    You are a huge help to us!

  • @macadeliccc2942
    @macadeliccc294210 ай бұрын

    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

    10 ай бұрын

    Thank you!

  • @shivrajnag12
    @shivrajnag1210 ай бұрын

    Awesome session. Hi Sebastian, when can we expect FastAPI docs update with SQLModel?

  • @lwangacaleb2729
    @lwangacaleb272918 күн бұрын

    Thank you so much Sebastian🙏

  • @JustFuguFish
    @JustFuguFish5 ай бұрын

    Nice fast course! I am just amazed that the Docker image has 10GB :D

  • @manyes7577
    @manyes75779 ай бұрын

    wow docker init make life so much easier

  • @edwardwong654
    @edwardwong6548 ай бұрын

    Very interesting. What is the Rust for?

  • @jaggyjut
    @jaggyjut6 ай бұрын

    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 😀

  • @mmzf2357
    @mmzf235710 ай бұрын

    Best content 👍🏻

  • @ghufrankasho9470
    @ghufrankasho947010 ай бұрын

    this was very helpfull and educational thank you for this video and this collaboration was greate 😇

  • @patloeber

    @patloeber

    10 ай бұрын

    Glad you enjoyed it!

  • @chrisogonas
    @chrisogonas6 ай бұрын

    Thanks folks!

  • @sunils7072
    @sunils707210 ай бұрын

    Thank you very much for this video.

  • @patloeber

    @patloeber

    10 ай бұрын

    Glad you liked it!

  • @user-ql7de7ud6q
    @user-ql7de7ud6q3 ай бұрын

    great clip, thx!

  • @wadejohnson4542
    @wadejohnson454210 ай бұрын

    Amazing! Patrick and Sebastian, how do we thank you for this?

  • @patloeber

    @patloeber

    10 ай бұрын

    Hi hi, glad if you enjoyed the session!

  • @City__Walker
    @City__Walker7 ай бұрын

    Are there any development templates created for fastapi? What a standard FastAPI application should look like?

  • @pankajchaturvedi1541
    @pankajchaturvedi15413 ай бұрын

    Does the Jupyter interactive window work, if I am using virtual env for the project?

  • @TheAremoh
    @TheAremoh10 ай бұрын

    Amazing

  • @amrgaber4662
    @amrgaber46622 ай бұрын

    thanks

  • @shaz-z506
    @shaz-z50610 ай бұрын

    Good video, but I didn't get the part where you use Rust compiler, I mean why it was required?

  • @patloeber

    @patloeber

    10 ай бұрын

    The transformers library needed it for the installation. At least on my system I was getting error messages without Rust

  • @doubleBottomChart
    @doubleBottomChart10 ай бұрын

    Thanks.

  • @flarexlucifer
    @flarexlucifer3 ай бұрын

    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.

  • @Robay146
    @Robay14610 ай бұрын

    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

    10 ай бұрын

    Oh, didn't know it took that long :( It only took around 1 minute on my machine (2020 MacBook M1)

  • @user-nj5gj3dv3t
    @user-nj5gj3dv3t9 ай бұрын

    🐍 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: kzread.info/head/PLIDulLqbs-nnr758jI13Cm5RmsOTkOk7t

  • @Indently
    @Indently10 ай бұрын

    AI let's goooooo

  • @luca_dev
    @luca_dev10 ай бұрын

    vscode tells me to install ipykernel to run python code interactively, did you install it in the project venv?

  • @patloeber

    @patloeber

    10 ай бұрын

    yup, it'll always ask you this the first time

  • @huzaifa.arshad
    @huzaifa.arshad4 ай бұрын

    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?

  • @erhanandrei4862
    @erhanandrei486210 ай бұрын

  • @prithvirajdeshmukh5774
    @prithvirajdeshmukh57745 ай бұрын

    New subscriber from Bharat / India . Are you from?

  • @MJReviews122
    @MJReviews1225 ай бұрын

    cooles video

  • @chikosan99
    @chikosan9910 ай бұрын

    Thanks a lot! great Just it's not fullHD \:

  • @rahulkulkarni5967
    @rahulkulkarni596710 ай бұрын

    what's the total duration of the course.?

  • @patloeber

    @patloeber

    10 ай бұрын

    30 minutes

  • @Gautamkumar-tk1xt
    @Gautamkumar-tk1xt10 ай бұрын

    For recording

  • @henoknigatu7121
    @henoknigatu71218 ай бұрын

    👍Nice...how to deploy it for free

Келесі