MarianMT English→French — ONNX
ONNX export of Helsinki-NLP/opus-mt-en-fr with encoder-decoder architecture and KV cache support.
Trained on the OPUS parallel corpus for English to French translation.
Converted for use with inference4j, an inference-only AI library for Java.
Original Source
- Repository: Helsinki-NLP/opus-mt-en-fr
- License: Apache 2.0
Usage with inference4j
try (var translator = MarianTranslator.builder()
.modelId("inference4j/opus-mt-en-fr").build()) {
System.out.println(translator.translate("The weather is beautiful today."));
}
Model Details
| Property | Value |
|---|---|
| Architecture | MarianMT encoder-decoder |
| Language pair | English → French |
| Training data | OPUS |
| Tokenizer | SentencePiece |
| Original framework | PyTorch (transformers) |
| Export method | Hugging Face Optimum (encoder-decoder with KV cache) |
License
This model is licensed under the Apache License 2.0. Original model by Helsinki-NLP.
- Downloads last month
- 20