MLOps packaging: HuggingFace and GitHub Container Registry
Learn how to package a #HuggingFace GPT2 model using automation with #MLOps and pushing the result to GitHub Container Registry. With just a little bit of #Python and #FastAPI you can have a powerful text generation API that is self-documented! β¬β¬π₯ Learn Objectives β¬β¬ π Create a FastAPI application with HuggingFace π Interact with the model with HTTP from a container using FastAPI π Containerize the application using GitHub Actions π Create repository secrets to login and push to GitHub Container Registry β¬β¬ C H A P T E R S β° β¬β¬ 00:00 Introduction 00:25 Project Overview 03:00 Build Container 04:40 Run container locally 06:43 GitHub Action workflow 09:15 Azure Container Registry 09:35 GitHub Action workflow 10:11 Commit and trigger action 12:00 Verify image is on GitHub Container registry β¬β¬ π R E S O U R C E S β¬β¬ Example repository β https://github.com/alfredodeza/huggingface-ghcr Practical MLOps book β https://www.amazon.com/Practical-MLOps-Operationalizing-Machine-Learning/dp/1098103017/ Packaging ML models β https://learning.oreilly.com/videos/packaging-machine-learning/50116VIDEOPAIML/
Download
0 formatsNo download links available.