Downloads · 30 days
0
midudev/firefox-translations
firefox-translations is a translation model from midudev. Use it when you need text moved from one language to another. It is set up for bergamot. The card lists the license as mpl-2.0.
A byte-for-byte mirror of the translation models Mozilla ships in Firefox (mozilla/translations), made for runonweb (runonweb/translate). Mozilla's buckets send no CORS headers, so browsers can't load the models from…
Downloads · 30 days
0
Access
Public
Updated Sep 24, 2026
Repo size
3.3 GB
Likes
0
Public
Click a slice to open those files.
.bin3.3 GB · 97%
From the Hugging Face model README
A byte-for-byte mirror of the translation models Mozilla ships in Firefox
(mozilla/translations), made for
runonweb (runonweb/translate). Mozilla's buckets send no CORS
headers, so browsers can't load the models from there directly.
<pair>/ holds the model, the shortlist (lex) and the
SentencePiece vocab(s). runtime/ holds the Bergamot WASM runtime (@mkljczk/bergamot-translator 0.4.16).index.json lists the hosted pairs. Revisions and checksums come from Mozilla's model registry; the SDK
requests <pair>/<file>?rev=<revision>.Regenerate with node scripts/translate-models.mjs fetch --all in the runonweb repo.
import { Translator } from 'runonweb/translate'
const t = new Translator({ from: 'en', to: 'es' })
const { text } = await t.translate('Hello world')
MPL-2.0, like the original models (see LICENSE). All credit to Mozilla and the Bergamot project.