Our code is implemented based on DIEN (https://github.com/mouna99/dien).
We use Python 2.7 and Tensorflow 1.4.
wget -c http://snap.stanford.edu/data/amazon/productGraph/categoryFiles/reviews_Beauty_5.json.gz
gzip -d reviews_Beauty_5.json.gz
wget -c http://snap.stanford.edu/data/amazon/productGraph/categoryFiles/meta_Beauty.json.gz
gzip -d meta_Beauty.json.gz
python ./script/process_data.py meta_Beauty.json reviews_Beauty_5.json
python ./script/local_aggretor_time.py
python ./script/generate_voc.py
python ./script/train.py train DUMN