This is the pytorch implementation for the paper:
Chen C, Zhang M, Liu Y, et al. Neural attentional rating regression with review-level explanations[C]//Proceedings of the 2018 World Wide Web Conference. 2018: 1583-1592.
python 3.7
pytorch 1.5.0
dataset: Amazon Digital_Music_5.json
pretrained word embedding: GoogleNews-vectors-negative300.bin
put the data into ./data
python preclean.py
python main.py