khang119966
commited on
Commit
•
bae6882
1
Parent(s):
d2d9a3a
Update README.md
Browse files
README.md
CHANGED
@@ -253,12 +253,12 @@ def load_image(image_file, input_size=448, max_num=12):
|
|
253 |
return pixel_values
|
254 |
|
255 |
model = AutoModel.from_pretrained(
|
256 |
-
"5CD-AI/
|
257 |
torch_dtype=torch.bfloat16,
|
258 |
low_cpu_mem_usage=True,
|
259 |
trust_remote_code=True,
|
260 |
).eval().cuda()
|
261 |
-
tokenizer = AutoTokenizer.from_pretrained("5CD-AI/
|
262 |
|
263 |
test_image = 'test-image.jpg'
|
264 |
|
|
|
253 |
return pixel_values
|
254 |
|
255 |
model = AutoModel.from_pretrained(
|
256 |
+
"5CD-AI/Vintern-1B-v2",
|
257 |
torch_dtype=torch.bfloat16,
|
258 |
low_cpu_mem_usage=True,
|
259 |
trust_remote_code=True,
|
260 |
).eval().cuda()
|
261 |
+
tokenizer = AutoTokenizer.from_pretrained("5CD-AI/Vintern-1B-v2", trust_remote_code=True, use_fast=False)
|
262 |
|
263 |
test_image = 'test-image.jpg'
|
264 |
|