In this video we’ll go through how to get up and running with Hugging Face Transformers and BERT to be able to calculate sentiment. We’ll run the model using a single prompt but also leverage BeautifulSoup to scrape reviews from Yelp to be able to calculate sentiment on a larger scale.
In this video you’ll learn how to:
1. Install Transformers
2. Perform Sentiment Scoring using BERT and Python
3. Scrape reviews from Yelp and Calculate their Sentiment
Chapters
0:00 - Start
0:23 - How it Works
1:48 - Tutorial Start
2:55 - Install and Import Dependencies
9:20 - Setup BERT and Transformers Neural Network
11:27 - Encode Sentences for Modelling and Calculate Sentiment
16:40 - Scrape Reviews from Yelp using BeautifulSoup
22:41 - Load Reviews into Pandas and Calculate Sentiment
29:52 - Run the Sentiment Pipeline for Multiple Reviews
31:32 - Wrap Up
Get the code for this tutorial: https://github.com/nicknochnack/BERTS…
Subscribe:
#python #machine-learning