srnn

by zepingyu0512

zepingyu0512 / srnn

sliced-rnn

462 Stars 104 Forks Last release: Not found 18 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

SRNN

Author: Zeping Yu
This work is accepted by COLING 2018.
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.
keras version: 2.1.5
tensorflow version: 1.6.0
python : 2.7
If you have any question, please contact me at [email protected]

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/Yelp2013/6292142
https://figshare.com/articles/Untitled
Item/6292253
https://figshare.com/articles/Yelp2015/6292334

Yelp
P, AmazonP and AmazonF datasets are at: https://drive.google.com/drive/folders/0Bz8a_Dbh9Qhbfll6bVpmNUtUcFdjYmF2SEpmZUZUcVNiMUw1TWN6RDV3a0JHT3kxLVhVR2M

Here is an interesting modification of SRNN for text generation, similar to language model: https://github.com/whackashoe/srnn/tree/text-generation

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.