Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Releases: mozilla/bergamot-translator

v0.4.4

28 Apr 14:36
5ae1b1e
Compare
Choose a tag to compare

v0.4.3

28 Mar 16:28
d2e3a82
Compare
Choose a tag to compare
v0.4.3

v0.4.2

07 Mar 18:09
ab7f84f
Compare
Choose a tag to compare
v0.4.2

0.3.1+793d132

18 Feb 09:50
793d132
Compare
Choose a tag to compare
0.3.1+793d132

v0.4.1

18 Feb 12:15
9eb2437
Compare
Choose a tag to compare

Key new features introduced in this release

  • Faster Translations on Firefox Nightly
  • Support for HTML text translation

v0.3.1

18 May 12:53
8b621de
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

Key new features introduced in this release

  • Added versioning information in wasm artifacts

How to perform translation

  • README explains how to use the JavaScript APIs to perform translation
  • Files required for translation for the supported language pairs can be downloaded from bergamot-models-v0.2.1

Caveats

  • The artifacts in this release are tested only with bergamot-models-v0.2.1 to perform translation for the supported language pairs

  • No translation speed improvement compared to v0.3.0 (will be improved in follow-up releases)

v0.3.0

12 May 13:14
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

TL;DR

This release allows translation from Spanish <-> English, Estonian <-> English and English -> German. The first translation will be a bit slower compared to the subsequent translations for the same language pair.

Key new features introduced in this release

  • Faster loading time for models (< 1 sec in most of the cases)

    • This implies only a slight difference in translation speed between the first translation and subsequent translations for the same language pair
  • Loading the model, shortlist and vocabulary files dynamically (i.e. at the time of translation)

    • These files are not bundled into wasm binary leading to an extremely lightweight wasm binary (< 7 MB compared to ~400 MB before)

How to perform translation

  • README explains how to use the JavaScript APIs to perform translation
  • Files required for translation for the supported language pairs can be downloaded from bergamot-models-v0.2.1

Caveats

  • The artifacts in this release are tested only with bergamot-models-v0.2.1 to perform translation for the supported language pairs

  • Translation speed is 90-95% compared to the v0.2.0 (will be improved in follow-up releases)

v0.2.0

18 Feb 09:50
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

TL;DR:

This release allows translation from Spanish and Estonian in and out of English, as well as English into German. The first translation will be a bit slow but the subsequent translations with the same translation language will be fast.

Key new features introduced in this release:

  • Translation speeds are back to about 500-600 words per second
    • Compared to about 150-200 words per second in the last release

How to perform translation

  • README to see how JavaScript APIs can be used
    • A demo to see everything running in a browser
  • Translation model files for Spanish <-> English; English -> German; Estonian <-> English can be downloaded from mozilla-applied-ml/bergamot-models)

Caveats (will be improved upon in follow-up releases):

  • Loading models still takes 10-30 seconds

    • This means that the first translation will take a long time to finish (subsequent translations should be faster for the same language pair)
  • We currently bundle all files that are required for translation (model, vocabulary, shortlist etc.) in the wasm binary at compile time (instead of downloading them on demand during translation)

    • This is why the wasm binary size is over 400 MB

v0.1.0

18 Feb 09:50
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

TL;DR

This release allows translation from Spanish and Estonian in and out of English, as well as English into German. The first translation will be a bit slow but the subsequent translations with the same translation language will be fast.

Key features introduced in this release:

  • First release that ports Bergamot Translator to WASM (please follow README instructions for compiling)
  • Provides JavaScript APIs that can be used to integrate the translator in browser (please follow README to see API usage)
  • Tested on translation model files for Spanish <-> English; English -> German; Estonian <-> English (from mozilla-applied-ml/bergamot-models#2)

Caveats (will be improved upon in follow-up releases):

  • Translation speeds are temporarily low (~ 150-200 words per second)
  • Loading models takes 10-30 seconds
  • We currently bundle all files that are required for translation (model, vocabulary, shortlist etc.) in the wasm binary at compile time (instead of downloading them on demand during translation)
    • This is why the wasm binary size is over 400 MB