pytorch/caffe2/python/models/seq2seq
James Cross 65a1dbc93d penalty for EOS successor
Summary: Current beam search generates successor states to EOS which are considered for inclusion in the beam even though they do not represent valid sequence prefixes. This diff introduces a penalty to ensure that such states are not included in the beam.

Reviewed By: xliilx

Differential Revision: D6325511

fbshipit-source-id: b17f10b0d00f3bc5fcc5a826a8a57a0f2cb360a6
2017-11-14 21:46:56 -08:00
..
beam_search.py penalty for EOS successor 2017-11-14 21:46:56 -08:00
seq2seq_beam_search_test.py Re-license to Apache 2017-09-28 16:22:00 -07:00
seq2seq_model_helper.py Re-license to Apache 2017-09-28 16:22:00 -07:00
seq2seq_model_helper_test.py Re-license to Apache 2017-09-28 16:22:00 -07:00
seq2seq_util.py Re-license to Apache 2017-09-28 16:22:00 -07:00
train.py Revert D6026557: [caffe2][PR] Fix "No handlers could be found for logger" 2017-10-12 20:21:52 -07:00
translate.py RunNetOnce->RunNet (removes rnn_executor overhead) 2017-10-25 22:06:02 -07:00