Skip to content

Explore the fascinating world of sentiment analysis with this GitHub repository. This project leverages state-of-the-art natural language processing (NLP) techniques to analyze and classify sentiments in textual data.

Notifications You must be signed in to change notification settings

Najrul-Ansari/Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Sentiment-Analysis

In this notebook we will be doing some sentiment analysis in python using three different techniques:

  1. VADER (Valence Aware Dictionary and sEntiment Reasoner) - Bag of words approach
  2. Roberta Pretrained Model from 🤗
  3. Huggingface Pipeline

VADER

VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media. It is fully open-sourced under the [MIT License].

RoBERTa

RoBERTa is a transformers model pretrained on a large corpus of English data in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs and labels from those texts.

Transformers Pipeline

A Transformer pipeline describes the flow of data from origin systems to destination systems and defines how to transform the data along the way. Sample Pipelines. Transformer provides sample pipelines that you can use to learn about Transformer features or as a template for building your own pipelines.

Notebook and Dataset

Kaggle Notebook - https://www.kaggle.com/code/najrulansari/sentiment-analysis/edit

Dataset - Amazon Fine Food Reviews

Dataset link - https://www.kaggle.com/datasets/snap/amazon-fine-food-reviews

About

Explore the fascinating world of sentiment analysis with this GitHub repository. This project leverages state-of-the-art natural language processing (NLP) techniques to analyze and classify sentiments in textual data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published