资源算法Neural Turing Machine in TensorFlow

Neural Turing Machine in TensorFlow

2019-09-12 | |  115 |   0 |   0

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.

NTM.gif

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.

Copy task:

result4.png result3.png

Recall task:

(in progress)

Author

Taehoon Kim / @carpedm20

上一篇:attention-transfer

下一篇:pytorch-fcn

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...