A conversion of Helsinki-NLP/opus-mt-it-sv (revision e33907bcf536e381795b351f2d2e68c70517a161)
for the Subtitle Tap Android app's on-device OPUS runtime. One direct model: no
pivot through English.
encoder_model_quantized.onnx, decoder_model_quantized.onnx: optimum export
(opset 17, no past key/values), onnxruntime dynamic INT8 quantization
(QInt8, per-tensor). The decoder also outputs alignment_shift_l2, layer-2
encoder-attention probabilities (an Identity of an existing node; weights and
decoding are unchanged).tokenizer_runtime.json: the source SentencePiece model's pieces and scores
mapped to vocabulary ids, and the target token strings.alignment.json: receipt binding the alignment output to the decoder's SHA-256.The model weights are by the Language Technology Research Group at the University of Helsinki (OPUS-MT, Jörg Tiedemann et al.), trained on OPUS data, released under apache-2.0. This repository changes only the file format (ONNX export and INT8 quantization). Please cite:
Tiedemann, J. and Thottingal, S. (2020). OPUS-MT — Building open translation services for the World. EAMT 2020.
decoder_model_quantized.onnx 86 MBencoder_model_quantized.onnx 49 MB