sherjilozair / char-rnn-tensorflow

Multi-layer Recurrent Neural Networks (LSTM, RNN) for character-level language models in Python using Tensorflow
MIT License
2.64k stars 960 forks source link

suggested sampling type argument --sample #21

Closed bver closed 8 years ago

bver commented 8 years ago

Hello,

I have experimented a bit with several sampling methods and my proposal is to introduce the new command-line option similar to the original --sample option here: https://github.com/karpathy/char-rnn/blob/master/sample.lua#L29

The motivation of this pull request is to make minimal changes and keep the current code as much as possible -- of course this proposal can be optimized more.

Thank you for porting character language models to TensorFlow! Pavel

sherjilozair commented 8 years ago

Thanks. LGTM.