This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline mode tutorial #42
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. |
thank you for the reply xhlulu,
|
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.) |
thank you again for the reply xhlulu, anyway
|
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 |
thank you xhlulu for the reply, |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
hi, sorry for my bad English, and I am quite a newbie
I am quite confused with the offline tutorial
"Now, move everything in the dlt directory to your offline environment. Create a virtual environment:"
-where is the "offline environment"?
and
-how to Create a "virtual environment"?
I using windows 11 and python 3.9
The text was updated successfully, but these errors were encountered: