Repository navigation
Translation pack 3 (trained for live chat, both ways)
Pre-releaseOptional downloads for offline translation trained for live chat in PurpleTV ReVive, both into English and from English, plus three new languages: Japanese, Filipino and Lithuanian. You do not need to download anything here by hand: the module downloads what you pick under PurpleTV › Translation (the language you translate into, and the languages chat is written in), checks every file against its pinned size and SHA-256, and only then uses it. Everything runs on your phone, and nothing is sent anywhere.
Each model here started from an Opus-MT model (FuguMT for English into Japanese) and was trained further on chat style sentence pairs (slang, emotes, short lines, stream talk) together with Tatoeba sentence pairs, so it keeps its everyday language. Japanese also learned from JESC film and TV subtitles. On held-out chat lines every model scored clearly better than the one it started from. The models of translate-pack-1 and translate-pack-2 keep working on phones that already have them until the new ones are downloaded.
This is a pre-release on purpose, so it never shows up as the module's latest version. The translation engine itself is not in here: it stays in translate-pack-1.
What is in here
| Language | Into English | From English |
|---|---|---|
| Spanish | purpletv-translate-model-es-en-chat.zip |
purpletv-translate-model-en-es-chat.zip |
| Portuguese | purpletv-translate-model-pt-en-chat.zip |
purpletv-translate-model-en-pt-chat.zip |
| German | purpletv-translate-model-de-en-chat.zip |
purpletv-translate-model-en-de-chat.zip |
| French | purpletv-translate-model-fr-en-chat.zip |
purpletv-translate-model-en-fr-chat.zip |
| Italian | purpletv-translate-model-it-en-chat.zip |
purpletv-translate-model-en-it-chat.zip |
| Russian | purpletv-translate-model-ru-en-chat.zip |
purpletv-translate-model-en-ru-chat.zip |
| Chinese | purpletv-translate-model-zh-en-chat.zip |
purpletv-translate-model-en-zh-chat.zip |
| Arabic | purpletv-translate-model-ar-en-chat.zip |
purpletv-translate-model-en-ar-chat.zip |
| Japanese (new) | purpletv-translate-model-ja-en-chat.zip |
purpletv-translate-model-en-ja-chat.zip |
| Filipino (new) | purpletv-translate-model-tl-en-chat.zip |
purpletv-translate-model-en-tl-chat.zip |
| Lithuanian (new) | purpletv-translate-model-lt-en-chat.zip |
purpletv-translate-model-en-lt-chat.zip |
Each zip is 65 to 95 MB. Between two languages other than English, a line goes through English.
The training and conversion scripts are in the repository's tools folder (train_marian.py, convert_marian.py, dedupe_marian_decoder.py). Each zip's LICENSE.txt names the model it started from (with its commit), what it was trained on and its licence, and its README.txt lists every file's SHA-256.
Credits and licences
- Opus-MT translation models by Helsinki-NLP, University of Helsinki, CC-BY 4.0: https://github.com/Helsinki-NLP/Opus-MT. The Lithuanian ones are Tatoeba Challenge models by Helsinki-NLP, in the Hugging Face copies https://huggingface.co/Neurora/opus-tatoeba-lit-eng and https://huggingface.co/Neurora/opus-tatoeba-eng-lit-bt.
- FuguMT en-ja by Satoshi Takahashi (staka), CC-BY-SA 4.0: https://huggingface.co/staka/fugumt-en-ja
- Tatoeba sentence pairs, CC BY 2.0 FR: https://tatoeba.org
- JESC, the Japanese-English Subtitle Corpus by Reid Pryzant et al., CC BY-SA 4.0: https://nlp.stanford.edu/projects/jesc/. Because of FuguMT and JESC, both Japanese models are shared under CC-BY-SA 4.0; all the others under CC-BY 4.0.
- The translation engine they run on, ONNX Runtime by Microsoft (MIT licence), comes from translate-pack-1.
Thank you to everyone behind these projects!