Spaces:
Running
Running
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 |