Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- ar
|
| 5 |
+
- he
|
| 6 |
+
pipeline_tag: translation
|
| 7 |
+
widget:
|
| 8 |
+
- text: رحت أشتري كتاب
|
| 9 |
+
base_model:
|
| 10 |
+
- Helsinki-NLP/opus-mt-ar-he
|
| 11 |
+
---
|
| 12 |
+
# Arabic -> Hebrew translator
|
| 13 |
+
|
| 14 |
+
Fine-tuning [Helsinki-NLP/opus-mt-ar-he](https://huggingface.co/Helsinki-NLP/opus-mt-ar-he) for 15 epochs.
|
| 15 |
+
The model is designed to translate an Israeli Arabic dialect
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
# Example usage
|
| 19 |
+
|
| 20 |
+
```python
|
| 21 |
+
from transformers import pipeline
|
| 22 |
+
trans = pipeline("translation", "HebArabNlpProject/mt-ar-he")
|
| 23 |
+
trans("رحت أشتري كتاب")
|
| 24 |
+
```
|
| 25 |
+
```
|
| 26 |
+
Out[1]: [{'translation_text': 'הלכתי לקנות ספר'}]
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
# Attribution
|
| 30 |
+
Created by Matrix
|
| 31 |
+
Contact: Uri Meir
|