Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

stochastic beam search / sampling #172

Open
hhexiy opened this issue Jun 26, 2018 · 3 comments
Open

stochastic beam search / sampling #172

hhexiy opened this issue Jun 26, 2018 · 3 comments
Labels
discussion enhancement New feature or request

Comments

@hhexiy
Copy link
Contributor

hhexiy commented Jun 26, 2018

Need sampling with temperature for inference.

At each search step, sample beam_size tokens from the token distribution instead of taking the top k.

@szha szha added enhancement New feature or request discussion labels Jun 26, 2018
@sxjscience
Copy link
Member

It would be a nice feature. We can also add the particle filter sampler, which resamples the particles at each timestamp.

@szha szha mentioned this issue Aug 12, 2018
20 tasks
@szha szha added the release focus Progress focus for release label Aug 12, 2018
@szha
Copy link
Member

szha commented Aug 17, 2018

#272

@szha szha closed this as completed Sep 11, 2018
@szha szha reopened this Sep 11, 2018
@szha
Copy link
Member

szha commented Sep 11, 2018

sampling with temperature has been added.

@szha szha removed the release focus Progress focus for release label Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants