-
I'm trying to simply download model weights locally. model.save_pretrained works with regular huggingface transformers models, but doesn't seem to be the case with adapters models. When I tried the below code, the model loaded straight from huggingface and the model loaded from my locally downloaded version don't produce the same embeddings. What's the proper way to download locally?
Thank you so much!! |
Beta Was this translation helpful? Give feedback.
Answered by
hSterz
Feb 15, 2024
Replies: 1 comment
-
Hey @ashleys0 , I tried to reproduce the problem. The following code works for me:
Could you go into more detail on what the problem is? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
calpt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @ashleys0 , I tried to reproduce the problem. The following code works for me: