by sand500 · 4y ago · 0 comments
> called Project Bergamot. The ultimate goal of this consortium was to build a set of neural machine translation tools that would enable Mozilla to develop a website translation add-on that operates locally, i.e. the engines, language models and in-page translation algorithms would need to reside and be executed entirely in the user’s computer, so none of the data would be sent to the cloud, making it entirely private.
> In addition to that, two novel features needed to be introduced. The first was translation of forms, to allow users to input text in their own language that is dynamically translated on-the-fly to the page’s language. The second feature was quality estimation of the translations where low confidence translations should be automatically highlighted on the page, in order to notify the user of potential errors.
https://blog.mozilla.org/en/mozilla/local-translation-add-on...
you can see the model sizes here: https://gist.github.com/jelmervdl/1a48816e4c3643ff5d9e1fd682...
they are like 15MB per language pair each way
Google is a bit better of course with many common expressions but I'm sure that can run locally too if they'd want to. Mozilla just has don't catching up to do because they don't monetize our data. So less budget to work with.
https://github.com/marian-nmt/marian-dev/
It’s compiled c++ running using wasm.
This is still using Google's cloud to host the models and your browser has to repeatedly download them on demand. We shouldn't need to depend on Google at all, but with Firefox Translations we still do and they're still collecting data about us.
I'm not sure why this is done because this kind of filehosting is easily replaced by something more privacy-friendly.
Mine downloaded it once, didn't notice it happening after that.
And hard to stop it from using wifi when it's available.
Google Translate has its uses, but nice to have an offline (as in... uhhh free speech?) translator as an option.
Would be cool to have Firefox Translations integrated into TOR.