Translation
Transformers
PyTorch
TensorFlow
Safetensors
Arabic
English
marian
text2text-generation
opus-mt-tc
Eval Results (legacy)
Instructions to use Helsinki-NLP/opus-mt-tc-big-en-ar 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-ar 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-ar")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-tc-big-en-ar") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-tc-big-en-ar") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 475 Bytes
3754c6e | 1 2 3 4 5 6 7 8 9 10 | eng-ara flores101-dev 0.60808 29.9 997 20512 eng-ara flores101-devtest 0.61154 29.4 1012 21357 eng-ara tatoeba-test-v2020-07-28 0.48938 20.0 10000 58935 eng-arq tatoeba-test-v2020-07-28 0.16786 0.9 403 2272 eng-ara tatoeba-test-v2021-03-30 0.48790 19.8 10267 61124 eng-arq tatoeba-test-v2021-03-30 0.16797 0.9 405 2285 eng-ara tatoeba-test-v2021-08-07 0.48813 19.8 10305 61356 eng-arq tatoeba-test-v2021-08-07 0.16797 0.9 405 2285 eng-ara tico19-test 0.60075 30.0 2100 51339 |