Introduction
When a computer tries to write or talk like a human, it has many word choices. Picking the best next word is tricky because some words fit better than others. Top-p and top-k sampling are ways to help the computer choose words that make sense and sound natural.