SnypzZz commited on
Commit
fa1ae82
1 Parent(s): 63b8243

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -74,8 +74,8 @@ target language id as the first generated token, pass the `forced_bos_token_id`
74
  ```python
75
  from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
76
  article_en = "The head of the United Nations says there is no military solution in Syria"
77
- model = MBartForConditionalGeneration.from_pretrained("facebook/mbart-large-50-one-to-many-mmt")
78
- tokenizer = MBart50TokenizerFast.from_pretrained("facebook/mbart-large-50-one-to-many-mmt", src_lang="en_XX")
79
 
80
  model_inputs = tokenizer(article_en, return_tensors="pt")
81
 
 
74
  ```python
75
  from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
76
  article_en = "The head of the United Nations says there is no military solution in Syria"
77
+ model = MBartForConditionalGeneration.from_pretrained("SnypzZz/Llama2-13b-Language-translate")
78
+ tokenizer = MBart50TokenizerFast.from_pretrained("SnypzZz/Llama2-13b-Language-translate", src_lang="en_XX")
79
 
80
  model_inputs = tokenizer(article_en, return_tensors="pt")
81