transformer
transformer copied to clipboard
How to get the output without decoder -input?
According to the source code, if you want to get the output, you must provide decoder input. But if I just have encoder input, how could I get result? Use beam search or greedy search?
I even cann't understand what decoder-input refer to...what's this?