You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
We should sort the probabilities in descending order and then do a cumsum of the probabilities. After that, we set the threshold based on the cumsum values.
@hymzoque
The text was updated successfully, but these errors were encountered:
Description
The top-p sampling here is not correct.
gluon-nlp/src/gluonnlp/sequence_sampler.py
Lines 720 to 724 in 52da8ab
@hymzoque
The text was updated successfully, but these errors were encountered: