amokrov commited on
Commit
00298f1
·
verified ·
1 Parent(s): df6ac5e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
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