Update README.md
Browse files
README.md
CHANGED
@@ -89,7 +89,7 @@ messages = [
|
|
89 |
|
90 |
model_inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
|
91 |
|
92 |
-
generated_ids = model.generate(model_inputs, max_new_tokens=
|
93 |
decoded = tokenizer.batch_decode(generated_ids)
|
94 |
print(decoded[0])
|
95 |
```
|
|
|
89 |
|
90 |
model_inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
|
91 |
|
92 |
+
generated_ids = model.generate(model_inputs, max_new_tokens=128)
|
93 |
decoded = tokenizer.batch_decode(generated_ids)
|
94 |
print(decoded[0])
|
95 |
```
|