All Projects → vlgiitr → dmn-plus

vlgiitr / dmn-plus

Licence: other
A Pytorch tutorial for implementation of Dynamic memory Network Plus

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to dmn-plus

ConSSL
PyTorch Implementation of SOTA SSL methods
Stars: ✭ 61 (+0%)
Mutual labels:  pytorch-implmention
open-solution-ship-detection
Open solution to the Airbus Ship Detection Challenge
Stars: ✭ 54 (-11.48%)
Mutual labels:  pytorch-implmention
pytorch gan
Spectral Normalization and Projection Discriminator
Stars: ✭ 16 (-73.77%)
Mutual labels:  pytorch-implmention
Colorization
The pythorch implementation of Colorful Image Colorization. In ECCV, 2016.
Stars: ✭ 34 (-44.26%)
Mutual labels:  pytorch-implmention
Neural-Machine-Translation
Several basic neural machine translation models implemented by PyTorch & TensorFlow
Stars: ✭ 29 (-52.46%)
Mutual labels:  pytorch-implmention
EffNet
EffNet: AN EFFICIENT STRUCTURE FOR CONVOLUTIONAL NEURAL NETWORKS
Stars: ✭ 20 (-67.21%)
Mutual labels:  pytorch-implmention
CharLM
Character-aware Neural Language Model implemented by PyTorch
Stars: ✭ 32 (-47.54%)
Mutual labels:  pytorch-implmention
MemoPainter-PyTorch
An unofficial implementation of MemoPainter(Coloring With Limited Data: Few-shot Colorization via Memory Augmented Networks) using PyTorch framework.
Stars: ✭ 63 (+3.28%)
Mutual labels:  memory-network
gopfield
Hopfield neural networks in Go
Stars: ✭ 51 (-16.39%)
Mutual labels:  memory-network
MemNet ABSA
No description or website provided.
Stars: ✭ 20 (-67.21%)
Mutual labels:  memory-network
naacl2018-fever
Fact Extraction and VERification baseline published in NAACL2018
Stars: ✭ 109 (+78.69%)
Mutual labels:  pytorch-implmention
Human-Pose-Transfer
Implement Human Pose Transfer papers with Pytorch
Stars: ✭ 60 (-1.64%)
Mutual labels:  pytorch-implmention
Image-Classifier
Final Project of the Udacity AI Programming with Python Nanodegree
Stars: ✭ 63 (+3.28%)
Mutual labels:  pytorch-implmention
VideoTransformer-pytorch
PyTorch implementation of a collections of scalable Video Transformer Benchmarks.
Stars: ✭ 159 (+160.66%)
Mutual labels:  pytorch-implmention
Recurrent-Deep-Q-Learning
Solving POMDP using Recurrent networks
Stars: ✭ 52 (-14.75%)
Mutual labels:  pytorch-implmention
RMN
Relation Memory Network
Stars: ✭ 17 (-72.13%)
Mutual labels:  memory-network
SharpPeleeNet
ImageNet pre-trained SharpPeleeNet can be used in real-time Semantic Segmentation/Objects Detection
Stars: ✭ 13 (-78.69%)
Mutual labels:  pytorch-implmention
PyTorch-deep-photo-styletransfer
PyTorch implementation of "Deep Photo Style Transfer": https://arxiv.org/abs/1703.07511
Stars: ✭ 23 (-62.3%)
Mutual labels:  pytorch-implmention
pytorch basic nmt
A simple yet strong implementation of neural machine translation in pytorch
Stars: ✭ 66 (+8.2%)
Mutual labels:  pytorch-implmention
WMPoetry
The source codes of Working Memory model for Chinese poetry generation (IJCAI 2018).
Stars: ✭ 49 (-19.67%)
Mutual labels:  memory-network

Dynamic Memory Network Plus

This is the Pytorch implementation of the paper Dynamic Memory Network for Visual and Textual Question Answering. This paper is an improved version of the original paper Ask Me Anything: Dynamic Memory Networks for Natural Language Processing. The major difference between these ideas is in the functioning of the input module and the memory module which has been explained in detail in the IPython notebook file of this repo.

Input Module for DMNPlus

Description

  • The whole architecture of DMN+ consists of 4 modules: Input Module, Memory Module, Question Module & the Answer Module.
  • The input module uses Positional Encoder and BidirectionalGRU to encode the input text representation in a much better way than DMN.
  • The memory module uses Attention based GRU to compute the contexual vector representing the input relevant to previous memory state and the question and finally uses this to update its next memory state.
  • The question module uses a simple GRU to encode the question to get its vector representation.
  • The answer module predicts the answer based on the final memory state and the question.
  • CrossEntropyLoss has been used in the network and Adam optimizer to optimize the model parameters.
  • The model has been trained on bAbI dataset which consists of 20 different question answering tasks.

Requirements

  • Python 3.6
  • Pytorch

Download Dataset

 chmod +x fetch_data.sh
 ./fetch_data.sh

Usage

Run the main python code

python train_test.py

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].