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
I have downloaded an entire repository of one model and there are many files under transformer folder.
What is the difference among them and I wonder how to load the int4.safetensors one as shown in the following figure if using the built-in 'from_pretrained' method.
If it is a '.pth' model as shown in the following,
then how to load it using the built-in 'from_pretrained' method or should we change with other method?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have downloaded an entire repository of one model and there are many files under transformer folder.


What is the difference among them and I wonder how to load the int4.safetensors one as shown in the following figure if using the built-in 'from_pretrained' method.
If it is a '.pth' model as shown in the following,
then how to load it using the built-in 'from_pretrained' method or should we change with other method?
Beta Was this translation helpful? Give feedback.
All reactions