Update README.md
Browse files
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,
|