Top-k and top-p explained
Top-k and Top-p are two popular decoding strategies used in Language Models (LMs) to generate text. They control the sampling process of the next token (word or character) in the output sequence. Top-k sampling: In… Read More »Top-k and top-p explained