#862 · Primary category: Education & Research

MemN2N-tensorflow

memory-network nlp tensorflow

"End-To-End Memory Networks" in Tensorflow

Project last updated:03/14/17

GitHub Stars

824

Forks

245

Contributors

6

License

MIT

Why we included this project

This is a TensorFlow port of the End-To-End Memory Network from the Sukhbaatar et al. paper, focused on the language modeling setup described in Section 5. The code follows the paper's multi-hop attention design closely, and most architectural choices, from memory size to the number of hops, are exposed as command-line flags, so it reads well as a study aid. You can train it on the bundled Penn Tree Bank corpus and check your perplexity against the published results. It is not a production NLP library, so treat it as a learning tool rather than something to wire into a live system. The whole thing is compact enough to read through in one sitting, which helps if you want to see how memory networks differ from ordinary recurrent language models.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category