Nucleus Sampling
Related Papers
A Systematic Characterization of Sampling Algorithms for Open-ended Language Generation
AbstractThis work studies the widely adopted ancestral sampling algorithms for auto-regressive language models. We use the quality-diversity (Q-D) trade-off to investigate three popular sampling methods (top-k, nucleus and tempered sampling). …...
How Decoding Strategies Affect the Verifiability of Generated Text
AbstractRecent progress in pre-trained language models led to systems that are able to generate text of an increasingly high quality. While several works have investigated the fluency and grammatical correctness …...
RankGen: Improving Text Generation with Large Ranking Models
AbstractGiven an input sequence (or prefix), modern language models often assign high probabilities to output sequences that are repetitive, incoherent, or irrelevant to the prefix; as such, model-generated text also …...
Generating EDU Extracts for Plan-Guided Summary Re-Ranking
AbstractTwo-step approaches, in which summary candidates are generated-then-reranked to return a single summary, can improve ROUGE scores over the standard single-step approach. Yet, standard decoding methods (i.e., beam search, nucleus …...
Locally Typical Sampling
AbstractToday’s probabilistic language generators fall short when it comes to producing coherent and fluent text despite the fact that the underlying models perform well under standard metrics (e.g., perplexity). This …...