Downloads · 30 days
14
26% of all-time downloads
inference4j/opus-mt-en-fr
opus-mt-en-fr is a translation model from inference4j. Use it when you need text moved from one language to another. It is set up for onnx. The card lists the license as apache-2.0.
ONNX export of Helsinki-NLP/opus-mt-en-fr with encoder-decoder architecture and KV cache support.
Downloads · 30 days
14
26% of all-time downloads
All-time downloads
53
Public
Repo size
1.3 GB
Likes
2
Public
Click a slice to open those files.
.onnx635 MB · 99%
From the Hugging Face model README
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.
try (var translator = MarianTranslator.builder()
.modelId("inference4j/opus-mt-en-fr").build()) {
System.out.println(translator.translate("The weather is beautiful today."));
}
| 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) |
This model is licensed under the Apache License 2.0. Original model by Helsinki-NLP.