MIT Sloan: Lead AI Adoption Across Your Organization — Not Just Pilot It
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn how to perform sentiment analysis using BERT neural networks and Python in this comprehensive 32-minute tutorial video. Discover how to leverage pre-trained models from Hugging Face Transformers to calculate sentiment without building a model from scratch. Follow along as the instructor guides you through installing Transformers, performing sentiment scoring with BERT, and scraping Yelp reviews to analyze sentiment on a larger scale. Gain hands-on experience with encoding sentences, setting up the BERT model, and implementing a sentiment pipeline for multiple reviews. By the end of this tutorial, you'll have the skills to apply advanced natural language processing techniques for sentiment analysis in your own projects.
Syllabus
- Start
- How it Works
- Tutorial Start
- Install and Import Dependencies
- Setup BERT and Transformers Neural Network
- Encode Sentences for Modelling and Calculate Sentiment
- Scrape Reviews from Yelp using BeautifulSoup
- Load Reviews into Pandas and Calculate Sentiment
- Run the Sentiment Pipeline for Multiple Reviews
- Wrap Up
Taught by
Nicholas Renotte