Update README.md
Browse files
README.md
CHANGED
|
@@ -82,6 +82,7 @@ import openvino_genai as ov_genai
|
|
| 82 |
|
| 83 |
device = "CPU"
|
| 84 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
|
|
|
| 85 |
print(pipe.generate("What is OpenVINO?", max_length=200))
|
| 86 |
```
|
| 87 |
|
|
|
|
| 82 |
|
| 83 |
device = "CPU"
|
| 84 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
| 85 |
+
pipe.get_tokenizer().set_chat_template(pipe.get_tokenizer().chat_template)
|
| 86 |
print(pipe.generate("What is OpenVINO?", max_length=200))
|
| 87 |
```
|
| 88 |
|