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
@xsyzka Welp it might be too late:
The root cause of the error is that the variable device is not defined :P . But even if you define it you might encounter the following issues:
To use the pre-trained model that @prakhar21 provides you need an older version of transformers (2.8.0) which i managed to run only with cpu.
You can use newer version of transformers and train your own model. Then you can make the following changes:
NameError: name 'device' is not defined ?How can I solve it, thank you
The text was updated successfully, but these errors were encountered: