A practitioner guide for when to use different text decoding strategies. — If you have worked with text generation models you would have encountered several decoding strategies like Greedy Search, Beam Search, Diverse beam search, Topk Sampling, TopP sampling, TopKP sampling. Here is a guide on when to use each of these: TLDR: Greedy, Beam Search: Translation, Summarization Diverse Beam Search: Paraphrasing, Image…