Update README.md
Browse files
README.md
CHANGED
@@ -124,8 +124,8 @@ input_ids = tokenizer.apply_chat_template(messages, add_generation_prompt=True,
|
|
124 |
|
125 |
outputs = model.generate(input_ids,
|
126 |
do_sample=True,
|
127 |
-
temperature=0.
|
128 |
-
|
129 |
)
|
130 |
response = outputs[0][input_ids.shape[-1]:]
|
131 |
print(tokenizer.decode(response, skip_special_tokens=True))
|
|
|
124 |
|
125 |
outputs = model.generate(input_ids,
|
126 |
do_sample=True,
|
127 |
+
temperature=0.5,
|
128 |
+
max_new_tokens=1024
|
129 |
)
|
130 |
response = outputs[0][input_ids.shape[-1]:]
|
131 |
print(tokenizer.decode(response, skip_special_tokens=True))
|