Otherwise, if generate mode is chosen, the word is generated from the fixed vocabulary.
for words that are neither in the source sentence nor in the vocabulary, the switch network will choose generate mode and UNK tokens will be produced from the decoder.