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
请问在next_token = torch.multinomial(scores, num_samples=1).squeeze(1)这个地方报RuntimeError: probability tensor contains either inf, nan or element < 0可以怎么解决呢
请问在next_token = torch.multinomial(scores, num_samples=1).squeeze(1)这个地方报RuntimeError: probability tensor contains either
inf,nanor element < 0可以怎么解决呢