senarvi / theanolm

TheanoLM is a recurrent neural network language modeling tool implemented using Theano
Apache License 2.0
81 stars 29 forks source link

Allow user to provide a seed sequence for sampling #42

Closed Gastron closed 6 years ago

Gastron commented 6 years ago

Use the --seed-sequence flag to first run forward passes with the given sequence. Also allow changing the length of the generated sequence with --sentence-length Can be used for example in creating custom captions (e.g. for graduation gift)