Andrej Baranovskij Blog
Blog about Oracle, Full Stack, Machine Learning and Cloud
Monday, May 29, 2023
Document AI: How To Convert Colab ML Notebook Into FastAPI App
›
I explain how I converted Donut ML model fine-tuning code implemented as Colab notebook into API running as FastAPI app. I share several hin...
Monday, May 22, 2023
Speeding Up FastAPI App with Background Tasks
›
FastAPI runs background tasks in a parallel thread, which prevents blocking app endpoints when a long task executes. I explain it in this vi...
Monday, May 15, 2023
Optimizing FastAPI for Concurrent Users when Running Hugging Face ML Models
›
To serve multiple concurrent users accessing FastAPI endpoint running Hugging Face API, you must start the FastAPI app with several workers....
Monday, May 8, 2023
Optimizing ML Model Loading Time Using LRU Cache in FastAPI
›
Are you facing challenges with the time it takes to load large ML models in your backend API? This video presents a practical solution: util...
Monday, April 24, 2023
Efficient Document Data Extraction with Sparrow UI: Streamlit, FastAPI, and Hugging Face's Donut ML
›
In this easy-to-follow video, I show you how I built Sparrow UI, a tool for pulling data from documents using Streamlit. With Sparrow UI, yo...
Monday, April 17, 2023
Deploying FastAPI Applications to Hugging Face Spaces
›
In this video, I demonstrate how to deploy a FastAPI backend API to Hugging Face Spaces using Docker. I cover creating a Dockerfile, setting...
Monday, April 10, 2023
Build a Structured API with FastAPI
›
Learn how to create a structured API using FastAPI. In this tutorial, we explore the benefits of FastAPI, its powerful code structuring capa...
‹
›
Home
View web version