Skip to content

Commit 6a46ace

Browse files
authored
Update README.md regarding the required changes
1 parent e8ec67e commit 6a46ace

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

demos/the_narrator_demo/README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,7 @@ python -m pip install --upgrade pip
7474
pip install -r requirements.txt
7575
```
7676

77-
### Step 5: Download Pre-optimized LLM model
78-
79-
Download the pre-optimized LLM model:
80-
81-
```shell
82-
huggingface-cli download OpenVINO/Qwen2.5-1.5B-Instruct-int4-ov --local-dir model/Qwen2.5-1.5B-Instruct-int4
83-
```
84-
85-
### Step 6: Run the Application
77+
## Step 5: Run the Application
8678

8779
To run the application on your webcam (default):
8880

@@ -104,10 +96,10 @@ python main.py --stream 0 --model_name Salesforce/blip-image-captioning-large
10496

10597
The first run will automatically download and convert the required BLIP model to OpenVINO IR format. The converted models will be stored in the `model` directory for future runs.
10698

107-
You can also select which LLM model to use (by replacing model id in the downloading cli) and the maximum number of tokens for generating the summarization:
99+
You can also select which LLM, pre-optimized in OpenVINO IR format, to be used for text summarization, from the OpenVINO model zone on Hugging Face https://huggingface.co/collections/OpenVINO/llm-6687aaa2abca3bbcec71a9bd:
108100

109101
```shell
110-
python main.py --stream 0 --summary_ov_model models/Qwen2.5-7B-Instruct-int4 --summary_max_new_tokens 160
102+
python main.py --stream 0 --summary_ov_model OpenVINO/qwen2.5-1.5b-instruct-int4-ov
111103
```
112104

113105
To see all available options:
@@ -132,6 +124,7 @@ python main.py --help
132124
- The `model` directory will contain the OpenVINO IR models after conversion.
133125
- For best performance, use a machine with an Intel CPU, GPU or NPU.
134126

127+
---
135128

136129
[//]: # (telemetry pixel)
137130
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=7003a37c-568d-40a5-9718-0d021d8589ca&project=demos/the_narrator_demo&file=README.md" />

0 commit comments

Comments
 (0)