DAuM-pytorch

January 2, 2019 ยท View on GitHub

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

DatasetAccuracy
Laptop69.12
Restaurant79.20

Contents

  1. 1requirements
  2. 2Quick Start
  3. 3Results