Skip to content

thuwyq/WWW18-rnn-capsule

Repository files navigation

rnn-capsule

This is the code of paper "Sentiment Analysis By Capsules (WWW'18)"

Contain:

work.sh: You can run the code using this file, and you can use GPU easily.
main.py: You can run the code using this file, too.
EncoderRNN.py: The package of network and training, testing processing.
rnn_capsule: Main network description.
capsule: Capsule Structure.
attentionlayer.py: Attention in capsule. It is gotten from https://github.com/huggingface/torchMoji/blob/master/torchmoji/attlayer.py.
datamanager.py: Manage data.
data-rt-acl: The movie review dataset.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published