File size: 844 Bytes
b5626c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- en
pipeline_tag: translation
widget:
- text: بدي أروح ع الدكان بكرا
---

# Levanti (colloquial Levantine Arabic -> English) translator

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.
The model supports Palestinian, Jordanian, Syrian, Lebanese and Egyptian dialects.


# Example usage

```python
from transformers import pipeline
trans = pipeline("translation", "guymorlan/levanti_translate_ar_en")
trans("بدي أروح ع الدكان بكرا")
```
```
Out[1]: [{'translation_text': 'I want to go to the store tomorrow'}]
```

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