Skip to content

The implementation of the LSTM network from scratch using Numpy in Python, and the training of a simple word level language model

License

Notifications You must be signed in to change notification settings

younesslanda/LSTM-Numpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSTM-Numpy

Description

The implementation of the LSTM network from scratch using Numpy in Python, and the training of a simple word level language model.

This code is an implementation of the LSTM variant called CIFG (Coupled Input and Forget Gates) from the paper LSTM : A Search Space Odyssey link

The model is a two stacked layers of LSTMs followed by a linear classification layer for decoding the next character. It is trained on a shakespeare corpus.

The code also contains a simple implementation of the SGD with momentum algorithm for the network parameters optimization.

About

The implementation of the LSTM network from scratch using Numpy in Python, and the training of a simple word level language model

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages