This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
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