Saidtaoussi
commited on
Commit
•
21d3724
1
Parent(s):
e60a3eb
Update README.md
Browse files
README.md
CHANGED
@@ -67,7 +67,7 @@ To get started with the model, follow the steps below:
|
|
67 |
>>> model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
68 |
|
69 |
# Example translation
|
70 |
-
>>> input_text = "
|
71 |
>>> inputs = tokenizer(input_text, return_tensors="pt", padding=True)
|
72 |
>>> translated = model.generate(**inputs)
|
73 |
>>> output_text = tokenizer.decode(translated[0], skip_special_tokens=True)
|
|
|
67 |
>>> model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
68 |
|
69 |
# Example translation
|
70 |
+
>>> input_text = "آه، يالاه رجعت من شهر العسل ديالي في شفشاون"
|
71 |
>>> inputs = tokenizer(input_text, return_tensors="pt", padding=True)
|
72 |
>>> translated = model.generate(**inputs)
|
73 |
>>> output_text = tokenizer.decode(translated[0], skip_special_tokens=True)
|