Skip to content

Latest commit

Β 

History

History
67 lines (54 loc) Β· 2.02 KB

File metadata and controls

67 lines (54 loc) Β· 2.02 KB

ABSA - Transformer Models Comparison

πŸ“Œ Project Overview

This project focuses on Aspect-Based Sentiment Analysis (ABSA) using multiple machine learning and transformer-based models. The goal is to identify specific aspects from restaurant review text and classify the sentiment associated with each aspect.

The project compares traditional and advanced NLP approaches, including SVM, BERT, RoBERTa, GPT-based models, and lexicon-based methods, to evaluate their performance in aspect extraction and sentiment classification.

🎯 Objective

The main objective of this project is to compare different NLP models for Aspect-Based Sentiment Analysis and understand how transformer-based models perform against traditional machine learning approaches.

This helps analyze customer opinions at a deeper level instead of only predicting overall review sentiment.

🧠 Models Used

  • Support Vector Machine (SVM)
  • Lexicon-based sentiment approach
  • BERT
  • RoBERTa
  • GPT-based model

πŸ› οΈ Tools & Technologies

  • Python
  • Jupyter Notebook
  • Natural Language Processing
  • Machine Learning
  • Transformer Models
  • BERT
  • RoBERTa
  • GPT
  • Pandas
  • Scikit-learn
  • Hugging Face Transformers

πŸ“‚ Project Structure

ABSA - TransformerModels/
β”‚
β”œβ”€β”€ Code/
β”‚   β”œβ”€β”€ ABSA_BERT.ipynb
β”‚   β”œβ”€β”€ ABSA_RoBERTa.ipynb
β”‚   β”œβ”€β”€ BERT_OverallSentiment.ipynb
β”‚   β”œβ”€β”€ DataSETPreprocessing_Unlabeled_Labeled.ipynb
β”‚   β”œβ”€β”€ Finetuning_BERT_GPT.ipynb
β”‚   β”œβ”€β”€ GPT_OverallSentiment.ipynb
β”‚   β”œβ”€β”€ Lexicon_ABSA.ipynb
β”‚   β”œβ”€β”€ RoBERTa_OverallSentiment.ipynb
β”‚   └── SVM_ABSA.ipynb
β”‚
β”œβ”€β”€ Result/
β”‚   β”œβ”€β”€ BERTpredicted_aspects.csv
β”‚   β”œβ”€β”€ BERTGPTpredicted_aspects_with_sentiment.csv
β”‚   β”œβ”€β”€ RoBERTApredicted_aspectsFinal.csv
β”‚   └── Overall sentiment prediction files
β”‚
β”œβ”€β”€ Presentation/
β”‚   └── Project presentation files
β”‚
β”œβ”€β”€ Fine-Tuning Models/
β”‚   └── Fine-tuning notebooks
β”‚
β”œβ”€β”€ .gitignore
└── README.md