Translation
Transformers
PyTorch
TensorFlow
Safetensors
English
Lithuanian
marian
text2text-generation
opus-mt-tc
Eval Results (legacy)
Instructions to use Helsinki-NLP/opus-mt-tc-big-lt-en 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-lt-en 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-lt-en")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-tc-big-lt-en") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-tc-big-lt-en") - Notebooks
- Google Colab
- Kaggle
| lit-eng flores101-dev 0.61208 34.1 997 23555 | |
| lit-eng flores101-devtest 0.60662 34.3 1012 24721 | |
| lit-eng newsdev2019 0.59995 32.9 2000 49312 | |
| lit-eng newstest2019 0.61742 32.3 1000 25878 | |
| lit-eng tatoeba-test-v2020-07-28 0.75045 61.8 2500 17688 | |
| lit-eng tatoeba-test-v2021-03-30 0.74995 61.7 5003 35368 | |
| lit-eng tatoeba-test-v2021-08-07 0.74881 61.6 2528 17855 | |