Offline Translating With Python
Requirements :
- Python 3.9
- Transformers
- Pytorch
- Sentencepiece
You need to download or clone the model files from Huggingface then put it in "models" folder.
- e.g. "models/Helsinki-NLP/opus-mt-zh-en" Currently only support MarianMT
- Clone this repository
- Install the requirements
- Run the main.py