Git Product home page Git Product logo

differentiable_neural_computer's Introduction

Differentiable Neural Computer (DNC) implementation in PyTorch

• My implementation of Differentiable Neural Computer (DNC) in PyTorch.
• DNC is introduced in the paper Hybrid computing using a neural network with dynamic external memory.
• Currently, bAbI Question Answering task and Pattern Copy task is implemented for CPU and GPU both.
• Although I have tested the code thoroughly, bugs may persist. In that case you are encouraged to report them.

Platform

The code is written in Python 3.6 using PyTorch 1.1.0 in Ubuntu 18.04 Operating System.

Libraries required

NumPy
PyTorch

Train the model by writing following in the terminal

python3 train.py opt1 opt2

Options: 
opt1: 1). 1 for Copy_Task
      2). 2 for bAbI_Task

opt2: 1). GPU to run code on GPU
      2). CPU to run code normally

Test the model by writing following in the terminal

python3 test.py opt1 opt2 opt3 opt4

Options: 
opt1: 1). 1 for Copy_Task
      2). 2 for bAbI_Task

opt2: 1). GPU to run code on GPU
      2). CPU to run code normally

opt3: Last Epoch number till the model was trained (Not Applicable for Copy Task. Any value is fine)

Opt4: Last Batch Number till the model was trained 

References

1). https://github.com/loudinthecloud/pytorch-ntm
2). https://github.com/bgavran/DNC

differentiable_neural_computer's People

Contributors

deepcpatel avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.