Skip to content

cedricdeboom/CharRNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CharRNN implementation flavours for Lasagne

The included iPython notebook describes four different CharRNN implementation flavours for the Lasagne framework. The implementations differ in training and sampling procedures, but always use the same neural network architecture and the same learning objective.

For this particular CharRNN I used the following very simple network layout:

* InputLayer (65 input dimensions)
* LSTMLayer  (50 hidden dimensions)
* DenseLayer (65 output dimensions)

The network is deliberately chosen to be very simple, as I wanted to illustrate the different implementation flavours and I did not want to complicate the discussion by using a deeper network layout. Of course all examples in the notebook can be extended to deeper layouts.

Web demo

Launch the demo.py script in the demo directory. When the web server launches (after the theano functions are compiled), fire up a web browser and go to

http://localhost:5000/home

About

Lasagne implementation flavours for CharRNN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published