Update README.md
Browse files
README.md
CHANGED
@@ -39,7 +39,7 @@ messages = [
|
|
39 |
{"role": "user", "content": "Do you have mayonnaise recipes?"}
|
40 |
]
|
41 |
|
42 |
-
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt")
|
43 |
|
44 |
outputs = model.generate(inputs, max_new_tokens=20)
|
45 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
|
39 |
{"role": "user", "content": "Do you have mayonnaise recipes?"}
|
40 |
]
|
41 |
|
42 |
+
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt")
|
43 |
|
44 |
outputs = model.generate(inputs, max_new_tokens=20)
|
45 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|