lngvietthang / rlntm Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ilyasu123/rlntm
An implementation of the RL-NTM from http://arxiv.org/abs/1505.00521
License: Other
This project forked from ilyasu123/rlntm
An implementation of the RL-NTM from http://arxiv.org/abs/1505.00521
License: Other
Author: ilyasu@, [email protected] This is not an official Google project. First, install 'strict' (luarocks install strict) Second, make sure that torch lives in /usr/bin/torch (or edit exprs/run_utils_new.py to point to the right torch path) To run the gradient checker on the new layers, type > luarocks install totem > torch rlntm_pkgs/test_individual_layers.lua To run a full gradient checker (which includes exact expectations for Reinforce), type: > torch rlntm_pkgs/RL_check_grad.lua To train a model that reverses a list, where the input head is forced to move forward, type: > python exprs/train_reverse.py It takes about 10,000 parameter updates to converge, which sadly takes 3 days on my workstation (GPU not required). If you are not willing to wait for 3 days, please see the output of the included printout log: > less rlntm_runs/train_repeatCopy-1/train_reverse-1.stdout The printout shows the evolution of the execution traces of the RL-NTM, which are fun to inspect. To train a model that solves the repeat copy task, type: > python exprs/train_repeat_copy.py It sometimes converges in as little as 1,000 parameter updates. If you are not willing to wait for a day, please see the output of the included printout log: > less rlntm_runs/train_repeatCopy-1/train_repeatCopy-1.stdout WARNING: These experiments are fragile. It is possible that they will not succeed with the provided random seeds if the random number generation library is different. We observed that between 30-50% of the random seeds produce the desired result, so you may need to tweak it a modest number of times.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.