OPUS-MT es→de, INT8 ONNX with Shift-Att alignment output
A conversion of Helsinki-NLP/opus-mt-es-de (revision 77bd27c5e41c7472be7dd49de96ccc2bec854b55)
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 outputsalignment_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.
Attribution
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.