Skip to content

A pytorch implemention of DAuM for aspect based sentiment analysis.

License

Notifications You must be signed in to change notification settings

jiangqn/DAuM-pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAuM-pytorch

This is a pytorch implementation for Enhanced Aspect Level Sentiment Classification with Auxiliary Memory (Peisong Zhu, Tieyun Qian, COLING 2018).

requirements

pytorch 1.0.0
numpy
spacy

Quick Start

  • Download the 300-dimensional pre-trained word vectors from Glove and save it in the 'data' folder as 'data/glove.840B.300d.txt'

  • Use the following command to run the code.

python main.py

Results

Dataset Accuracy
Laptop 69.12
Restaurant 79.20

About

A pytorch implemention of DAuM for aspect based sentiment analysis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages