Translation
Transformers
PyTorch
TensorFlow
Safetensors
English
Finnish
marian
text2text-generation
opus-mt-tc
Eval Results (legacy)
Instructions to use Helsinki-NLP/opus-mt-tc-big-en-fi 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-en-fi 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-en-fi")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-tc-big-en-fi") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-tc-big-en-fi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| eng-fin flores101-dev 0.61032 27.1 997 17938 | |
| eng-fin flores101-devtest 0.61334 27.6 1012 18781 | |
| eng-fin newsdev2015 0.58367 24.2 1500 23091 | |
| eng-fin newstest2015 0.60080 26.4 1370 19735 | |
| eng-fin newstest2016 0.61636 28.8 3000 47678 | |
| eng-fin newstest2017 0.64381 31.3 3002 45269 | |
| eng-fin newstest2018 0.55626 19.7 3000 44836 | |
| eng-fin newstest2019 0.58420 26.4 1997 38369 | |
| eng-fin newstestB2016 0.57554 23.3 3000 45766 | |
| eng-fin newstestB2017 0.60212 26.8 3002 45506 | |
| eng-fin tatoeba-test-v2020-07-28 0.64194 39.4 10000 60517 | |
| eng-fin tatoeba-test-v2021-03-30 0.64245 39.3 10186 61736 | |
| eng-fin tatoeba-test-v2021-08-07 0.64352 39.3 10690 65122 | |