← 开源

"Neural Turing Machine" in Tensorflow

Model DevelopmentArchitectureJupyter Notebook
增长势头
+024 小时新增 Star0.0%
1.04k
Star
211
Fork
+0
本周
3
贡献者
创建于 2015-12-09 · 更新于 2026-11-25 · 今日第 14850 名
主要开发者
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

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载