Sampling
A stochastic decoding strategy that randomly draws the next token according to a probability distribution, increasing the diversity of generated text. Common variants include temperature sampling, top-k sampling, and top-p sampling.
Timeline (last 90 days)
Sampling refers to excerpting fragments of existing recordings and reusing them in new works; collage, by contrast, juxtaposes and combines sound materials from different sources.
Greedy decoding selects the highest-scoring token at each step; sampling selects among candidate tokens according to probability.
The sampling mentioned in decoding randomness includes temperature scaling, top-k and top-p, aimed at avoiding stiff, repetitive output, at the cost that low-probability tokens are occasionally selected and errors can be plausibly continued.
When a Transformer outputs tokens through sampling, it permanently loses information about which possibilities the model considered and their respective confidence levels (a lossy process).
All Facts (4)
Sampling refers to excerpting fragments of existing recordings and reusing them in new works; collage, by contrast, juxtaposes and combines sound materials from different sources.
50%UnverifiedGreedy decoding selects the highest-scoring token at each step; sampling selects among candidate tokens according to probability.
50%UnverifiedThe sampling mentioned in decoding randomness includes temperature scaling, top-k and top-p, aimed at avoiding stiff, repetitive output, at the cost that low-probability tokens are occasionally selected and errors can be plausibly continued.
50%UnverifiedWhen a Transformer outputs tokens through sampling, it permanently loses information about which possibilities the model considered and their respective confidence levels (a lossy process).
50%