Visual Document Retrieval
ColPali
Safetensors
English
vidore
vidore-experimental
tonywu71 commited on
Commit
0c923cd
·
verified ·
1 Parent(s): 20eee46

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -68,7 +68,7 @@ model = ColQwen2.from_pretrained(
68
  "vidore/colqwen2-v0.1",
69
  torch_dtype=torch.bfloat16,
70
  device_map="cuda:0", # or "mps" if on Apple Silicon
71
- attn_implementation="flash_attention_2" if is_flash_attn_2_available() else None, # or "eager" if "mps"
72
  ).eval()
73
  processor = ColQwen2Processor.from_pretrained("vidore/colqwen2-v0.1")
74
 
 
68
  "vidore/colqwen2-v0.1",
69
  torch_dtype=torch.bfloat16,
70
  device_map="cuda:0", # or "mps" if on Apple Silicon
71
+ attn_implementation="flash_attention_2" if is_flash_attn_2_available() else None,
72
  ).eval()
73
  processor = ColQwen2Processor.from_pretrained("vidore/colqwen2-v0.1")
74