Helsinki-NLP / OPUS-MT-train

Training open neural machine translation models
MIT License
312 stars 39 forks source link

Offline translation? #60

Open zubairahmed-ai opened 2 years ago

zubairahmed-ai commented 2 years ago

Hi

I need English to Urdu model to run offline, it downloads from https://huggingface.co/api/models/Helsinki-NLP/opus-mt-en-ur

Is it possible to install and run this completely offline from the file system?

jorgtied commented 2 years ago

Yes, you can. Follow the instructions and examples from the huggingface transformers library. Alternatively, you can also use the original model from OPUS-MT and MarianNMT.