How to develop beam search with a set of predefined responses? #81
Comments
Agree with @amirj this is interesting feature, and we might add more features so as to improve decoding speed. |
I think the vocabulary issue has kind of been "solved" by using subword units / word pieces, for example. You typically only need 16k-32k word pieces to cover almost all of the vocabulary. As for the original question. It's an interesting feature, but it doesn't seem very common to me as it needs a set of predefined responses, which you have for very few tasks. It seem very specific to response retrieval (not generation). I think a large refactoring of the beam search may be necessary to support this. |
@dennybritz Thank you. |
@chenghuige would you please elaborate more on how to developing it out graph? |
@amirj im2txt\inference_utils\caption_generator.py, here im2txt does out graph beam search, each step by sess.run(), |
I have a similar feature request as this.(tensorflow/tensorflow#11602) At first glance it might very specific. But I think its very useful to determine scores for various output sequences. |
Have you solved this problem? I met the same problem and have no idea how to put a trie data structure into TensorFlow. |
Have you solved this problem? I also met the same problem and have no idea how to put a trie data structure into TensorFlow. |
In the original paper of SmartReply:
Would you please consider this feature and add a detailed task list to this issue for interested contributors.
The text was updated successfully, but these errors were encountered: