svjack commited on
Commit
95345c3
1 Parent(s): 316664a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -16,7 +16,7 @@ tokenizer.decode(
16
  model.generate(
17
  tokenizer.encode(
18
  "你认为今天的天气怎么样?", return_tensors="pt", add_special_tokens=True
19
- ), 128,
20
  num_beams=2,
21
  top_p = 0.95,
22
  top_k = 50,
 
16
  model.generate(
17
  tokenizer.encode(
18
  "你认为今天的天气怎么样?", return_tensors="pt", add_special_tokens=True
19
+ ), max_length = 128,
20
  num_beams=2,
21
  top_p = 0.95,
22
  top_k = 50,