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
Hi @minimaxir
Thanks for the issue!
In fact you need to put your input_ids in the correct device, calling generate with input_ids.to(0) should fix your issue
From the last cell of the OPT Notebook, adding
do_sample=True
togenerate()
:The text was updated successfully, but these errors were encountered: