Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Sentiment Analysis with BERT Using Huggingface, PyTorch and Python Tutorial

Venelin Valkov via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive tutorial on text preprocessing for sentiment analysis using BERT, Hugging Face, PyTorch, and Python. Explore data preprocessing techniques, including tokenization with BertTokenizer, adding special tokens, padding sequences to fixed lengths, and creating attention masks. Learn to set up a notebook, explore data, choose optimal sequence lengths, create PyTorch datasets, split data into train/validation/test sets, and set up data loaders. Gain practical insights into natural language processing and machine learning workflows for sentiment analysis tasks.

Syllabus

Introduction
Notebook setup
Data exploration
Data preprocessing - tokenization, padding & attention mask
Choosing maximum sequence length
Create PyTorch dataset
Splitting the data into train, validation, and test sets
Creating data loaders

Taught by

Venelin Valkov

Reviews

Start your review of Sentiment Analysis with BERT Using Huggingface, PyTorch and Python Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.