Jump to content

Draft:Project Bergamot

From Wikipedia, the free encyclopedia

Project Bergamot is a joint project between several European universities and Mozilla for the development of machine translation software based on artificial neural networks, which is intended for local execution on end-user devices.

The software library that was created and the associated language models were made available to the general public as Free Software. Execution requires a x86 CPU with SSE4.1 instruction set extensions. In 2022, Devin Coldewey of TechCrunch judged the translation quality to be "more than adequate", but considered Firefox Translations to be not yet fully mature.

Usage

[edit]

Mozilla used the Bergamot Translator to expand its web browser Firefox with a feature for translating web pages, which was previously considered an important gap in Firefox' feature set.[1] It is often compared to the much older corresponding feature in Google Chrome, which utilizes a cloud-based background service. In contrast, Firefox Translations does not require any data to leave the user's computer, resulting in advantages in terms of data protection, availability and possibly response times.[2] There is just the installation of a new language model that needs to take place the first time a new language is encountered.[3] Greater independence from large technology companies and their interests is also mentioned as an important advantage. Mozilla thus strengthened its position as an alternative software vendor with a particular focus on data protection and security. Mozilla followed up with the similar feature of speech recognition for spoken user input, based on whisperfile. On the other hand, slow translation times have been observed, especially on older devices.[4] Also, Firefox Translations initially supported far fewer language pairs than other major translation services and is only gradually adding new models.[3] On that matter, the training pipeline is also made available to interested parties to enable the creation of missing language models.[5]

TranslateLocally is a Firefox-independent translation software based on the Bergamot Translator. It is also available as an (Electron-based) standalone application or as an extension for Chromium-based web browsers.[6]

History

[edit]

Mozilla had already tried to get a (cloud-based) web content translation feature into Firefox a few years before Project Bergamot, but had failed because of the financial challenge. Microsoft had already delivered offline capabilities for its translation software in 2018. Google soon followed suit,[7] Apple two years later.[8] The software is based on the free translation framework Marian, which the University of Edinburgh had previously developed in cooperation with Microsoft, and is itself based on the Nematus toolkit that was presented in 2017.[9] Under the leadership of the University of Edinburgh, a development consortium was formed with the Mozilla Corporation and the additional European universities of Prague, Sheffield and Tartu. In 2018, it was able to get 3 million euros of funding from the EU's Horizon 2020 programme.[10] Firefox Translations was initially provided as an add-on. A first functional demonstration prototype was presented in October 2019.[2] Beta version 117 had the feature integrated directly into the browser, the official release was in version 118 from September 2023. Both the add-on module and as part of Firefox, the code and the models are subject to the version 2 of the Mozilla Public License. Since 2022, the EU-funded HPLT project creates new language models. It involves additional partners, including the universities of Helsinki, Turku, Oslo and other partners from Spain, Norway and the Czech Republic.[6][11]

[edit]

References

[edit]
  • Cimpanu, Catalin (2019-10-20). "Firefox to get page translation feature, like Chrome". ZDNET. Retrieved 2024-08-29.
  • Coldewey, Devin (2022-06-02). "Mozilla brings free, offline translation to Firefox". TechCrunch. Retrieved 2024-08-29.

Notes

[edit]