Skip to content

hardikmadhu/sentiment-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment Analysis

Sentiment analysis with LSTM using pytorch.

Dataset

  • Trained using Twitter Airline Sentiment data from Kaggle.

  • Download the data and copy in the dataset folder.

Setup

  1. Download gloVe vector from here

  2. Extract and copy contents to "data" folder.

  3. Execute python build.py to prepare the vocabulary and compressed word vectors.

Training

  • python train.py for training.

Evaluation

  • python evaluate.py for command line prompt for evaluation.

About

Sentiment analysis with LSTM using pytorch.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages