seq2seq icon indicating copy to clipboard operation
seq2seq copied to clipboard

The in-graph beam search

Open rhuangq opened this issue 7 years ago • 3 comments

Hi @dennybritz The in-graph beam search is pretty nice. I have couple of questions. Can you please clarify?

  • If we need to save the inference graph for C++ deployment, are the configurations like beam width and length norm weight defined through a placeholder tensor or they have to be baked into the graph?
  • What's the inference speed look like on the NMT task (as described in your paper https://arxiv.org/abs/1703.03906, beam 10, K80 GPU)?
  • It may be a little inflexible if we want to use additional information like language model score to guide the search. Do you have any comments about that aspect?

Many Thanks!

rhuangq avatar Apr 21 '17 02:04 rhuangq

Hope to get comments about this issue too.

Syndrome777 avatar May 07 '17 05:05 Syndrome777

Would like some more info in this too, particularly on guiding the search.

howlinghuffy avatar May 24 '17 02:05 howlinghuffy

It seems beam search functionality could not be added to inference graph incase if you need to use in C++ or TF Serving. Kindly refer this issue

sathyarr avatar Mar 14 '19 04:03 sathyarr