Skip to main content

Module sampler

Module sampler 

Source
Expand description

Sampling and decoding Greedy sampler implementation

Structsยง

GreedySampler
Greedy sampler that selects the token with the highest probability