Safetensors
qwen2_vl
vidore
reranker
uminaty commited on
Commit
c8db55c
·
verified ·
1 Parent(s): 7923b22

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -18,6 +18,8 @@ from transformers import AutoProcessor, Qwen2VLForConditionalGeneration
18
  processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-2B-Instruct")
19
  model = Qwen2VLForConditionalGeneration.from_pretrained(
20
  "lightonai/MonoQwen2-VL-2B-LoRA-Reranker",
 
 
21
  )
22
 
23
  # Define query and load image
 
18
  processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-2B-Instruct")
19
  model = Qwen2VLForConditionalGeneration.from_pretrained(
20
  "lightonai/MonoQwen2-VL-2B-LoRA-Reranker",
21
+ # attn_implementation="flash_attention_2",
22
+ # torch_dtype=torch.bfloat16,
23
  )
24
 
25
  # Define query and load image