Update README.md
Browse files
README.md
CHANGED
@@ -67,7 +67,7 @@ import torch
|
|
67 |
from promptcap import PromptCap_VQA
|
68 |
|
69 |
# QA model support all UnifiedQA variants. e.g. "allenai/unifiedqa-v2-t5-large-1251000"
|
70 |
-
vqa_model = PromptCap_VQA(promptcap_model="vqascore/promptcap-coco-vqa",
|
71 |
|
72 |
if torch.cuda.is_available():
|
73 |
vqa_model.cuda()
|
|
|
67 |
from promptcap import PromptCap_VQA
|
68 |
|
69 |
# QA model support all UnifiedQA variants. e.g. "allenai/unifiedqa-v2-t5-large-1251000"
|
70 |
+
vqa_model = PromptCap_VQA(promptcap_model="vqascore/promptcap-coco-vqa", qa_model="allenai/unifiedqa-t5-base")
|
71 |
|
72 |
if torch.cuda.is_available():
|
73 |
vqa_model.cuda()
|