Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Tensorflow implementation of Synthetic Gradient for RNN (LSTM)

NotificationsYou must be signed in to change notification settings

hannw/sgrnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Synthetic Gradient for Recurrent Neural Networks

This repo is a tensorflow implementation of the synthetic gradient, or DNI, forrecurrent neural network (RNN). The architecture contains a multilayer LSTM RNN thatis used for language modeling to do word-level prediction. For a detailed description of how synthetic gradient is applied to train this architecture, check out the blog posthere.

The data required to run the model is in the data/ dir of thePTB dataset from Tomas Mikolov's webpage:

$ wget http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz$ tar xvf simple-examples.tgz

To run the RNN model,

$ python sgrnn/main.py --model=small --data_path=simple-examples/data/ \    --num_gpus=0 --rnn_mode=BASIC --save_path=/tmp/sgrnn

Reference:


[8]ページ先頭

©2009-2025 Movatter.jp