Translation
Transformers
PyTorch
TensorFlow
Safetensors
marian
text2text-generation
opus-mt-tc
Eval Results (legacy)
Instructions to use Helsinki-NLP/opus-mt-tc-big-zle-es 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-zle-es 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-zle-es")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-tc-big-zle-es") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-tc-big-zle-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| bel-spa flores101-dev 0.44353 13.7 997 27793 | |
| rus-spa flores101-dev 0.50556 22.3 997 27793 | |
| bel-spa flores101-devtest 0.44744 14.1 1012 29199 | |
| rus-spa flores101-devtest 0.50880 22.5 1012 29199 | |
| ukr-spa flores101-devtest 0.50943 22.7 1012 29199 | |
| ukr-spa flores101-dev 0.50342 22.6 997 27793 | |
| rus-spa newstest2012 0.55185 29.0 3003 79006 | |
| rus-spa newstest2013 0.56826 31.7 3000 70528 | |
| rus-spa tatoeba-test-v2020-07-28 0.69982 52.4 10000 71496 | |
| ukr-spa tatoeba-test-v2020-07-28 0.68800 51.6 10000 58486 | |
| bel-spa tatoeba-test-v2021-03-30 0.65745 46.6 207 1432 | |
| rus-spa tatoeba-test-v2021-03-30 0.69886 52.3 10272 73506 | |
| ukr-spa tatoeba-test-v2021-03-30 0.68810 51.6 10027 58644 | |
| bel-spa tatoeba-test-v2021-08-07 0.65523 46.3 205 1412 | |
| rus-spa tatoeba-test-v2021-08-07 0.69933 52.3 10506 75246 | |
| ukr-spa tatoeba-test-v2021-08-07 0.68862 51.6 10115 59284 | |