pankaj-baranwal / fast-slow-lstm Goto Github PK
View Code? Open in Web Editor NEWThis project forked from amujika/fast-slow-lstm
License: Apache License 2.0
This project forked from amujika/fast-slow-lstm
License: Apache License 2.0
#The code is largely based on [1], [2] and [3] -Files: ---FS_example.py: Minimal example (20 lines of code) of how to create a FS-LSTM and run one step of it, using the Tensorflow LSTM. ---main.py: Main file which should be run to replicate the PTB and enwik8 experiments. To run PTB experiment: python3 main.py --model ptb To run enwik8 experiment: python3 main.py --model enwik8 We only include the PTB dataset due to size limitations. To run the enwik8 experiments the dataset should be added to "data/enwik8" divided in three files: "train", "valid" and "test" ---config.py: Hyper-parameters are loaded from here according to which experiment is being performed. All hyper- parameters from Table 3 of the paper can be set using this file. ---reader.py: Reads training, validation and testing data from the data folder. ---LNLSTM.py: Layer normalized LSTM with Zoneout. ---aux.py: File with auxiliary functions for LNLSTM.py. ---FSRNN.py: Fast-Slow RNN class that can be used with any standard Tensorflow RNN. [1] https://github.com/tensorflow/models/tree/master/tutorials/rnn/ptb [2] https://github.com/pbhatia243/tf-layer-norm [3] https://github.com/hardmaru/supercell
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.