Skip to content

Commit bd7b1e4

Browse files
committed
Merge pull request lisa-lab#100 from kyunghyuncho/lstm_tutorial
Lstm tutorial
2 parents 55db5cd + e5eb0fc commit bd7b1e4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

data/download.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ fi
1616
$DL_CMD http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz
1717
$DL_CMD http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist_py3k.pkl.gz
1818
$DL_CMD http://www.iro.umontreal.ca/~lisa/deep/data/imdb.pkl.gz && gunzip imdb.pkl.gz
19+
$DL_CMD http://www.iro.umontreal.ca/~lisa/deep/data/imdb.dict.pkl.gz && gunzip imdb.dict.pkl.gz
1920
$DL_CMD http://www.iro.umontreal.ca/~lisa/deep/data/Nottingham.zip && unzip -u Nottingham.zip
2021
$DL_CMD http://www.iro.umontreal.ca/~lisa/deep/midi.zip && unzip -u midi.zip -d ../code && echo "extracted Modified Python MIDI package (GPL)"
2122
$DL_CMD http://www-etud.iro.umontreal.ca/~mesnilgr/atis/atis.fold0.pkl.gz

doc/lstm.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ that has previously been preprocessed according to the needs of this LSTM
2727
implementation. Running the code provided in this tutorial will automatically
2828
download the data to the local directory.
2929

30+
Once the model is trained, you can test it with your own corpus using the
31+
word-index dictionary
32+
(`imdb.dict.pkl.gz <http://www.iro.umontreal.ca/~lisa/deep/data/imdb.dict.pkl.gz>`_)
33+
provided as a part of this tutorial.
34+
3035
Model
3136
+++++
3237

0 commit comments

Comments
 (0)