The generate method is more feature complete with various fancier decoding methods besides greedy decoding, such as beam search and top-k sampling.
The generate method is more feature complete with various fancier decoding methods besides greedy decoding, such as beam search and top-k sampling.