OPUS-MT tc-bible-big, ONNX int8 (ucast.me)
ONNX Runtime int8 builds of ten OPUS-MT translation models made by Helsinki-NLP (Language Technology Research Group, University of Helsinki). The ucast.me desktop app uses them for its optional cascade translation in Local mode: the speech recognizer writes the transcript and these models translate it, on the CPU.
| folder | original model (revision) | pairs used by the app | target token |
|---|---|---|---|
en-itc |
Helsinki-NLP/opus-mt-tc-bible-big-deu_eng_fra_por_spa-itc (1159ef376d48) |
en→fr/pt/it, fr/pt→es, fr/pt/es→it, de→fr/pt/es/it | >>fra<<, >>por<<, >>spa<<, >>ita<< |
roa-en |
Helsinki-NLP/opus-mt-tc-bible-big-roa-en (4d4757865ab1) |
fr/pt/es/it→en | none |
itc-multi |
Helsinki-NLP/opus-mt-tc-bible-big-itc-deu_eng_fra_por_spa (4bcdcc2580be) |
fr↔pt, es→fr/pt, it→fr/pt/es, fr/pt/es/it→de | >>por<<, >>fra<<, >>spa<<, >>deu<< |
gem-multi |
Helsinki-NLP/opus-mt-tc-bible-big-gem-deu_eng_fra_por_spa (d67b7e7ee532) |
nl→en/de/fr/pt/es, de→en, en→de | >>eng<<, >>deu<<, >>fra<<, >>por<<, >>spa<< |
en-gem |
Helsinki-NLP/opus-mt-tc-bible-big-deu_eng_fra_por_spa-gem (39acdc3e83fd) |
en/fr/pt/es/de→nl | >>nld<< |
en-sla |
Helsinki-NLP/opus-mt-tc-bible-big-deu_eng_fra_por_spa-sla (9b9fbdae5e6e) |
en→ru, fr/pt/de→ru/uk | >>rus<<, >>ukr<< |
mul-multi |
Helsinki-NLP/opus-mt-tc-bible-big-mul-deu_eng_fra_por_spa (b3513c3e0d2a) |
pl→fr/pt, ru/uk→fr/pt/de; pl/ru/uk→en as the first half of a translation through English | >>fra<<, >>por<<, >>deu<<, >>eng<< |
en-sem |
Helsinki-NLP/opus-mt-tc-bible-big-deu_eng_fra_por_spa-sem (e9c62f2708b7) |
en/fr/pt→ar (de→ar through English) | >>ara<< |
en-inc |
Helsinki-NLP/opus-mt-tc-bible-big-deu_eng_fra_por_spa-inc (fbdbc7e254bd) |
en→hi | >>hin<< |
en-trk |
Helsinki-NLP/opus-mt-tc-bible-big-deu_eng_fra_por_spa-trk (4e5712ce7419) |
en→tr (fr/pt/de/es/it/nl/uk→tr through English) | >>tur<< |
Files in each folder
encoder_model.int8.onnx,decoder_model_merged.int8.onnx: exported withoptimum1.23.3 (text2text-generation-with-past). The encoder, decoder and decoder-with-past were quantized withonnxruntime.quantization.quantize_dynamic(QInt8, ONNX Runtime 1.22.0), then the two decoders were merged withoptimum.onnx.merge_decoders(strict=False).en-slawas quantized withreduce_range=True(7-bit weights): with plain QInt8 its decoder-with-past repeated words in a loop.source.tsv: the source SentencePiece pieces and their scores (piece<TAB>score), taken fromsource.spm. Control, unknown and unused pieces are left out; the byte pieces (<0xNN>) stay, for letters with no piece of their own (byte fallback).vocab.json,source.spm,target.spm,config.json,tokenizer_config.json: unchanged copies from the original repository.README.md: the original model card.
The weights are only converted and quantized. Nothing was retrained.
en-itc, roa-en and itc-multi download with the app's Local mode; gem-multi + en-gem (Dutch, English↔German), en-sla (Russian, Ukrainian), mul-multi (Polish, Russian, Ukrainian speech), en-sem (Arabic), en-inc (Hindi) and en-trk (Turkish) are downloaded only when the person picks a language that needs them. The four added on 2026-10-23 were exported the same way (FLEURS test chrF: en→ar 59.2, en→hi 55.2, en→tr 60.4, uk→fr 56.2).
Licence and attribution
Apache License 2.0, the same licence as the original models (see LICENSE).
The original models are by Helsinki-NLP, from the OPUS-MT project and the Tatoeba Translation Challenge:
- Jörg Tiedemann and Santhosh Thottingal. 2020. OPUS-MT — Building open translation services for the World. EAMT 2020.
- Jörg Tiedemann, Mikko Aulamo, Daria Bakshandaeva, Michele Boggia, Stig-Arne Grönroos, Tommi Nieminen, Alessandro Raganato, Yves Scherrer, Raúl Vázquez and Sami Virpioja. 2023. Democratizing neural machine translation with OPUS-MT. Language Resources and Evaluation.