Skip to content

hitercs/SentimentClassification-PyTorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple PyTorch Example: Sentiment Classification using LSTMs

Requirements

  • Python 2.7
  • PyTorch
  • CPU/GPU

Download Word Embedding

Download glove.6B.zip, and put glove.6B.100d.txt into the ./data/ directory

Running

Training and validating

$ python main.py

Hyper-parameters

Define at settings.py

TODO(not implemented)

Load model and classify sentence

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages