mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
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 |
||
|---|---|---|
| .. | ||
| seq2seq | ||
| __sym_init__.py | ||
| download.py | ||
| resnet.py | ||
| resnet_test.py | ||