amokrov commited on
Commit
6f32d81
·
verified ·
1 Parent(s): 1230ed9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -84,6 +84,7 @@ import openvino_genai as ov_genai
84
 
85
  device = "CPU"
86
  pipe = ov_genai.LLMPipeline(model_path, device)
 
87
  print(pipe.generate("What is OpenVINO?", max_length=200))
88
  ```
89
 
 
84
 
85
  device = "CPU"
86
  pipe = ov_genai.LLMPipeline(model_path, device)
87
+ pipe.get_tokenizer().set_chat_template(pipe.get_tokenizer().chat_template)
88
  print(pipe.generate("What is OpenVINO?", max_length=200))
89
  ```
90