← Open Source

"Neural Turing Machine" in Tensorflow.

Model DevelopmentArchitectureJupyter Notebook
Momentum
+0stars in 24 hours0.0%
1.04k
Stars
211
Forks
+0
This week
3
Contributors
Created 2015-12-09 · Updated 2026-11-25 · #14850 today
Top developers
carpedm20youknowonealexbw
README

Neural Turing Machine in Tensorflow

Tensorflow implementation of Neural Turing Machine. This implementation uses an LSTM controller. NTM models with multiple read/write heads are supported.

The referenced torch code can be found here.

** 1. Loss sometimes goes to nan even with the gradient clipping (#2).** ** 2. The code is very poorly design to support NTM inputs with variable lengths. Just use this code as a reference.**

Prerequisites

Usage

To train a copy task:

$ python main.py --task copy --is_train True

To test a quick copy task:

$ python main.py --task copy --test_max_length 10

Results

More detailed results can be found [here](ipynb/NTM\ Test.ipynb).

Copy task:

Recall task:

(in progress)

Author

Taehoon Kim / @carpedm20

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store