Translation
Transformers
PyTorch
Safetensors
marian
text2text-generation
opus-mt-tc
Eval Results (legacy)
Instructions to use Helsinki-NLP/opus-mt-tc-big-fr-zle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-tc-big-fr-zle with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-tc-big-fr-zle")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-tc-big-fr-zle") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-tc-big-fr-zle", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| fra-bel flores101-dev 0.37320 8.0 997 23996 | |
| fra-rus flores101-dev 0.54119 25.7 997 22657 | |
| fra-ukr flores101-dev 0.52081 23.0 997 21841 | |
| fra-bel flores101-devtest 0.38238 8.5 1012 24829 | |
| fra-rus flores101-devtest 0.54106 25.8 1012 23295 | |
| fra-ukr flores101-devtest 0.52733 23.1 1012 22810 | |
| fra-rus newstest2012 0.51254 23.1 3003 64790 | |
| fra-rus newstest2013 0.52342 24.8 3000 58560 | |
| fra-rus tatoeba-test-v2020-07-28 0.66758 46.5 10000 60792 | |
| fra-ukr tatoeba-test-v2020-07-28 0.61833 39.8 10000 54082 | |
| fra-bel tatoeba-test-v2021-03-30 0.52817 31.4 285 1714 | |
| fra-rus tatoeba-test-v2021-03-30 0.66540 46.3 10633 64648 | |
| fra-ukr tatoeba-test-v2021-03-30 0.61860 39.8 10035 54263 | |
| fra-bel tatoeba-test-v2021-08-07 0.52711 31.1 283 1703 | |
| fra-rus tatoeba-test-v2021-08-07 0.66502 46.1 11490 70123 | |
| fra-ukr tatoeba-test-v2021-08-07 0.61860 39.9 10035 54372 | |