Back to Browse

MLOps packaging: HuggingFace and GitHub Container Registry

429 views
Aug 7, 2022
14:15

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 formats

No download links available.

MLOps packaging: HuggingFace and GitHub Container Registry | NatokHD