Offline mode tutorial: where is the "offline environment" and how to Create a "virtual environment"? #46
-
hi, sorry for my bad English, and I am quite a newbie |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Offline environment means where you want to use your model without internet access. So maybe in PC A, you have internet and you can download dl-translate and other pip packages. Then you transfer the content of your folder via a USB key to PC B, where you don't have internet. You can find out instructions on virtualenvs with this quick search query. The first result shows you how to create a virtual env. |
Beta Was this translation helpful? Give feedback.
-
thank you for the reply xhlulu,
|
Beta Was this translation helpful? Give feedback.
-
You must create it. I don't usually use Windows so i'm not aware of the best practices, but it's something you should be able to find on Google.
The instructions in the readme is the only way I am aware for downloading the weights and libraries to run this offline. You might need a more stable or faster internet connection - there's many GBs of files to download.
This uses a quite large multilingual model, which takes a lot of memory, whether it's running on CPU or GPU. If you can't allow that locally, you might want to look into external hosting services (Huggingface, GCP, AWS, etc.) |
Beta Was this translation helpful? Give feedback.
-
thank you again for the reply xhlulu, anyway
|
Beta Was this translation helpful? Give feedback.
-
I've thought about adding bilingual models from MarianNMT (they have a few hundred models for two-directions and are much smaller). However this is already covered by |
Beta Was this translation helpful? Give feedback.
-
thank you xhlulu for the reply, |
Beta Was this translation helpful? Give feedback.
You must create it. I don't usually use Windows so i'm not aware of the best practices, but it's something you should be able to find on Google.
The instructions in the readme is the only way I am aware for downloading the weights and libraries to run this offline. You might need a more stable or faster internet connection - there's many GBs of files to download.