File size: 851 Bytes
5a5f011
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
license: cc-by-nc-4.0
datasets:
- guymorlan/levanti
language:
- ar
- he
pipeline_tag: translation
widget:
- text: بدي أروح ع الدكان بكرا
---

# Levanti (colloquial Levantine Arabic -> Hebrew) translator

Trained on the [Levanti](https://huggingface.co/datasets/guymorlan/levanti) dataset by fine-tuning [Helsinki-NLP/opus-mt-ar-he](https://huggingface.co/Helsinki-NLP/opus-mt-ar-he) for 8 epochs.
The model supports Palestinian, Jordanian, Syrian, Lebanese and Egyptian dialects.


# Example usage

```python
from transformers import pipeline
trans = pipeline("translation", "guymorlan/levanti_translate_ar_he")
trans("بدي أروح ع الدكان بكرا")
```
```
Out[1]: [{'translation_text': 'אני רוצה ללכת לחנות מחר'}]
```

# Attribution
Created by Guy Mor-Lan.<br>
Contact: guy.mor AT mail.huji.ac.il