Skip to content

Stream sampled text#8

Open
maraoz wants to merge 1 commit into
jcjohnson:masterfrom
maraoz:streamed-sampling
Open

Stream sampled text#8
maraoz wants to merge 1 commit into
jcjohnson:masterfrom
maraoz:streamed-sampling

Conversation

@maraoz
Copy link
Copy Markdown
Contributor

@maraoz maraoz commented Feb 17, 2016

This PR makes sampled text to be streamed instead of output all at once, mimicking char-rnn's behavior.

@maraoz
Copy link
Copy Markdown
Contributor Author

maraoz commented Mar 29, 2016

@jcjohnson any thoughts on this? I'm using it for my experiments :)

@jcjohnson
Copy link
Copy Markdown
Owner

@maraoz For some use cases you might not want to print the sample at all, but maybe do some other processing with it. Streaming can still be useful, but it shouldn't be the default behavior; maybe hide it behind an option in the kwargs for LM:sample.

@maraoz
Copy link
Copy Markdown
Contributor Author

maraoz commented Mar 29, 2016

@jcjohnson sounds reasonable. I'll make that change when I find some time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants