Update README.md
Browse files
README.md
CHANGED
|
@@ -29,6 +29,8 @@ A MTM (Machine Translation Model) designed to translate to True Classical Arabic
|
|
| 29 |
Use the code below to get started with the model.
|
| 30 |
|
| 31 |
```python
|
|
|
|
|
|
|
| 32 |
model_name = "Abdulmohsena/Faseeh"
|
| 33 |
|
| 34 |
tokenizer = AutoTokenizer.from_pretrained(model_name, src_lang="eng_Latn", tgt_lang="arb_Arab")
|
|
|
|
| 29 |
Use the code below to get started with the model.
|
| 30 |
|
| 31 |
```python
|
| 32 |
+
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, GenerationConfig
|
| 33 |
+
|
| 34 |
model_name = "Abdulmohsena/Faseeh"
|
| 35 |
|
| 36 |
tokenizer = AutoTokenizer.from_pretrained(model_name, src_lang="eng_Latn", tgt_lang="arb_Arab")
|