Repository navigation
Greedy Sampling #359
Answered
by
turboderp
luisfrentzen-cc
asked this question in
Q&A
|
Is there any way to make sure that we use greedy sampling? I don't find |
Answered by
turboderp
Mar 4, 2024
Replies: 4 comments 2 replies
|
You can sample with top-K = 1 for greedy sampling. |
0 replies
Answer selected by
luisfrentzen-cc
|
Hi. Reopening this, as I have trouble getting the greedy sampling to work as expected. Shouldn't this code produce identical results? I get things like this: |
0 replies
|
apparently, the extra option |
0 replies
|
Whether you should include BOS or not is dependent on the model. But in any case greedy sampling doesn't guarantee perfect determinism. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can sample with top-K = 1 for greedy sampling.