Commit Graph

8 Commits

Author SHA1 Message Date
Bin Wang
0695b82f74 fix iteration shadowed in loop 2015-12-23 17:14:51 +08:00
Francois Chollet
81787dd2bb Cleanup examples 2015-12-08 18:49:14 -08:00
Makoto Matsuyama
2bd4c295d6 Update all examples with new API 2015-10-04 18:44:49 -07:00
Michael Oliver
98d49754ed Update lstm_text_generation.py
Modify to use proper multinomial sampling, with temperature to control diversity. This seems to generate qualitatively better results and is technically more correct.
2015-07-20 15:42:14 -07:00
Stephen Merity
b9fbc458ed Decrease memory usage of LSTM text gen example
Both the training features and labels can be represented as numpy
booleans instead of float32 / float64. This enables standard low RAM
machines to scale up to large datasets. Especially important if you
either have many characters (ASCII), long sequences, or a large dataset.
2015-06-22 14:24:46 -07:00
fchollet
1857a6af5e Improve LSTM text generation example 2015-06-16 22:52:06 -07:00
fchollet
872a9faf18 Fix printing for Python2 in LSTM example 2015-06-15 17:54:59 -07:00
fchollet
d2b229df2e Add LSTM text generation example 2015-06-15 17:43:25 -07:00