Hacker GitHub

← All repos

browsermt/bergamot-translator

View on GitHub ↗ ★ 563 C++

Cross platform C++ library focusing on optimized machine translation on the consumer-grade device.

8 mentions on Hacker News by 5 people: 0 stories, 8 comments · first 2022-06-02 · latest 2025-06-25

Mentions per year 8 mentions · busiest year 2022 (6)
20082026
  1. You can use bergamot ( https://github.com/browsermt/bergamot-translator ) with Mozilla's models ( https://github.com/mozilla/firefox-translations-models ). Not the easiest, but easy enough (requires building). I used these two projects to…
    comment by deivid · 2025-06-25 · in Web Translator API
  2. …is already used inside firefox, but I wanted translation also outside the browser. [0]: bergamot https://github.com/browsermt/bergamot-translator
  3. …by browsers if the underlying hardware is there to execute these at least somewhat efficient. [1] https://github.com/browsermt/bergamot-translator/issues/418 [2] https://emscripten.org/docs/porting/simd.html
  4. …the Bergamot project, more can be found here: https://browser.mt/ The GitHub repo for it is here: https://github.com/browsermt/bergamot-translator The repo contains some details about how to run it in WASM which is quite interesting for…
  5. …WebAssembly matrix multiplication optimizations are here [4] [1] https://marian-nmt.github.io/ [2] https://github.com/browsermt/bergamot-translator [3] https://github.com/browsermt/bergamot-translator/tree/main/w... [4]…
  6. …of those models are hosted here [4] [1] https://github.com/mozilla/firefox-translations [2] https://github.com/browsermt/bergamot-translator [3] https://github.com/browsermt/bergamot-translator/tree/main/w... [4]…
  7. …[3] https://colab.research.google.com/drive/1AHpgewVJBFaupwAbZq0... [4] https://github.com/browsermt/bergamot-translator/blob/main/a... [5] https://github.com/XapaJIaMnu/translateLocally [6] https://github.com/XapaJIaMnu/translate
  8. …higher-level code wrapping around marian-dev make suitable for the browser-extension happens at: - https://github.com/browsermt/bergamot-translator Some of the WebAssembly optimizations are available in bergamot-translator/marian-dev. Rest…