Update README.md
Browse files
README.md
CHANGED
@@ -6,6 +6,14 @@ tags:
|
|
6 |
model-index:
|
7 |
- name: masrawy-english-arabic-translator-clauda-opus-v1
|
8 |
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
---
|
10 |
|
11 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -13,21 +21,26 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# masrawy-english-arabic-translator-clauda-opus-v1
|
15 |
|
16 |
-
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-ar](https://huggingface.co/Helsinki-NLP/opus-mt-en-ar) on
|
17 |
It achieves the following results on the evaluation set:
|
18 |
- Loss: 2.0078
|
19 |
|
20 |
## Model description
|
21 |
|
22 |
-
|
23 |
|
24 |
-
##
|
25 |
|
26 |
-
|
|
|
27 |
|
28 |
-
|
|
|
|
|
29 |
|
30 |
-
|
|
|
|
|
31 |
|
32 |
## Training procedure
|
33 |
|
|
|
6 |
model-index:
|
7 |
- name: masrawy-english-arabic-translator-clauda-opus-v1
|
8 |
results: []
|
9 |
+
datasets:
|
10 |
+
- oddadmix/egyptian_english_arabic_claude
|
11 |
+
language:
|
12 |
+
- en
|
13 |
+
- ar
|
14 |
+
metrics:
|
15 |
+
- bleu
|
16 |
+
- chrf
|
17 |
---
|
18 |
|
19 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
21 |
|
22 |
# masrawy-english-arabic-translator-clauda-opus-v1
|
23 |
|
24 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-ar](https://huggingface.co/Helsinki-NLP/opus-mt-en-ar) on oddadmix/egyptian_english_arabic_claude dataset.
|
25 |
It achieves the following results on the evaluation set:
|
26 |
- Loss: 2.0078
|
27 |
|
28 |
## Model description
|
29 |
|
30 |
+
This model is finetuned on opus-mt-en-ar for English to Egyptian dialect translations
|
31 |
|
32 |
+
## Usage
|
33 |
|
34 |
+
```python
|
35 |
+
from transformers import pipeline
|
36 |
|
37 |
+
modelName = "oddadmix/masrawy-english-arabic-translator-v2"
|
38 |
+
translator = pipeline("translation", model=modelName)
|
39 |
+
output = translator("Where is the nearest pharmacy")
|
40 |
|
41 |
+
print(output[0]['translation_text'])
|
42 |
+
|
43 |
+
```
|
44 |
|
45 |
## Training procedure
|
46 |
|