.idea | ||
model | ||
.gitignore | ||
readme.md | ||
requirements.txt | ||
translate.py | ||
translate.sh |
PBR TransFix translator
Demo version of scripts that represent translation pipeline of the TransFix PBR project.
Final version will have dictionary injection module integrated as well as new fine-tuned Polish mT5 model.
Scripts were run on python 3.7.13
Repository should be compatible with Google Colab.
Run:
$ ./translate.sh path-to-text-in-english [path-to-dictionary]
Output will be in stored in the file translation_output.txt