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
inf_mask ensures that when the output distribution (probs) has zero values (like using top-p), logprobs will be assigned -float("inf") instead of nan.
You can try commenting out this line to use top-p.
When I set top-p in the arguments to a value less than 1, I have this assert failing. Which seems to make sense since this line puts them in.
What's the solution and what is the
inf_mask
needed for?The text was updated successfully, but these errors were encountered: