Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ class BLIPNet(torch.nn.Module):
|
|
17 |
def __init__(self):
|
18 |
super().__init__()
|
19 |
# Generation Model
|
20 |
-
self.model = BlipForConditionalGeneration.from_pretrained("
|
21 |
# Same with https://huggingface.co/uf-aice-lab/BLIP-Math
|
22 |
self.ebd_dim = 443136
|
23 |
|
|
|
17 |
def __init__(self):
|
18 |
super().__init__()
|
19 |
# Generation Model
|
20 |
+
self.model = BlipForConditionalGeneration.from_pretrained("Salesforceblip-image-captioning-base", cache_dir="model")
|
21 |
# Same with https://huggingface.co/uf-aice-lab/BLIP-Math
|
22 |
self.ebd_dim = 443136
|
23 |
|