A Torch implementation of the Neural Turing Machine model described in this paper by Alex Graves, Greg Wayne and Ivo Danihelka.
This implementation uses an LSTM controller with one read head and one write head.
Torch7 (of course), as well as the following libraries:
All the above dependencies can be installed using luarocks. For example:
luarocks install nngraph
For the copy task:
th tasks/copy.lua
For the associative recall task:
th tasks/recall.lua