Deploy with FastAPI | | Sentiment Analysis with BERT using huggingface, PyTorch and Python Tutorial

preview_player
Показать описание

Learn how to deploy a pre-trained BERT model as a REST API using FastAPI and Uvicorn

⭐️ Tutorial Contents ⭐️

(00:00) Demo of the REST API
(02:20) Initialize a new project with pyenv and pipenv
(07:55) Create a stubbed API response
(17:30) Add the pre-trained BERT model to our project
(19:35) Reacting to a 4.5 (on the Richter scale) earthquake 🙀
(30:05) Integrate our model predictions in the REST API

#BERT #RestAPI #FastAPI #Deployment #ML #MachineLearning #Huggingface #Transformer #PyTorch #TransferLearning #SentimentAnalysis #NLP #FineTuning #DeepLearning
Рекомендации по теме
Комментарии
Автор

I'm glad to have found this channel.
I am new to this stuff, but I am learning quickly.
Your PyTorch book is awesome!
It brought me here. It is the reason I googled your name and found this channel.
Thank you man, you are a great help for new aspirants like me.

bankingitaspirant
Автор

Venelin, you made my day with your cool reaction to the earthquake :D :D

BerkayBerkman
Автор

How to deploy intent classifier model with fast API

vivekg
Автор

Thanks for the video!
how can i do this for a model with four labels in the predict data ( I'm trying but I didn't succeed)

mateusfmf
Автор

I love this channel so much! keep up the good work :)

shreyanambiar
Автор

Hi - the pretrained model link no longer exists. Do you have a newer link?

arronslacey
Автор

Hey I was wondering what will be the cost of the of deploying this model ?

clivefernandes
Автор

Thanks for the awesome video. Can't we using hugging face pipelines for inference rather so much code? Could you please share your suggestions on inference with a custom NER model.

sudharsan
Автор

Great! This is exactly what I'm looking for!

buithanhlam
Автор

Thanks for the vids. How do we output attentions score for each of the user input word?

every_instant
Автор

How did you get the model on your google drive and make it downloadable?

dhyanpatel
Автор

Hello, Great explanation, I had one doubt, can you explain the variable confidence?

shyampatadia
Автор

Waiting as usual it is going to be highly informative

venkatesanr
Автор

Hello, can you make a tutorial on deploying this model on the cloud, plz? Azure | AWS | GCP?

TOpCoder
Автор

Does this integrate with kubernetes or docker?

DistortedV
Автор

Great vidéo <3 but how can we fine-tune bert with pooling layer ? how can we see the best layer of the model ? thanx

slimenbouras
Автор

Can we use intent classification model for this fast API

vivekg
Автор

Can you please make more tf2 videos? Ps love your content

yagelardan