The purpose of this repo is to re-implement the classic algorithm or model in the paper.
All the code are written in a well-commented way, following high-quality coding style.
- Python 3.7
- Pytorch 0.4.1+
-
GAN
a simple Generative adversarial network, run on MNIST
-
ESIM
Enhanced LSTM for Natural Language Inference by Chen et al., 2017.
-
Capsule
A linear Capsule network from Compositional coding capsule network with k-means routing for text classification
All the model haven been run successfully.
There is enough information in the comment, so it is fairly easy to integrate this code with yours.
Feel free to open a issue if you have any question! Pull a request if you have a fix or wanna add a new model!