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
Commit ·
f1efc3c
1
Parent(s): 3754c6e
Add `opus-mt-tc` tag
Browse filesAdd `opus-mt-tc` tag so that this new marian models can be found more easily
README.md
CHANGED
|
@@ -2,10 +2,9 @@
|
|
| 2 |
language:
|
| 3 |
- ar
|
| 4 |
- en
|
| 5 |
-
|
| 6 |
tags:
|
| 7 |
- translation
|
| 8 |
-
|
| 9 |
license: cc-by-4.0
|
| 10 |
model-index:
|
| 11 |
- name: opus-mt-tc-big-en-ar
|
|
@@ -19,9 +18,9 @@ model-index:
|
|
| 19 |
type: flores_101
|
| 20 |
args: eng ara devtest
|
| 21 |
metrics:
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
- task:
|
| 26 |
name: Translation eng-ara
|
| 27 |
type: translation
|
|
@@ -31,9 +30,9 @@ model-index:
|
|
| 31 |
type: tatoeba_mt
|
| 32 |
args: eng-ara
|
| 33 |
metrics:
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
- task:
|
| 38 |
name: Translation eng-ara
|
| 39 |
type: translation
|
|
@@ -43,9 +42,9 @@ model-index:
|
|
| 43 |
type: tico19-test
|
| 44 |
args: eng-ara
|
| 45 |
metrics:
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
---
|
| 50 |
# opus-mt-tc-big-en-ar
|
| 51 |
|
|
|
|
| 2 |
language:
|
| 3 |
- ar
|
| 4 |
- en
|
|
|
|
| 5 |
tags:
|
| 6 |
- translation
|
| 7 |
+
- opus-mt-tc
|
| 8 |
license: cc-by-4.0
|
| 9 |
model-index:
|
| 10 |
- name: opus-mt-tc-big-en-ar
|
|
|
|
| 18 |
type: flores_101
|
| 19 |
args: eng ara devtest
|
| 20 |
metrics:
|
| 21 |
+
- name: BLEU
|
| 22 |
+
type: bleu
|
| 23 |
+
value: 29.4
|
| 24 |
- task:
|
| 25 |
name: Translation eng-ara
|
| 26 |
type: translation
|
|
|
|
| 30 |
type: tatoeba_mt
|
| 31 |
args: eng-ara
|
| 32 |
metrics:
|
| 33 |
+
- name: BLEU
|
| 34 |
+
type: bleu
|
| 35 |
+
value: 20.0
|
| 36 |
- task:
|
| 37 |
name: Translation eng-ara
|
| 38 |
type: translation
|
|
|
|
| 42 |
type: tico19-test
|
| 43 |
args: eng-ara
|
| 44 |
metrics:
|
| 45 |
+
- name: BLEU
|
| 46 |
+
type: bleu
|
| 47 |
+
value: 30.0
|
| 48 |
---
|
| 49 |
# opus-mt-tc-big-en-ar
|
| 50 |
|