Update README.md
Browse files
README.md
CHANGED
|
@@ -81,13 +81,13 @@ dtype = torch.bfloat16
|
|
| 81 |
video_path = "/path/to/video.mp4"
|
| 82 |
|
| 83 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
| 84 |
-
"Vchitect/ShotVL-
|
| 85 |
device_map=device_map,
|
| 86 |
attn_implementation="flash_attention_2",
|
| 87 |
torch_dtype=dtype,
|
| 88 |
).eval()
|
| 89 |
processor = AutoProcessor.from_pretrained(
|
| 90 |
-
"Vchitect/ShotVL-
|
| 91 |
)
|
| 92 |
|
| 93 |
question = (
|
|
|
|
| 81 |
video_path = "/path/to/video.mp4"
|
| 82 |
|
| 83 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
| 84 |
+
"Vchitect/ShotVL-3B",
|
| 85 |
device_map=device_map,
|
| 86 |
attn_implementation="flash_attention_2",
|
| 87 |
torch_dtype=dtype,
|
| 88 |
).eval()
|
| 89 |
processor = AutoProcessor.from_pretrained(
|
| 90 |
+
"Vchitect/ShotVL-3B", revision="refs/pr/24", use_fast=True, torch_dtype=dtype
|
| 91 |
)
|
| 92 |
|
| 93 |
question = (
|