Update README.md
Browse files
README.md
CHANGED
|
@@ -56,13 +56,13 @@ from qwen_vl_utils import process_vision_info
|
|
| 56 |
|
| 57 |
# Load the merged model
|
| 58 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
| 59 |
-
"YOUR_REPO_NAME/Qwen3-VL-Merged",
|
| 60 |
torch_dtype="auto",
|
| 61 |
device_map="auto"
|
| 62 |
)
|
| 63 |
|
| 64 |
# Processor (tokenizer + image/video preprocessing)
|
| 65 |
-
processor = AutoProcessor.from_pretrained("YOUR_REPO_NAME/Qwen3-VL-Merged")
|
| 66 |
|
| 67 |
# Example: Image + Text prompt
|
| 68 |
messages = [
|
|
@@ -280,7 +280,7 @@ The model supports a wide range of resolution inputs. By default, it uses the na
|
|
| 280 |
min_pixels = 256 * 28 * 28
|
| 281 |
max_pixels = 1280 * 28 * 28
|
| 282 |
processor = AutoProcessor.from_pretrained(
|
| 283 |
-
"
|
| 284 |
)
|
| 285 |
```
|
| 286 |
|
|
|
|
| 56 |
|
| 57 |
# Load the merged model
|
| 58 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
| 59 |
+
"YOUR_REPO_NAME/Qwen3-VL-1B-Merged",
|
| 60 |
torch_dtype="auto",
|
| 61 |
device_map="auto"
|
| 62 |
)
|
| 63 |
|
| 64 |
# Processor (tokenizer + image/video preprocessing)
|
| 65 |
+
processor = AutoProcessor.from_pretrained("YOUR_REPO_NAME/Qwen3-VL-1B-Merged")
|
| 66 |
|
| 67 |
# Example: Image + Text prompt
|
| 68 |
messages = [
|
|
|
|
| 280 |
min_pixels = 256 * 28 * 28
|
| 281 |
max_pixels = 1280 * 28 * 28
|
| 282 |
processor = AutoProcessor.from_pretrained(
|
| 283 |
+
"ViFortuneAIViFortuneAI/Qwen3-VL-1B-Merged", min_pixels=min_pixels, max_pixels=max_pixels
|
| 284 |
)
|
| 285 |
```
|
| 286 |
|