notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

Correct model initialization

Open lenhhoxung86 opened this issue 3 years ago • 1 comments
trafficstars

What does this PR do?

To fix the issue: AttributeError: ‘function’ object has no attribute ‘to’](https://discuss.huggingface.co/t/model-model-to-args-device-attributeerror-function-object-has-no-attribute-to/14730)

Fixes # (issue)

Who can review?

Feel free to tag members/contributors who may be interested in your PR.

lenhhoxung86 avatar Oct 12 '22 22:10 lenhhoxung86

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB