Skip to content

LSTM GRU with exact backpropagation derivation and implementation

Notifications You must be signed in to change notification settings

georgeblck/LSTM-GRU

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<<<<<<< HEAD

LSTM and GRU on Language Model

Authors: Tianyi Chen, Zhouyang Zhang

Johns Hopkins University

We implement the followings:

  • LSTM

  • GRU

  • GRU on reranker

Please let us know if there is trouble about running our code.

Run LSTM on Language Model

In src directory, run the following commands in terminal

python lm_LSTM

Run GRU on Language Model

In src directory, run the following commands in terminal

python lm_GRU

Run GRU on reranker

In src directory, run the following commands in terminal

python rerank_GRU > outputdir/filename

Description of files in Output directory

Output of GRU on reranker:

  • reranker_gru.out

Output of given reranker:

  • reranker_phi.out

About

LSTM GRU with exact backpropagation derivation and implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%