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