Sentiment Analysis Using Pre-Trained BERT

 

Sentiment Analysis Using Pre-Trained BERT

Problem Statement

Develop a Transformer-based sentiment analysis model using a pre-trained DistilBERT model to classify IMDb movie reviews as Positive or Negative. The model will use the Hugging Face Transformers library for tokenization and fine-tuning and will be evaluated using suitable classification metrics.

Dataset Description

The IMDb Movie Review Dataset is a widely used dataset for binary sentiment classification. Each record contains a movie review and its corresponding sentiment label.

AttributeDescription
DatasetIMDb Movie Reviews
Data TypeText
TaskSentiment Analysis / Text Classification
InputMovie review text
TargetSentiment label
Label 0Negative Review
Label 1Positive Review
Training Set25,000 labeled reviews
Test Set25,000 labeled reviews
Number of Classes2     


In the Hugging Face version, the two important fields are text and label, where 0 represents negative and 1 represents positive. 


Sentiment Analysis Using Pre-Trained BERT








टिप्पणी पोस्ट करा

0 टिप्पण्या