Good translator api or library
Hi everyone, I made a Python project which translate PDF documents. I did it because I couldn't find something similar already made because my purpose was: to not have a size of file limitation, and the translated new-made file to look exactly the same like original. I can say after 2 days hard work, I succeeded 😅 But the problem is that I was using a Google Cloud account to activate Google Translate Api and now I'm out of free credits. I'm looking for another free way to use a good translator without limitation because I'm translating pdf-s with many pages. The project is for own use and no commercial purposes. I saw Argos Translate and Libre Translate but the translation from English to Bulgarian(which I need) is very bad. I will be glad if someone could help 🙏
8 comments · 100% upvoted · other discussions
You could set up a small instance of the NLLB Model(no language left behind) it takes moderate resources and runs locally. There are also larger versions on HuggingFace Of course the setup would be a bit more than just importing a library but i think it's doable, when you are coding in python anyway.
Limp_Tomato_8245 [OP] 2 points · Feb 2025
Thank you, but I don't know almost anything about ML or how to use models because I'm still learning Python 😅Anyway, it's great opportunity to expand my knowledge✌️so I would definitely give that a try
Ok_Hope_4007 2 points · Feb 2025
You can make it 🥳😊
Ok_Hope_4007 2 points · Feb 2025
I found a (maybe) easier example implementation on hf nllb 3B via ctranslate