# Hugging Face — Generating Human-level Text with Contrastive Search in Transformers 🤗

- Company: Hugging Face (huggingface.co)
- Announced: 2022-11-08
- Category: developer-tool-release
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://huggingface.co/blog/introducing-csearch
- Record: https://forck.live/items/2135-generating-human-level-text-with-contrastive-search-in-transformers
- Subject: Platform

Contrastive search, a state-of-the-art decoding method for neural text generation, and announces its availability in the Hugging Face Transformers library for both PyTorch and TensorFlow. It addresses repetition and semantic incoherence issues in existing decoding methods.

## Evidence

Verbatim from https://huggingface.co/blog/introducing-csearch:

> In this blog, we introduce the current state-of-the-art decoding method, Contrastive Search, for neural text generation.

---

Record: https://forck.live/items/2135-generating-human-level-text-with-contrastive-search-in-transformers
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
