/srnn

Primary LanguagePython

SRNN

Author: Zeping Yu
This work is accepted by COLING 2018. The paper could be downloaded at https://arxiv.org/ftp/arxiv/papers/1807/1807.02291.pdf
Sliced Recurrent Neural Network (SRNN).
SRNN is able to get much faster speed than standard RNN by slicing the sequences into many subsequences.
The code is written in keras, using tensorflow backend. We implement the SRNN(8,2) here, and Yelp 2013 dataset is used.
If you have any question, please contact me at zepingyu@foxmail.com.

The pre-trained GloVe word embeddings could be downloaded at:
https://nlp.stanford.edu/projects/glove/

The Yelp 2013, 2014 and 2015 datasets are at:
https://figshare.com/articles/Yelp_2013/6292142
https://figshare.com/articles/Untitled_Item/6292253
https://figshare.com/articles/Yelp_2015/6292334

Yelp_P, Amazon_P and Amazon_F datasets are at: https://drive.google.com/drive/folders/0Bz8a_Dbh9Qhbfll6bVpmNUtUcFdjYmF2SEpmZUZUcVNiMUw1TWN6RDV3a0JHT3kxLVhVR2M