inference4j/opus-mt-en-es
017
MarianMT English→Spanish — ONNX
ONNX export of Helsinki-NLP/opus-mt-en-es with encoder-decoder architecture and KV cache support.
Trained on the OPUS parallel corpus for English to Spanish translation.
Converted for use with inference4j, an inference-only AI library for Java.
Original Source
- Repository: Helsinki-NLP/opus-mt-en-es
- License: Apache 2.0
Usage with inference4j
try (var translator = MarianTranslator.builder()
.modelId("inference4j/opus-mt-en-es").build()) {
System.out.println(translator.translate("The weather is beautiful today."));
}Model Details
License
This model is licensed under the Apache License 2.0. Original model by Helsinki-NLP.
