xiangpeng.wxp commited on
Commit
cf93131
1 Parent(s): 7ac6057

update usage

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -73,7 +73,7 @@ input_doc = f"Beijing is the capital of China.\nTranslate this sentence from Eng
73
  inputs = tokenizer(input_doc, return_tensors="pt")
74
 
75
  generate_ids = model.generate(
76
- inputs.input_ids,
77
  attention_mask=inputs.attention_mask,
78
  do_sample=False,
79
  num_beams=4,
 
73
  inputs = tokenizer(input_doc, return_tensors="pt")
74
 
75
  generate_ids = model.generate(
76
+ inputs.input_ids,
77
  attention_mask=inputs.attention_mask,
78
  do_sample=False,
79
  num_beams=4,