Sampling

Don't Repeat Yourself: Stopping Verbatim Loops at Sampling Time

Reducing verbatim loops during generation by penalizing tokens that continue a previously seen sequence.

XTC: Head-Aware Sampling by Excluding Top Choices

Encouraging varied text by occasionally excluding dominant choices when several plausible next tokens are available.

Antislop: A Comprehensive Framework for Identifying and Eliminating Repetitive Patterns in Language Models

Detecting and reducing repetitive language patterns through sampling and targeted fine-tuning.