|
--- |
|
license: apache-2.0 |
|
language: |
|
- ar |
|
- he |
|
pipeline_tag: translation |
|
widget: |
|
- text: رحت أشتري كتاب |
|
base_model: |
|
- Helsinki-NLP/opus-mt-ar-he |
|
--- |
|
# Arabic -> Hebrew translator |
|
|
|
Fine-tuning [Helsinki-NLP/opus-mt-ar-he](https://huggingface.co/Helsinki-NLP/opus-mt-ar-he) for 15 epochs. |
|
The model is designed to translate an Israeli Arabic dialect |
|
|
|
|
|
# Example usage |
|
|
|
```python |
|
from transformers import pipeline |
|
trans = pipeline("translation", "HebArabNlpProject/mt-ar-he") |
|
trans("رحت أشتري كتاب") |
|
``` |
|
``` |
|
Out[1]: [{'translation_text': 'הלכתי לקנות ספר'}] |
|
``` |
|
|
|
# Attribution |
|
Created by Matrix |
|
Contact: Uri Meir |