Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer
|
|
24 |
hi_text = "जीवन एक चॉकलेट बॉक्स की तरह है।"
|
25 |
chinese_text = "生活就像一盒巧克力。"
|
26 |
|
27 |
-
model = M2M100ForConditionalGeneration.from_pretrained("
|
28 |
tokenizer = M2M100Tokenizer.from_pretrained("facebook/m2m100_418M")
|
29 |
|
30 |
# translate Hindi to French
|
|
|
24 |
hi_text = "जीवन एक चॉकलेट बॉक्स की तरह है।"
|
25 |
chinese_text = "生活就像一盒巧克力。"
|
26 |
|
27 |
+
model = M2M100ForConditionalGeneration.from_pretrained("facebook/m2m100_418M")
|
28 |
tokenizer = M2M100Tokenizer.from_pretrained("facebook/m2m100_418M")
|
29 |
|
30 |
# translate Hindi to French
|