Training Sentiment Model Using BERT and Serving it with Flask API @abhishekkrthakur
Training Sentiment Model Using BERT and Serving it with Flask API  @abhishekkrthakur
Uploaded March 2020 | Updated November 2026, 3 hours ago
In this video, I will show you how you can train your own #sentiment model using #BERT as base model and then serve the model using #flask rest api.
The video focuses on creation of data loaders, creating a bert model using transformers python library, training the model and then doing inference using flask.

The model described here can achieve an accuracy of 93% on IMDB 50K Movie Reviews data set.

The training dataset can be found here: kaggle.com/lakshmi25npathi/imdb-dataset-of-50k-movie-reviews

Bert base uncased files used in this video can be downloaded from here: kaggle.com/abhishek/bert-base-uncased

Github repo with all the code will be shared after the premier.!

Like, Subscribe & Share ;)

#Sentiment #BERT #DeepLearning

Follow me on:
Twitter: twitter.com/abhi1thakur
LinkedIn: linkedin.com/in/abhi1thakur
Kaggle: kaggle.com/abhishek
Training Sentiment Model Using BERT and Serving it with Flask APIIntroTips N Tricks #1: Send messages to Slack using PythonEpisode 6: Simple and Basic Evaluation Metrics For RegressionBasic git commands everyone should know aboutHow to Build a Simple Search Engine with BM25 & Vespa (Full Tutorial)1-Click LLM Deployment!Kaggles 30 Days Of ML (Competition Part-4): Hyperparameter tuning using OptunaKaggles 30 Days Of ML (Day-12 Part-1): Handling Missing Values in Datasets (imputing missing value)5. Dataset class for simple image / vision problemsDeploy FULLY PRIVATE & FAST LLM Chatbots! (Local + Production)3. The dataset class in PyTorch
Abhishek Thakur |

Training Sentiment Model Using BERT and Serving it with Flask API

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER