Need help with srnn?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

zepingyu0512
462 Stars 102 Forks 18 Commits 14 Opened issues

Description

sliced-rnn

Services available

!
?

Need anything else?

Contributors list

# 89,316
Python
Keras
rnn
keras-t...
17 commits

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.