XapaJIaMnu / translateLocally

Fast and secure translation on your local machine, powered by marian and Bergamot.
MIT License
504 stars 29 forks source link

Adding new languages #130

Open florosx opened 1 year ago

florosx commented 1 year ago

First of all, couple of language pairs mentioned on the website are missing from the Ubuntu binary (e.g. Ukrainian->English), when choosing the Download Models from the menu. Does anybody have any idea how to add those? Also is it feasible to add existing language models from other projects (e.g. the ones listed here https://github.com/OpenNMT/CTranslate2)? Very popular languages e.g. Russian/Chinese etc are missing atm which makes the library less ideal for real world translation scenarios.

XapaJIaMnu commented 1 year ago

@florosx , we are working on more models, Chinese should come soon. You can import pretty much any marian trained model (eg those by OpusMT). Import instructions can be found here: https://github.com/XapaJIaMnu/translateLocally#basic-model-import