Open emjotde opened 4 years ago
Added regression tests for that (https://github.com/marian-nmt/marian-regression-tests/compare/fe5c7e1beb1d9fca74b4e37e49f5d1e65aacf8aa...2ea0343b747e26a457c94de76e8856ea2434bd37). Empty lines are now handled in decoding, scoring, and validation translation.
Empty line in batch breaks batch pruning in beam search. We remove finished batch entries during beam-search. This fails when an entry in the batch is empty.