ColPali: Visual Retriever based on PaliGemma-3B with ColBERT strategy (merged, state_dict
only)
WARNING: This repository should only be used to convert the original ColPali weights to the Hf version of Colpali.
State dict was exported from vidore/colpali-v1.2-merged
. The model was loaded using the following code:
# Get the device
device = "mps"
# Define dtype
dtype_precision = torch.bfloat16
# Load the original model and state_dict
model = (
cast(
ColPali,
ColPali.from_pretrained(
"vidore/colpali-v1.2-merged",
torch_dtype=dtype_precision,
device_map=device,
),
)
.to(dtype_precision)
.eval()
)
- Downloads last month
- 0
Model tree for vidore/colpali-v1.2-merged-state_dict
Base model
google/paligemma-3b-pt-448
Finetuned
vidore/colpaligemma-3b-pt-448-base