MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
388
stars
35
forks
source link
RuntimeError: probability tensor contains either `inf`, `nan` or element < 0 when setting max_new_tokens #7
Closed
AegeanYan closed 1 year ago
I found this bug with following reproduction.
when setting the max_new_tokens I will get the tensor error, comment it would be fine. Could you please check that? My transformer version is 4.33.3