Open artsobolev opened 8 months ago
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?
inf_mask
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.
logprobs
-float("inf")
nan
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?