Jay Taylor's notes
back to listing indexcarpedm20/variational-text-tensorflow
[web search]
Original source (github.com)
Tags:
tensorflow
github.com
Clipped on: 2016-03-22
Skip to content
TensorFlow implementation of Neural Variational Inference for Text Processing
Python
Latest commit
6930f9a
2 days ago
carpedm20
Merge branch 'master' of github.com:carpedm20/variational-text-tensor…
assets | update | 2 days ago | |
data | learning rate decay added | 2 days ago | |
models | update | 2 days ago | |
.gitignore | initial commit | 4 days ago | |
README.md | Merge branch 'master' of github.com:carpedm20/variational-text-tensor… | 2 days ago | |
batch_loader.py | initial commit | 4 days ago | |
main.py | learning rate decay added | 2 days ago | |
reader.py | update toy dataset | 2 days ago | |
toy_generator.py | learning rate decay added | 2 days ago | |
utils.py | fix inference network | 4 days ago |
README.md
Neural Variational Document Model
Tensorflow implementation of Neural Variational Inference for Text Processing.
This implementation contains:
- Neural Variational Document Model
- Variational inference framework for generative model of text
- Combines a stochastic document representation with a bag-of-words generative model
- Neural Answer Selection Model (in progress)
- Variational inference framework for conditional generative model of text
- Combines a LSTM embeddings with an attention mechanism to extract the semantics between question and answer
Prerequisites
- Python 2.7 or Python 3.3+
- NLTK
- TensorFlow
Usage
To train a model with Penn Tree Bank dataset:
normal$ python main.py --dataset ptb
normal
To test an existing model:
normal$ python main.py --dataset ptb --forward_only True
normal
Results
Training details of NVDM. The best result can be achieved by onehost updates, not alternative updates.
Author
Taehoon Kim / @carpedm20