Update README.md
Browse files
README.md
CHANGED
|
@@ -92,7 +92,7 @@ hf_hub.snapshot_download(model_id, local_dir=model_path)
|
|
| 92 |
```
|
| 93 |
import openvino_genai as ov_genai
|
| 94 |
device = "NPU"
|
| 95 |
-
pipe = ov_genai.LLMPipeline(model_path, "NPU", MAX_PROMPT_LEN=4096,
|
| 96 |
|
| 97 |
# Create a proper GenerationConfig object
|
| 98 |
gen_config = GenerationConfig(apply_chat_template=True, max_new_tokens=1024)
|
|
|
|
| 92 |
```
|
| 93 |
import openvino_genai as ov_genai
|
| 94 |
device = "NPU"
|
| 95 |
+
pipe = ov_genai.LLMPipeline(model_path, "NPU", MAX_PROMPT_LEN=4096, CACHE_DIR="./cache")
|
| 96 |
|
| 97 |
# Create a proper GenerationConfig object
|
| 98 |
gen_config = GenerationConfig(apply_chat_template=True, max_new_tokens=1024)
|