Commit Graph

13 Commits

Author SHA1 Message Date
Francois Chollet
01d5e7bc47 Fix up a few example 2016-07-16 17:47:52 -07:00
Francois Chollet
d266b75423 Small fixes in text gen example 2016-06-23 16:17:24 -07:00
Francois Chollet
610ccba9f5 Normalize layer imports in examples 2016-05-11 18:45:37 -07:00
Francois Chollet
295bfe4e3a Keras 1.0 preview. 2016-03-31 11:35:27 -07:00
fchollet
1ebeff8ee3 Move data_utils to utils.data_utils. 2016-03-06 17:31:57 -08:00
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