Greedy Sampling #359
-
Is there any way to make sure that we use greedy sampling? I don't find |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
You can sample with top-K = 1 for greedy sampling. |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
-
apparently, the extra option |
Beta Was this translation helpful? Give feedback.
-
Whether you should include BOS or not is dependent on the model. But in any case greedy sampling doesn't guarantee perfect determinism. |
Beta Was this translation helpful? Give feedback.
You can sample with top-K = 1 for greedy sampling.