Contrastive search for language generation

Contrastive learning

Proposed in Su2022contrastive and Su2022contrastive search. A blog article on Hugging Face: Generating Human-level Text with Contrastive Search in Transformers