资源算法MemN2N

MemN2N

2019-09-20 | |  117 |   0 |   0

End-To-End Memory Networks in MXNet (Gluon)

MXNet (using Gluon) implementation of End-To-End Memory Networks for language modelling. The original Tensorflow code from carpedm20 can be found here. MXNet Symbolic implementation can be found here.

alt tag

Before Started

$ pip install -r requirements.txt

Usage

To train a model with 6 hops and memory size of 100, run the following command:

$ python main.py --nhop 6 --mem_size 100

To test a model with the lastest stored model:

$ python main.py --is_test True

To see all options, run:

$ python main.py --help


上一篇:DPSH

下一篇:Neural Programmer-Interpreters

用户评价
全部评价

热门资源

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...

  • honk-honk-motherf...

    honk-honk-motherfucker