Update README.md
Browse files
README.md
CHANGED
@@ -76,7 +76,7 @@ model = cast(
|
|
76 |
"vidore/colpali-v1.2",
|
77 |
torch_dtype=torch.bfloat16,
|
78 |
device_map="cuda:0", # or "mps" if on Apple Silicon
|
79 |
-
)
|
80 |
)
|
81 |
|
82 |
processor = cast(ColPaliProcessor, ColPaliProcessor.from_pretrained("vidore/colpali-v1.2"))
|
|
|
76 |
"vidore/colpali-v1.2",
|
77 |
torch_dtype=torch.bfloat16,
|
78 |
device_map="cuda:0", # or "mps" if on Apple Silicon
|
79 |
+
).eval()
|
80 |
)
|
81 |
|
82 |
processor = cast(ColPaliProcessor, ColPaliProcessor.from_pretrained("vidore/colpali-v1.2"))
|