OpenSeq2Seq
OpenSeq2Seq copied to clipboard
Phrase input in seed tokens
Hi,
How to input phrase in seed tokens eg: ['this is test for', this is another'] to generate new sentences.
Also how do i get the softmax probabilities of new generated word or sentence.
Thanks
Is this a question for our lm models? Perhaps @chiphuyen or @RaymondNie would be better suited to answer.
@chiphuyen and @RaymondNie Any updates? I couldn't find any built-in function to calculate sentence probabilities. I am trying to built this functionality from the output_values in https://github.com/NVIDIA/OpenSeq2Seq/blob/master/open_seq2seq/models/lstm_lm.py#L190. Is there any function already available?