Contrastive decoding
Contrastive decoding is a technique used in natural language processing to improve the quality of text generation by balancing likelihood and diversity. It operates by contrasting the outputs of two language models, enhancing coherent and contextually appropriate responses.