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
Thank you for the project, I really enjoy privacy. That's why I want to tell you about the Hugging Face Offline Mode, as described here. I've been using it while I was dabbling with the hkunlp/instructor-xl model behind a proxy.
If you don't use this, the HF lib tries to update your model in the background. That's fine if you want that, but i don't like it. It doesn't throw an error if you pull the plug, only if you are behind a corp proxy.
Of course, if you use HF offline mode, you have to download the model yourself and put it in the right folder. With the HF model I am using, it is $user/.cache/torch/sentence-transformers/hkunlp_instructor-xl on Windows.
I'm using this in my own scripts to set the env vars, and it works on my machine. Should also work in the run config for your file in an IDE.
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
-
Hey there
Thank you for the project, I really enjoy privacy. That's why I want to tell you about the Hugging Face Offline Mode, as described here. I've been using it while I was dabbling with the hkunlp/instructor-xl model behind a proxy.
If you don't use this, the HF lib tries to update your model in the background. That's fine if you want that, but i don't like it. It doesn't throw an error if you pull the plug, only if you are behind a corp proxy.
Of course, if you use HF offline mode, you have to download the model yourself and put it in the right folder. With the HF model I am using, it is
$user/.cache/torch/sentence-transformers/hkunlp_instructor-xl
on Windows.I'm using this in my own scripts to set the env vars, and it works on my machine. Should also work in the run config for your file in an IDE.
Beta Was this translation helpful? Give feedback.
All reactions