valhalla commited on
Commit
c94d571
1 Parent(s): ac804d5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -24,8 +24,8 @@ from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer
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
31
  tokenizer.src_lang = "hi"
 
24
  hi_text = "जीवन एक चॉकलेट बॉक्स की तरह है।"
25
  chinese_text = "生活就像一盒巧克力。"
26
 
27
+ model = M2M100ForConditionalGeneration.from_pretrained("facebook/m2m100_1.2B")
28
+ tokenizer = M2M100Tokenizer.from_pretrained("facebook/m2m100_1.2B")
29
 
30
  # translate Hindi to French
31
  tokenizer.src_lang = "hi"