guymorlan commited on
Commit
b5626c2
1 Parent(s): b98f569

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -3
README.md CHANGED
@@ -1,3 +1,32 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ datasets:
4
+ - guymorlan/levanti
5
+ language:
6
+ - ar
7
+ - en
8
+ pipeline_tag: translation
9
+ widget:
10
+ - text: بدي أروح ع الدكان بكرا
11
+ ---
12
+
13
+ # Levanti (colloquial Levantine Arabic -> English) translator
14
+
15
+ Trained on the [Levanti](https://huggingface.co/datasets/guymorlan/levanti) dataset by fine-tuning [Helsinki-NLP/opus-mt-ar-en](https://huggingface.co/Helsinki-NLP/opus-mt-ar-en) for 8 epochs.
16
+ The model supports Palestinian, Jordanian, Syrian, Lebanese and Egyptian dialects.
17
+
18
+
19
+ # Example usage
20
+
21
+ ```python
22
+ from transformers import pipeline
23
+ trans = pipeline("translation", "guymorlan/levanti_translate_ar_en")
24
+ trans("بدي أروح ع الدكان بكرا")
25
+ ```
26
+ ```
27
+ Out[1]: [{'translation_text': 'I want to go to the store tomorrow'}]
28
+ ```
29
+
30
+ # Attribution
31
+ Created by Guy Mor-Lan.<br>
32
+ Contact: guy.mor AT mail.huji.ac.il