raminbakhtiari
commited on
Commit
•
fd486dc
1
Parent(s):
6ddd645
Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ Here is an example of how you can run this model:
|
|
24 |
from transformers import MT5ForConditionalGeneration, MT5Tokenizer
|
25 |
|
26 |
model_size = "large"
|
27 |
-
model_name = f"persiannlp/mt5-{model_size}-parsinlu-opus-
|
28 |
tokenizer = MT5Tokenizer.from_pretrained(model_name)
|
29 |
model = MT5ForConditionalGeneration.from_pretrained(model_name)
|
30 |
|
|
|
24 |
from transformers import MT5ForConditionalGeneration, MT5Tokenizer
|
25 |
|
26 |
model_size = "large"
|
27 |
+
model_name = f"persiannlp/mt5-{model_size}-parsinlu-opus-translation_fa_fa"
|
28 |
tokenizer = MT5Tokenizer.from_pretrained(model_name)
|
29 |
model = MT5ForConditionalGeneration.from_pretrained(model_name)
|
30 |
|