Update README.md
Browse files
README.md
CHANGED
|
@@ -73,6 +73,7 @@ import openvino_genai as ov_genai
|
|
| 73 |
|
| 74 |
device = "CPU"
|
| 75 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
|
|
|
| 76 |
print(pipe.generate("What is OpenVINO?", max_length=200))
|
| 77 |
```
|
| 78 |
|
|
|
|
| 73 |
|
| 74 |
device = "CPU"
|
| 75 |
pipe = ov_genai.LLMPipeline(model_path, device)
|
| 76 |
+
pipe.get_tokenizer().set_chat_template(pipe.get_tokenizer().chat_template)
|
| 77 |
print(pipe.generate("What is OpenVINO?", max_length=200))
|
| 78 |
```
|
| 79 |
|