Translation
LiteRT
bergamot
marian

Doodle Magic AI: prompt translation packs

On-device translation of drawing prompts into English for the Doodle Magic AI app. The app downloads one language pack and runs it on the phone. Nothing is sent to a server.

bergamot/: Mozilla Firefox Translations models

These are unmodified copies of Mozilla's Firefox Translations student models (int8 intgemm.alphas model, SentencePiece vocabulary, lexical shortlist). Each is decompressed from Mozilla's public model registry, and its SHA-256 matches the registry's uncompressedHash.

  • Licence: Mozilla Public License 2.0 (see LICENSE-MPL-2.0.txt). Mozilla states: "model files are distributed under the MPL 2.0 license" (https://github.com/mozilla/translations).
  • Source form: these files are distributed unmodified. The originals are available from Mozilla's registry, https://storage.googleapis.com/moz-fx-translations-data--303e-prod-translations-data/<path> (index: db/models.json).
Folder Language โ†’ English Architecture Registry status Registry path
bergamot/ar-en Arabic base-memory Release models/ar-en/retrain_base-memory_X9fDxFreTOCslPKzb1CXTg/exported/
bergamot/de-en German base-memory Release models/de-en/retrain_hr2_WZOW24i4QJmIib61LeHfwg/exported/
bergamot/es-en Spanish base-memory Release models/es-en/retrain_hr_HbNjJ60BTwmVTbhfFxuduA/exported/
bergamot/fr-en French base-memory Release models/fr-en/retrain_hr_EFgIftH_RrCyzl5gjemVNg/exported/
bergamot/hi-en Hindi tiny Release models/hi-en/h1-2025_IcUQD-GbSJWB6WV08oDoEw/exported/
bergamot/it-en Italian base-memory Release models/it-en/retrain_hr_d1nPDwVeSD6t-HdtWA4xNg/exported/
bergamot/ja-en Japanese base-memory Release Android models/ja-en/cjk_retrain_base-memory_NLRJLD_pQFyrvgKtbie2nA/exported/
bergamot/ko-en Korean base-memory Release Android models/ko-en/cjk_retrain_base-memory_QgYNtG3BTzKBFSV1wl06Pg/exported/
bergamot/pt-en Portuguese base-memory Release models/pt-en/retrain_hr_drxrs5bGSsOWvfK9lyZISw/exported/
bergamot/ru-en Russian base-memory Release models/ru-en/next26_RSpwfHrcSUC_rKTnhOEXzw/exported/
bergamot/tr-en Turkish tiny Release models/tr-en/statmt_xxxxxxxxRxSxxxxxxxxxxA/exported/
bergamot/zh-en Chinese (Simplified) base-memory Release Android models/zh-en/cjk_retrain_base-memory_cNY_yaJCStGwnTeXgW8A5w/exported/

marian/: Helsinki-NLP Opus-MT (Greek)

marian/el-en/ is opus-mt-tc-big-el-en by Helsinki-NLP (Jรถrg Tiedemann and the OPUS-MT team, University of Helsinki), https://huggingface.co/Helsinki-NLP/opus-mt-tc-big-el-en, licensed CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/).

Changes we made: the weights were converted to on-device formats; nothing was retrained.

  • android/model_int8.tflite: exported to LiteRT with a fixed-shape key/value cache (source and target up to 64 tokens) and int8 weight quantisation.
  • ios/encoder.mlmodelc, ios/decoder.mlmodelc: exported to CoreML ML Programs with int8 weights and fp16 compute (inputs up to 128 tokens; attention masks use โˆ’1e4), then compiled with xcrun coremlcompiler.
  • source.spm, vocab.json: unmodified copies from the original repository.

Citation: Tiedemann, J. and Thottingal, S. (2020). OPUS-MT โ€” Building open translation services for the World. EAMT 2020.

The runtime is bergamot-translator (MPL-2.0) and marian (MIT), built into the app. The app's source modifications to those files are published with the app.

Downloads last month
14
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support