amokrov commited on
Commit
8f1c06f
·
verified ·
1 Parent(s): 0fe2959

Update README.md

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