romiswd commited on
Commit
534c9aa
1 Parent(s): 9daf3c1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -3
README.md CHANGED
@@ -1,3 +1,31 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - ar
5
+ - he
6
+ pipeline_tag: translation
7
+ widget:
8
+ - text: رحت أشتري كتاب
9
+ base_model:
10
+ - Helsinki-NLP/opus-mt-ar-he
11
+ ---
12
+ # Arabic -> Hebrew translator
13
+
14
+ Fine-tuning [Helsinki-NLP/opus-mt-ar-he](https://huggingface.co/Helsinki-NLP/opus-mt-ar-he) for 15 epochs.
15
+ The model is designed to translate an Israeli Arabic dialect
16
+
17
+
18
+ # Example usage
19
+
20
+ ```python
21
+ from transformers import pipeline
22
+ trans = pipeline("translation", "HebArabNlpProject/mt-ar-he")
23
+ trans("رحت أشتري كتاب")
24
+ ```
25
+ ```
26
+ Out[1]: [{'translation_text': 'הלכתי לקנות ספר'}]
27
+ ```
28
+
29
+ # Attribution
30
+ Created by Matrix
31
+ Contact: Uri Meir