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

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -43,7 +43,7 @@ messages = [
43
 
44
  # Apply chat template and tokenize
45
  text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
46
- inputs = processor(text=text, images=image, return_tensors="pt").to("cuda:1")
47
 
48
  # Run inference to obtain logits
49
  with torch.no_grad():
 
43
 
44
  # Apply chat template and tokenize
45
  text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
46
+ inputs = processor(text=text, images=image, return_tensors="pt")
47
 
48
  # Run inference to obtain logits
49
  with torch.no_grad():