Update README.md
Browse files
README.md
CHANGED
|
@@ -91,13 +91,13 @@ pip install -r requirements.txt
|
|
| 91 |
Download the necessary pre-trained models before proceeding to inference.
|
| 92 |
|
| 93 |
```shell
|
| 94 |
-
STAR/checkpoints/STAR-
|
| 95 |
STAR/checkpoints/VQ-Model.pt
|
| 96 |
```
|
| 97 |
|
| 98 |
### Configuration
|
| 99 |
|
| 100 |
-
The model configuration file `star/configs/STAR_Qwen2.5-VL-
|
| 101 |
|
| 102 |
## 🔥 Quick Start
|
| 103 |
|
|
@@ -120,7 +120,7 @@ python3 inference_understand.py \
|
|
| 120 |
--image-path "path/to/your/image.jpg" \
|
| 121 |
--question "What is in this image? Describe it in detail." \
|
| 122 |
--max-new-tokens 256 \
|
| 123 |
-
--model-config "star/configs/STAR_Qwen2.5-VL-
|
| 124 |
--checkpoint "checkpoints/STAR-7B.pt" \
|
| 125 |
--device "cuda:0"
|
| 126 |
```
|
|
@@ -145,7 +145,7 @@ python3 inference_generation.py \
|
|
| 145 |
--cfg 1.1 \
|
| 146 |
--topk 1000 \
|
| 147 |
--topp 0.8 \
|
| 148 |
-
--model-config "star/configs/STAR_Qwen2.5-VL-
|
| 149 |
--checkpoint "checkpoints/STAR-7B.pt" \
|
| 150 |
--diffusion-as-decoder \
|
| 151 |
--device "cuda:0"
|
|
@@ -172,7 +172,7 @@ python3 inference_edit.py \
|
|
| 172 |
--cfg 1.1 \
|
| 173 |
--topk 1000 \
|
| 174 |
--topp 0.8 \
|
| 175 |
-
--model-config "star/configs/STAR_Qwen2.5-VL-
|
| 176 |
--checkpoint "checkpoints/STAR-7B.pt" \
|
| 177 |
--diffusion-as-decoder \
|
| 178 |
--device "cuda:0"
|
|
|
|
| 91 |
Download the necessary pre-trained models before proceeding to inference.
|
| 92 |
|
| 93 |
```shell
|
| 94 |
+
STAR/checkpoints/STAR-3B.pt
|
| 95 |
STAR/checkpoints/VQ-Model.pt
|
| 96 |
```
|
| 97 |
|
| 98 |
### Configuration
|
| 99 |
|
| 100 |
+
The model configuration file `star/configs/STAR_Qwen2.5-VL-3B.json` contains all necessary parameters for model initialization. Make sure to update the paths in the configuration file to match your local setup.
|
| 101 |
|
| 102 |
## 🔥 Quick Start
|
| 103 |
|
|
|
|
| 120 |
--image-path "path/to/your/image.jpg" \
|
| 121 |
--question "What is in this image? Describe it in detail." \
|
| 122 |
--max-new-tokens 256 \
|
| 123 |
+
--model-config "star/configs/STAR_Qwen2.5-VL-3B.json" \
|
| 124 |
--checkpoint "checkpoints/STAR-7B.pt" \
|
| 125 |
--device "cuda:0"
|
| 126 |
```
|
|
|
|
| 145 |
--cfg 1.1 \
|
| 146 |
--topk 1000 \
|
| 147 |
--topp 0.8 \
|
| 148 |
+
--model-config "star/configs/STAR_Qwen2.5-VL-3B.json" \
|
| 149 |
--checkpoint "checkpoints/STAR-7B.pt" \
|
| 150 |
--diffusion-as-decoder \
|
| 151 |
--device "cuda:0"
|
|
|
|
| 172 |
--cfg 1.1 \
|
| 173 |
--topk 1000 \
|
| 174 |
--topp 0.8 \
|
| 175 |
+
--model-config "star/configs/STAR_Qwen2.5-VL-3B.json" \
|
| 176 |
--checkpoint "checkpoints/STAR-7B.pt" \
|
| 177 |
--diffusion-as-decoder \
|
| 178 |
--device "cuda:0"
|